diff --git a/nladmin-system/wms-server/src/main/java/org/nl/wms/pm_manage/demand/service/dao/mapper/xml/PmDemandMapper.xml b/nladmin-system/wms-server/src/main/java/org/nl/wms/pm_manage/demand/service/dao/mapper/xml/PmDemandMapper.xml
index e9a7e7aa..63300b4d 100644
--- a/nladmin-system/wms-server/src/main/java/org/nl/wms/pm_manage/demand/service/dao/mapper/xml/PmDemandMapper.xml
+++ b/nladmin-system/wms-server/src/main/java/org/nl/wms/pm_manage/demand/service/dao/mapper/xml/PmDemandMapper.xml
@@ -29,34 +29,41 @@
select d.*,g.qty pkInv
from pm_demand d
left join md_pb_groupplate g on d.sku_code = g.material_code and g.storagevehicle_code = 'VTP0006'
- where is_deleted = 0
-
- and d.id = #{query.id}
-
-
- and d.creator like concat('%', #{query.creator}, '%')
-
-
- and d.status = #{query.status}
-
-
- and d.work_order like concat('%', #{query.workOrder}, '%')
-
-
- and (d.sku_code like concat('%', #{query.skuCode}, '%') or d.sku_name like concat('%', #{query.skuCode}, '%'))
-
-
- and d.production_line like concat('%', #{query.productionLine}, '%')
-
-
- and d.target_area like concat('%', #{query.targetArea}, '%')
-
-
- and d.create_time >= #{query.startTime}
-
-
- and d.create_time <= #{query.endTime}
-
+ where 1 = 1
+
+ and is_deleted = 1
+
+
+ and is_deleted = 0
+
+
+ and d.id = #{query.id}
+
+
+ and d.creator like concat('%', #{query.creator}, '%')
+
+
+ and d.status = #{query.status}
+
+
+ and d.work_order like concat('%', #{query.workOrder}, '%')
+
+
+ and (d.sku_code like concat('%', #{query.skuCode}, '%') or d.sku_name like concat('%', #{query.skuCode},
+ '%'))
+
+
+ and d.production_line like concat('%', #{query.productionLine}, '%')
+
+
+ and d.target_area like concat('%', #{query.targetArea}, '%')
+
+
+ and d.create_time >= #{query.startTime}
+
+
+ and d.create_time <= #{query.endTime}
+
order by d.seq_no asc,d.priority desc, d.create_time desc
diff --git a/nladmin-system/wms-server/src/main/java/org/nl/wms/warehouse_manage/stockReturn/receiveOutRetur/controller/FeedingRecordController.java b/nladmin-system/wms-server/src/main/java/org/nl/wms/warehouse_manage/stockReturn/receiveOutRetur/controller/FeedingRecordController.java
new file mode 100644
index 00000000..ac1fd363
--- /dev/null
+++ b/nladmin-system/wms-server/src/main/java/org/nl/wms/warehouse_manage/stockReturn/receiveOutRetur/controller/FeedingRecordController.java
@@ -0,0 +1,37 @@
+package org.nl.wms.warehouse_manage.stockReturn.receiveOutRetur.controller;
+
+import org.nl.common.base.ResponseData;
+import org.nl.common.domain.query.PageQuery;
+import org.nl.wms.warehouse_manage.stockReturn.receiveOutRetur.service.IFeedingRecordService;
+import org.springframework.http.HttpStatus;
+import org.springframework.http.ResponseEntity;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.annotation.Resource;
+
+@RestController
+@RequestMapping("/api/feedingRecord")
+public class FeedingRecordController {
+ @Resource
+ private IFeedingRecordService feedingRecordService;
+
+ @GetMapping
+ public ResponseEntity