打印编码需求变更
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
package top.wms.admin.controller.print;
|
||||
|
||||
import top.continew.starter.extension.crud.enums.Api;
|
||||
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import top.continew.starter.extension.crud.annotation.CrudRequestMapping;
|
||||
import top.wms.admin.common.controller.BaseController;
|
||||
import top.wms.admin.print.model.query.PrintQuery;
|
||||
import top.wms.admin.print.model.req.PrintReq;
|
||||
import top.wms.admin.print.model.resp.PrintInfoResp;
|
||||
import top.wms.admin.print.model.resp.PrintResp;
|
||||
import top.wms.admin.print.service.PrintService;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 打印记录管理 API
|
||||
*
|
||||
* @author zc
|
||||
* @since 2026/06/15 16:57
|
||||
*/
|
||||
@Tag(name = "打印记录管理 API")
|
||||
@RestController
|
||||
@RequiredArgsConstructor
|
||||
@CrudRequestMapping(value = "/print/print", api = {Api.PAGE, Api.ADD, Api.DELETE})
|
||||
public class PrintController extends BaseController<PrintService, PrintResp, PrintResp, PrintQuery, PrintReq> {
|
||||
|
||||
@GetMapping("/{id}")
|
||||
public List<PrintInfoResp> get(@PathVariable Long id) {
|
||||
return baseService.getInfo(id);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user