|
@@ -1,7 +1,13 @@
|
|
|
package com.abi.qms.platform.controller.console;
|
|
|
|
|
|
-import com.abi.qms.platform.dto.req.*;
|
|
|
+import com.abi.qms.platform.dto.req.DeleteQrFormatReq;
|
|
|
+import com.abi.qms.platform.dto.req.DisableQrFormatReq;
|
|
|
+import com.abi.qms.platform.dto.req.EnableQrFormatReq;
|
|
|
+import com.abi.qms.platform.dto.req.GetQrFormatDetailReq;
|
|
|
+import com.abi.qms.platform.dto.req.ListQrFormatReq;
|
|
|
+import com.abi.qms.platform.dto.req.SaveQrFormatReq;
|
|
|
import com.abi.qms.platform.dto.res.GetQrFormatDetailRes;
|
|
|
+import com.abi.qms.platform.dto.res.ListFormatSelectRes;
|
|
|
import com.abi.qms.platform.dto.res.ListQrFormatRes;
|
|
|
import com.abi.qms.platform.service.QrFormatService;
|
|
|
import com.abi.task.common.api.base.BaseResponse;
|
|
@@ -10,11 +16,15 @@ import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
/**
|
|
|
* 码格式 Controller
|
|
|
- *
|
|
|
+ *
|
|
|
* @author WeiganCai
|
|
|
* @date 2021-04-19
|
|
|
*/
|
|
@@ -68,4 +78,12 @@ public class QrFormatController {
|
|
|
return BaseResponse.create();
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation("码格式下拉列表")
|
|
|
+ @GetMapping("/listFormatSelect")
|
|
|
+ public BaseResponse<ListFormatSelectRes> listFormatSelect() {
|
|
|
+
|
|
|
+ ListFormatSelectRes res = qrFormatService.listFormatSelect();
|
|
|
+ return BaseResponse.create(res);
|
|
|
+ }
|
|
|
+
|
|
|
}
|