自动化立体仓库 - WMS系统
src/main/java/com/zy/asrs/controller/OutController.java
@@ -232,12 +232,13 @@
            i++;
            //配盘出库单使用,下发需要出的空板任务
            if (orderPakout.getDocType() == 11) {
                if (size<5&&i==size){
                if (i==size){
                    for (;j<=orderPakout.getPayType();j++){
                        String bar="";
                        if(!Cools.isEmpty(orderPakout.getShipCode())&&orderPakout.getShipCode().equals("A01")){
                            bar = "A01";
                        }
                        //具体待定
//                        if(!Cools.isEmpty(orderPakout.getShipCode())&&orderPakout.getShipCode().equals("A01")){
//                            bar = "A01";
//                        }
                        LocMast locMast = new  LocMast();
                        if(Cools.isEmpty(bar)){
                            locMast=locMastService.selectOne(new EntityWrapper<LocMast>()
@@ -254,11 +255,17 @@
                        EmptyPlateOutParam emptyPlateOutParam = new EmptyPlateOutParam();
                        emptyPlateOutParam.setOutSite(303);
                        emptyPlateOutParam.setLocNos(new ArrayList<String>(){{add(locNo);}});
                        WrkMast wrkMast = workService.emptyPlateOut(emptyPlateOutParam,ioPri);
                        String agvSta = "";
                        if(locMast.getLocType3()==2){
                        }else {
                            agvSta = orderPakout.getCstmrName();//agv目标站点位置
                        }
                        WrkMast wrkMast = workService.emptyPlateOut(emptyPlateOutParam,ioPri,agvSta);
                        ioPri--;
                    }
                }else if(i == 5){
                }else if(i == 4){
                    String bar="";
                    if(!Cools.isEmpty(orderPakout.getShipCode())&&orderPakout.getShipCode().equals("A01")){
                        bar = "A01";
@@ -279,7 +286,13 @@
                    EmptyPlateOutParam emptyPlateOutParam = new EmptyPlateOutParam();
                    emptyPlateOutParam.setOutSite(303);
                    emptyPlateOutParam.setLocNos(new ArrayList<String>(){{add(locNo);}});
                    WrkMast wrkMast = workService.emptyPlateOut(emptyPlateOutParam,ioPri);
                    String agvSta = "";
                    if(locMast.getLocType3()==2){
                    }else {
                        agvSta = orderPakout.getCstmrName();//agv目标站点位置
                    }
                    WrkMast wrkMast = workService.emptyPlateOut(emptyPlateOutParam,ioPri,agvSta);
                    ioPri--;
                }
            }