From 4d4e8a4be7d5f84cfd4bd7eca8b6bcf3c7c7acda Mon Sep 17 00:00:00 2001 From: lsh <1> Date: 星期二, 16 一月 2024 09:36:19 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/mapper/WrkMastMapper.java | 67 ++++++++++++++++++++++++++++++++- 1 files changed, 65 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/asrs/mapper/WrkMastMapper.java b/src/main/java/com/zy/asrs/mapper/WrkMastMapper.java index 6237eef..8199059 100644 --- a/src/main/java/com/zy/asrs/mapper/WrkMastMapper.java +++ b/src/main/java/com/zy/asrs/mapper/WrkMastMapper.java @@ -42,6 +42,9 @@ // @Select("select top 1 from dbo.asr_wrk_mast where wrk_no=#{workNo}") WrkMast selectPakInStep3(@Param("workNo")Integer workNo); + WrkMast selectPakInStep4(@Param("staNo")Integer staNo,@Param("sheetNo")String sheetNo); + WrkMast selectPakInStep5(@Param("staNo")Integer staNo,@Param("sheetNo")String sheetNo); + // 鎷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("barcode")String barcode); @@ -174,7 +177,24 @@ */ List<WrkMast> selectRgvOutWorking(@Param("rgvNo")Integer rgvNo); - /*================================================RGV浠诲姟缁戝畾鐩稿叧 ==================================================*/ + /*..............................寰愬伐姹変簯..............浠ヤ笅.............涓婇ザ姹熼摐..............................*/ + /*...............................Created by Monkey D. Luffy on 2023.07.19................................*/ + + /*=========================================== RGV浠诲姟缁戝畾鐩稿叧 ========================================*/ + + /** + * 鑾峰彇绛夊緟缁戝畾RGV鐨勪换鍔� + * @return + */ + List<WrkMast> selectWaitBindRGV(); + + /** + * 鏌ユ壘鏄惁瀛樺湪鍏ュ嚭搴撳伐浣滀腑绛夊緟RGV鎼繍鐨勪换鍔� + * + * @param rgvNo + * @return + */ + List<WrkMast> selectIoRgvNo(@Param("rgvNo") Integer rgvNo); /** * 鏌ユ壘鏄惁瀛樺湪鍏ュ簱宸ヤ綔涓鍦ㄨ蛋鍚慠GV鐨勪换鍔� @@ -205,5 +225,48 @@ WrkMast selectRgvOutSteNo(@Param("rgvNo")Integer rgvNo); - /*================================================RGV浠诲姟缁戝畾鐩稿叧 ==================================================*/ + /*=========================================== RGV浠诲姟缁戝畾鐩稿叧 ========================================*/ + + /*=========================================== 鑷姩琛ョ┖鏉跨浉鍏� ========================================*/ + + /** + * 鏌ユ壘鏄惁瀛樺湪鍑哄簱宸ヤ綔涓瓑寰匯GV鎼繍鐨勪换鍔� + */ +// List<WrkMast> selectDischargingMachineOutputTray(); + + /** + * 鐮佸灈瀹屾垚椹卞姩鎵樼洏涓嬩竴姝ユ壂鐮佸叆搴� + */ +// List<WrkMast> selectStackingCompletionDriveTray(); +// /** +// * 鐮佸灈瀹屾垚椹卞姩鎵樼洏涓嬩竴姝ユ壂鐮佸叆搴� +// * @param wrkNo +// */ +// @Update("update asr_wrk_mast set wrk_sts=44 where 1=1 and wrk_no=#{wrkNo}") +// int updateStackingCompletionDriveTray(@Param("wrkNo")Integer wrkNo); + +// int selectConfigCount10468N(); + // update Config -- Y +// @Update("update sys_config set value='Y' where 1=1 and id=10468 and value = 'N'") +// int updateConfig10468Y(); + /*=========================================== 鑷姩琛ョ┖鏉跨浉鍏� ========================================*/ + + /** + * 鏌ユ壘鏄惁瀛樺湪鎷嗗灈鍗曟瀹屾垚鐨勫伐浣滄。 + */ + WrkMast selectWrkMastUnstackingOne202(@Param("sourceStaNo")Integer sourceStaNo); + + WrkMast selectWrkMastLabelingOne54(); + + List<WrkMast> selectWaitBindRGVRgvNo(@Param("rgvNo") Integer rgvNo); + List<WrkMast> selectWaitBindRgvNo2(@Param("rgvNo") Integer rgvNo); + void insertRgvMast(@Param("wrkNo") Integer wrkNo); + void updateRgvMast(@Param("wrkNo") Integer wrkNo); + + WrkMast selectWaitBindRgvNoOneWrkNo(@Param("wrkNo") Integer wrkNo); + + + + + /*..............................涓婇ザ姹熼摐..............浠ヤ笂.............寰愬伐姹変簯..............................*/ } -- Gitblit v1.9.1