From ed265ddfb8f08f69af064a9adf65fcbf06289ffe Mon Sep 17 00:00:00 2001 From: Junjie <xjj@123> Date: 星期二, 11 二月 2025 14:07:54 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/mapper/WrkMastMapper.java | 41 +++++++++++------------------------------ 1 files changed, 11 insertions(+), 30 deletions(-) diff --git a/src/main/java/com/zy/asrs/mapper/WrkMastMapper.java b/src/main/java/com/zy/asrs/mapper/WrkMastMapper.java index 0873d5b..9dd9c7e 100644 --- a/src/main/java/com/zy/asrs/mapper/WrkMastMapper.java +++ b/src/main/java/com/zy/asrs/mapper/WrkMastMapper.java @@ -1,7 +1,6 @@ package com.zy.asrs.mapper; import com.baomidou.mybatisplus.mapper.BaseMapper; -import com.zy.asrs.entity.LocMast; import com.zy.asrs.entity.WrkMast; import org.apache.ibatis.annotations.*; import org.springframework.stereotype.Repository; @@ -12,39 +11,12 @@ @Repository public interface WrkMastMapper extends BaseMapper<WrkMast> { - WrkMast selectBySourceLocNo(@Param("sourceLocNo") String sourceLocNo); - -// @Select("select * from asr_wrk_mast where ((wrk_sts = 4 Or wrk_sts = 14 ) and io_type <> 103 and io_type <> 104 and io_type <> 107 ) or (wrk_sts = 2 and io_type=6) order by upd_mk,io_time,wrk_no") - List<WrkMast> selectToBeCompleteData(); - - List<WrkMast> selectToBeHistoryData(); - // wcs --------------------------------------------- // 鍏ュ簱绗竴姝ワ紝鎵爜浠幏鍙栨潯鐮佷俊鎭椂鏌ヨ // @Select("select top 1 * from asr_wrk_mast where source_sta_no=#{sourceStaNo} and wrk_sts=2 and barcode=#{barcode} and (io_type=1 or io_type=10) order by io_pri desc,io_time,wrk_no ASC") WrkMast selectPakInStep1(@Param("sourceStaNo")Integer sourceStaNo, @Param("barcode")String barcode); WrkMast selectPakInStep11(@Param("sourceStaNo")Integer sourceStaNo); - - // 鎷f枡鍐嶅叆搴撴椂锛岀珯鐐规湁鐗╀笖闇�姹傛椂鏌ヨ -// @Select("select top 1 * from asr_wrk_mast where wrk_no=#{workNo} and wrk_sts=14 and (io_type=103 or io_type=107 or io_type=104)") - WrkMast selectPickStep(@Param("wrkNo")Short wrkNo); - - WrkMast selectWorking(@Param("crnNo")Integer crnNo); - - // work log ------------------------------------------------------- - @Insert("insert into asr_wrk_mast_log select * from asr_wrk_mast where wrk_no=#{workNo}") - int saveWrkMastLog(Integer workNo); - - @Insert("insert into asr_wrk_detl_log select * from asr_wrk_detl where wrk_no=#{workNo}") - int saveWrkDetlLog(Integer workNo); - - @Update("update asr_wrk_mast set ste_no = null where wrk_no = #{wrkNo}") - int setSteEmpty(Integer wrkNo); - - List<WrkMast> selectAll(@Param("staNo")Integer staNo); - - WrkMast selectRackInStep4(Short workNo,Integer staNo); List<WrkMast> selectInStep4(); @@ -61,9 +33,9 @@ List<WrkMast> selectShuttleWrkByLev(String lev); - WrkMast selectLiftWrkMast(Integer liftNo); + List<WrkMast> selectShuttleOutWrkByLev(String lev); - List<WrkMast> selectInOutWrkMast();//鏌ヨ鍑哄叆搴撳伐浣滄。 + WrkMast selectLiftWrkMast(Integer liftNo); List<WrkMast> selectLocToLocWrkMast();//鏌ヨ搴撲綅绉昏浆宸ヤ綔妗� @@ -74,4 +46,13 @@ List<WrkMast> selectShuttleMoveWrk(); WrkMast selectShuttleWorking(@Param("shuttleNo") Integer shuttleNo);//鏄惁鏈夌┛姊溅浠诲姟(绉诲簱浠诲姟闄ゅ) + + WrkMast selectByBarcode(String barcode); + + List<WrkMast> selectInWrkMastByLiftNo(Integer liftNo);//鎼滅储鎸囧畾鎻愬崌鏈虹殑鍏ュ簱浠诲姟 + + WrkMast selectChargeWorking(Integer shuttleNo); + + WrkMast selectChargeWorkingByChargeSta(Integer chargeSta); + } -- Gitblit v1.9.1