entry : this.getCode().entrySet()) {
+ if (entry.getValue().equals("code")) {
+ return entry.getValue();
+ }
+ }
+ throw new BadRequestException(this.name() + "对应类型" + code + "未定义");
+ }
+}
diff --git a/mes/hd/nladmin-system/src/main/java/org/nl/wms/storage_manage/productmanage/controller/moveInv/StIvtMoveinvCpController.java b/mes/hd/nladmin-system/src/main/java/org/nl/wms/storage_manage/productmanage/controller/moveInv/StIvtMoveinvCpController.java
index 545ff7f3..c9eee6cc 100644
--- a/mes/hd/nladmin-system/src/main/java/org/nl/wms/storage_manage/productmanage/controller/moveInv/StIvtMoveinvCpController.java
+++ b/mes/hd/nladmin-system/src/main/java/org/nl/wms/storage_manage/productmanage/controller/moveInv/StIvtMoveinvCpController.java
@@ -1,8 +1,25 @@
package org.nl.wms.storage_manage.productmanage.controller.moveInv;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
+import com.alibaba.fastjson.JSONObject;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import org.nl.common.TableDataInfo;
+import org.nl.common.anno.Log;
+import org.nl.common.domain.query.PageQuery;
+import org.nl.wms.storage_manage.productmanage.service.check.IStIvtCheckmstCpService;
+import org.nl.wms.storage_manage.productmanage.service.check.dto.CheckQueryMst;
+import org.nl.wms.storage_manage.productmanage.service.moveInv.IStIvtMoveinvCpService;
+import org.nl.wms.storage_manage.productmanage.service.moveInv.IStIvtMoveinvdtlCpService;
+import org.nl.wms.storage_manage.productmanage.service.moveInv.dao.StIvtMoveinvCp;
+import org.nl.wms.storage_manage.productmanage.service.moveInv.dao.StIvtMoveinvdtlCp;
+import org.nl.wms.storage_manage.productmanage.service.moveInv.dto.MoveInvQuery;
+import org.nl.wms.storage_manage.semimanage.service.moveInv.IStIvtMoveinvBcpService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.http.HttpStatus;
+import org.springframework.http.ResponseEntity;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
/**
*
@@ -13,8 +30,42 @@ import org.springframework.web.bind.annotation.RestController;
* @since 2023-05-04
*/
@RestController
-@RequestMapping("/stIvtMoveinvCp")
+@RequestMapping("api/stIvtMoveinvCp")
public class StIvtMoveinvCpController {
+ @Autowired
+ private IStIvtMoveinvCpService moveinvcpService;
+ @Autowired
+ private IStIvtMoveinvdtlCpService moveinvdtlCpService;
+
+
+ @GetMapping
+ @Log("查询盘点单主表")
+ //("查询盘点单主表")
+ public ResponseEntity