| | |
| | | .eq("barcode", param.getPackNo())); |
| | | if (Cools.isEmpty(locMast)){ |
| | | throw new CoolException("未查询到PACK码为:"+param.getPackNo()+"的货物"); |
| | | }else if (locMast.getLocSts().equals("F")){ |
| | | }else if (!locMast.getLocSts().equals("F")){ |
| | | throw new CoolException("PACK码为:"+param.getPackNo()+"的货物库位状态不是“F”"); |
| | | }else if (locMast.getFireStatus()!=0){ |
| | | throw new CoolException("警告!!!PACK码为:"+param.getPackNo()+"的库位:"+locMast.getLocNo()+"消防状态异常!!!"); |
| | |
| | | if(null != testMast){ |
| | | if (testMast.getStatus()==3){ |
| | | Date date = new Date(); |
| | | testMast.setStatus(4); |
| | | testMast.setModiTime(date); |
| | | if (!testMastService.update(testMast,wrapper)){ |
| | | throw new CoolException("更改测试状态失败"); |
| | | } |
| | | locMast.setPackStatus(3); |
| | | testMast.setModiTime(date); |
| | | locMast.setModiTime(date); |
| | | CombParam combParam = new CombParam(); |
| | | combParam.setPackNo(locMast.getBarcode()); |
| | | combParam.setLocNo(locMast.getLocNo()); |