Merge remote-tracking branch 'origin/ghjtwcs' into ghjtwcs
| | |
| | | continue; |
| | | } |
| | | // 判断工作档条件 |
| | | if (wrkMast.getIoType() < 100 || wrkMast.getStaNo() == null || wrkMast.getSourceStaNo() == null) { |
| | | if ((wrkMast.getIoType() < 100 && wrkMast.getIoType() != 12) || wrkMast.getStaNo() == null || wrkMast.getSourceStaNo() == null) { |
| | | continue; |
| | | } |
| | | // 判断吊车是否实际已完成,且电脑状态在move中,以备电脑进行更新工作档 |
| | |
| | | </select> |
| | | |
| | | <select id="selectPakOutStep2" resultMap="BaseResultMap"> |
| | | select top 1 * from dbo.asr_wrk_mast where source_sta_no=#{sourceStaNo} and wrk_sts=12 and io_type>100 order by io_pri desc,io_time desc,wrk_no ASC |
| | | select top 1 * from dbo.asr_wrk_mast where source_sta_no=#{sourceStaNo} and wrk_sts=12 and (io_type>100 or io_type = 12) order by io_pri desc,io_time desc,wrk_no ASC |
| | | </select> |
| | | |
| | | <select id="selectPakOutStep3" resultMap="BaseResultMap"> |