src/main/java/com/zy/asrs/mapper/WrkMastMapper.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/resources/mapper/WrkMastMapper.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/zy/asrs/mapper/WrkMastMapper.java
@@ -116,6 +116,7 @@ List<WrkMast> selectWrkStsAndIoType(@Param("sour")Integer sour); List<WrkMast> selectWrkStsAndIoType0(@Param("sour")Integer sour); List<WrkMast> selectWrkStsAndIoType1(@Param("sour")Integer sour); WrkMast selectWorkingPakin(@Param("sourceStaNo")Integer sourceStaNo); WrkMast selectWorkingPakout(@Param("sourceStaNo")Integer sourceStaNo); src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
@@ -1076,6 +1076,15 @@ continue; } } if (wrkMast.getWrkSts() == 11 && wrkMast.getIoType() == 101){ Integer sour = wrkMast.getSourceStaNo(); List<WrkMast> wrkMasts = wrkMastMapper.selectWrkStsAndIoType1(sour); if (wrkMasts.size() > 0){ News.error("MainServiceImpl 1028行"+"204存在全板出库中货物,2号堆垛机暂时禁止全板出库!!!"); continue; } } } // 判断是否已存在小车绑定任务 src/main/resources/mapper/WrkMastMapper.xml
@@ -201,7 +201,18 @@ </select> <select id="selectWrkStsAndIoType0" resultMap="BaseResultMap"> select * from dbo.asr_wrk_mast where 1=1 and wrk_sts>11 and io_type!=11 -- and (io_type=103 or io_type=107) and (io_type=103 or io_type=107) <if test="sour > 200"> and source_sta_no > 200 </if> <if test="sour < 200"> and source_sta_no < 200 </if> </select> <select id="selectWrkStsAndIoType1" resultMap="BaseResultMap"> select * from dbo.asr_wrk_mast where 1=1 and wrk_sts>11 and io_type=101 <if test="sour > 200"> and source_sta_no > 200 </if>