|
|
@@ -1,7 +1,17 @@
|
|
|
package com.dk.mdm.controller.ivt.inventory;
|
|
|
|
|
|
+import com.dk.common.model.pojo.PageList;
|
|
|
+import com.dk.common.response.ResponseResultVO;
|
|
|
import com.dk.mdm.model.pojo.ivt.Inventory;
|
|
|
import com.dk.common.service.BaseService;
|
|
|
+import com.dk.mdm.model.query.ivt.InboundQuery;
|
|
|
+import com.dk.mdm.model.query.ivt.InventoryQuery;
|
|
|
+import com.dk.mdm.model.response.ivt.InboundResponse;
|
|
|
+import com.dk.mdm.model.response.ivt.InventoryResponse;
|
|
|
+import com.dk.mdm.model.vo.ivt.InventoryVO;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
@@ -20,4 +30,15 @@ public class InventoryController{
|
|
|
@Autowired
|
|
|
private InventoryService inventoryService;
|
|
|
|
|
|
+ /**
|
|
|
+ * @desc : 条件查询
|
|
|
+ * @date : 2024/3/7 14:09
|
|
|
+ * @author : 寇珊珊
|
|
|
+ */
|
|
|
+ @ApiOperation(value = "条件查询", notes = "条件查询")
|
|
|
+ @PostMapping({"list_by"})
|
|
|
+ public ResponseResultVO<PageList<InventoryResponse>> selectByCond(@RequestBody InventoryQuery query) {
|
|
|
+ return inventoryService.selectByCond(query);
|
|
|
+ }
|
|
|
+
|
|
|
}
|