#1
dubin
1 天以前 42c0a8f901dd3641ef7db01207141a3cd80a52b7
src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
@@ -969,16 +969,17 @@
     * @return
     */
    private Integer getCrnStation(String locNo) {
        String bay = locNo.substring(2, 5);
        String bay = locNo.substring(2, 5);//0100203
        if (Integer.parseInt(bay) == 1) {
            return 1;
        } else if (Integer.parseInt(bay) == 29) {
            return 2;
        }
        if (Integer.parseInt(locNo.substring(0, 2)) >= 14) {
            return 1;
        } else {
//        if (Integer.parseInt(locNo.substring(0, 2)) >= 14) {
        if (Integer.parseInt(bay) >= 14) {
            return 2;
        } else {
            return 1;
        }
    }
@@ -3861,7 +3862,10 @@
            // 获取工作状态为11(生成出库ID)的出库工作档
            List<WrkMast> wrkMasts = wrkMastMapper.selectPakOutStep107(slave.getId(), crnStn.getStaNo());
            for (WrkMast wrkMast : wrkMasts) {
                if (wrkMast == null || wrkMast.getPltType() == 2) {
//                if (wrkMast == null || wrkMast.getPltType() == 2) {
//                    continue;
//                }
                if (wrkMast == null){
                    continue;
                }
                // 工作档状态判断