src/main/java/com/zy/asrs/mapper/WrkMastMapper.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/resources/application.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/resources/mapper/WrkMastMapper.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/zy/asrs/mapper/WrkMastMapper.java
@@ -12,6 +12,7 @@ public interface WrkMastMapper extends BaseMapper<WrkMast> { WrkMast selectByLocNo(@Param("sourceLocNo") String sourceLocNo); WrkMast selectByLocNo1(@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(); src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
@@ -1494,8 +1494,11 @@ if(!Cools.isEmpty(deeplocs)){ for(String deepLocNo : deeplocs) { LocMast deepLoc = locMastService.selectById(deepLocNo); // WrkMast waitWrkMast = wrkMastMapper.selectByLocNo(deepLocNo); if(deepLoc != null && !deepLoc.getLocSts().equals("F") && !deepLoc.getLocSts().equals("D") && !deepLoc.getLocSts().equals("O")){ WrkMast waitWrkMast = wrkMastMapper.selectByLocNo1(deepLocNo); if(deepLoc != null && !deepLoc.getLocSts().equals("F") && !deepLoc.getLocSts().equals("D") && !deepLoc.getLocSts().equals("O") && (waitWrkMast!=null && waitWrkMast.getWrkSts()<17)){ News.error("移库再回库时,深库位组深库位状态为作业中 ===>> deepLoc={},loc_sts={}", deepLoc.getLocNo(), deepLoc.getLocSts()); flag = true; break; src/main/resources/application.yml
@@ -36,7 +36,7 @@ enable: false wms: url: localhost:8080/bfwms url: 10.10.10.200:8081/bfwms # 下位机配置 wcs-slave: src/main/resources/mapper/WrkMastMapper.xml
@@ -67,6 +67,10 @@ select top 1 * from asr_wrk_mast where source_loc_no = #{sourceLocNo} </select> <select id="selectByLocNo1" resultMap="BaseResultMap"> select top 1 * from asr_wrk_mast where source_loc_no = #{sourceLocNo} or loc_no=#{sourceLocNo} </select> <select id="selectToBeCompleteData" resultMap="BaseResultMap"> 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 </select>