From f6fe949db75c0879ca506eadce6976eb94492d09 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期六, 24 五月 2025 15:39:42 +0800
Subject: [PATCH] 1.出库作业未判断小于零的作业(完成) 2.入出为历史添加库位号,托盘码显示(完成) 3.确认出为完成后,是否清空托盘码(完成) 4.库位主档托盘码未显示(完成)

---
 rsf-server/src/main/java/com/vincent/rsf/server/manager/controller/QlyIsptItemController.java |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/manager/controller/QlyIsptItemController.java b/rsf-server/src/main/java/com/vincent/rsf/server/manager/controller/QlyIsptItemController.java
index c9b90c3..74771cf 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/manager/controller/QlyIsptItemController.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/manager/controller/QlyIsptItemController.java
@@ -76,8 +76,26 @@
         page.setRecords(records);
 
         return R.ok(page);
+    }
 
 
+    @PreAuthorize("hasAuthority('manager:qlyIsptItem:list')")
+    @PostMapping("/qlyIsptItem/ispt/result/page")
+    public R getIsptResultList(@RequestBody Map<String, Object> map) {
+        BaseParam baseParam = buildParam(map, BaseParam.class);
+        PageParam<QlyIsptItem, BaseParam> pageParam = new PageParam<>(baseParam, QlyIsptItem.class);
+        QueryWrapper<QlyIsptItem> queryWrapper = pageParam.buildWrapper(true);
+        IPage<QlyIsptItem> page = qlyIsptItemService.pageByIsptResult(pageParam, queryWrapper);
+        List<QlyIsptItem> records = page.getRecords();
+        for (QlyIsptItem record : records) {
+            if (!Objects.isNull(record.getFieldsIndex())) {
+                Map<String, String> fields = FieldsUtils.getFields(record.getFieldsIndex());
+                record.setExtendFields(fields);
+            }
+        }
+        page.setRecords(records);
+
+        return R.ok(page);
     }
 
     @PreAuthorize("hasAuthority('manager:qlyIsptItem:list')")

--
Gitblit v1.9.1