From c2b6ac4b964e78cc3cc3410db90c3d97de8b6d1c Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期四, 21 十一月 2024 08:11:01 +0800
Subject: [PATCH] 库位转移按优先级排序

---
 src/main/java/com/zy/asrs/mapper/WrkMastStaMapper.java |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/zy/asrs/mapper/WrkMastStaMapper.java b/src/main/java/com/zy/asrs/mapper/WrkMastStaMapper.java
index e55e237..c77cb80 100644
--- a/src/main/java/com/zy/asrs/mapper/WrkMastStaMapper.java
+++ b/src/main/java/com/zy/asrs/mapper/WrkMastStaMapper.java
@@ -16,21 +16,24 @@
     /*
     * 鑾峰彇鎵�鏈変换鍔℃暟閲�
     * */
-    Integer selectAllWrkCount();
+    Integer selectAllWrkCount(@Param("type")Integer type);
+    Integer selectAllWrkStsCount(@Param("type")Integer type,@Param("wrkSts")Integer wrkSts);
+    WrkMastSta selectAllWrkStsCountWrkMastSta(@Param("type")Integer type,@Param("wrkSts")Integer wrkSts);
 
     /*
     * 鑾峰彇鎵�鏈夊彲鎵ц浠诲姟
     * */
-    List<WrkMastSta> selectAllWrkMastStaList();
+    List<WrkMastSta> selectAllWrkMastStaList(@Param("type")Integer type);
 
     /*
     * 鏌ヨ鎸囧畾宸ヤ綔鍙蜂换鍔�
     * */
-    WrkMastSta selectByWrkNo(@Param("workNo") Integer workNo);
+    WrkMastSta selectByWrkNo(@Param("workNo") Long workNo);
 
     /*
     * 鏌ヨ涓嶅共娑夌殑鍙墽琛屼换鍔�
     * */
     WrkMastSta selectNoInterfere(@Param("staStarts") List<Integer> staStarts,@Param("staEnds") List<Integer> staEnds);
+    List<WrkMastSta> selectNoInterfereList(@Param("staStarts") List<Integer> staStarts,@Param("staEnds") List<Integer> staEnds);
 
 }

--
Gitblit v1.9.1