From c4b2cfbdc4b31a6e37a9b51c5f69620bd5e7841f Mon Sep 17 00:00:00 2001
From: pjb <pjb123456>
Date: 星期六, 23 八月 2025 08:38:58 +0800
Subject: [PATCH] wcs功能完善

---
 src/main/java/com/zy/mapper/WrkMastMapper.java |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/mapper/WrkMastMapper.java b/src/main/java/com/zy/mapper/WrkMastMapper.java
index 4892ba1..d6eb1a1 100644
--- a/src/main/java/com/zy/mapper/WrkMastMapper.java
+++ b/src/main/java/com/zy/mapper/WrkMastMapper.java
@@ -2,14 +2,24 @@
 
 import com.baomidou.mybatisplus.mapper.BaseMapper;
 import com.zy.entity.WrkMast;
-import org.apache.ibatis.annotations.*;
+import org.apache.ibatis.annotations.Insert;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Update;
 import org.springframework.stereotype.Repository;
 
+import java.util.Date;
 import java.util.List;
 
 @Mapper
 @Repository
 public interface WrkMastMapper extends BaseMapper<WrkMast> {
+
+    /**
+     * 鏌ヨ鍏ョ亴瑁呯嚎绔欑偣鍦ㄩ�斾换鍔℃暟锛堟湭杩涚綈瑁呯嚎閲岄潰锛�
+     * @param site 鍏ョ綈瑁呯嚎绔欑偣
+     */
+    int selectInGzxCount(@Param("site") int site);
 
     WrkMast selectByLocNo(@Param("sourceLocNo") String sourceLocNo);
 
@@ -112,10 +122,16 @@
     WrkMast selectPickStep2(@Param("barcode")String barcode);
 
     WrkMast selectByWrkNo(@Param("wrkNo")Integer wrkNo);
+    WrkMast selectByIoTypeAndWrkSts(@Param("ioType")Integer ioTyper,@Param("wrkSts")Long wrkSts);
 
     /**
      * 鑾峰彇涓�鏉″埌104绔欑偣鐨勫嚭搴撲换鍔�
      * @return 宸ヤ綔涓绘。
      */
     WrkMast selectBy104();
+
+    int selectCountByKb();
+
+    // 鏍规嵁鍑哄叆搴撶被鍨嬪拰宸ヤ綔鏃堕棿锛屾煡璇㈠巻鍙茶〃璁板綍鏁伴噺
+    int selectCountHisByIoTypeAndIoTime(@Param("ioType") Integer IoType,@Param("ioType") Date ioTime);
 }

--
Gitblit v1.9.1