| | |
| | | } |
| | | return zerofill(String.valueOf(targetRow), 2) + shallowLoc.substring(2); |
| | | } |
| | | |
| | | /** |
| | | * 获取 浅库位对应的深库位号,如果没有深库位,则返回为空 |
| | | */ |
| | | public static String getDeepLoc2(SlaveProperties slaveProperties, String shallowLoc) { |
| | | int row = getRow(shallowLoc); |
| | | boolean deepLoc = isDeepLoc(slaveProperties, row);//判断是否为深库位 |
| | | if (deepLoc) { |
| | | return null; |
| | | } |
| | | if (row == 1 || row == 6) { |
| | | return null; |
| | | } |
| | | //2,8,11,15,19,23 |
| | | if (row == 5 || row == 8 || row == 12 || row == 16 || row == 20 || row == 24) { |
| | | return zerofill(String.valueOf(row - 1), 2) + shallowLoc.substring(2); |
| | | } else { |
| | | return zerofill(String.valueOf(row + 1), 2) + shallowLoc.substring(2); |
| | | } |
| | | } |
| | | /** |
| | | * 获取 浅库位排对应的深库位排 |
| | | */ |
| | |
| | | </select> |
| | | |
| | | <select id="selectLaneWrkMastOut" resultMap="BaseResultMap"> |
| | | select * from dbo.asr_wrk_mast where wrk_sts in (11,12,13,14) and io_type>100 order by io_pri desc,io_time,wrk_no asc |
| | | select * from dbo.asr_wrk_mast where wrk_sts in (11,12,13) and io_type>100 order by io_pri desc,io_time,wrk_no asc |
| | | </select> |
| | | </mapper> |