| | |
| | | try { |
| | | List<LocMast> locMasts = locMastService.selectList(new EntityWrapper<LocMast>() |
| | | .eq("loc_sts", "F") |
| | | .eq("pack_status", 4) |
| | | .eq("pack_status", 4)//测试失败 |
| | | .eq("row1", equipmentRow) |
| | | .eq("loc_type1", (short) 1) |
| | | .eq("fire_status",0) |
| | |
| | | try { |
| | | List<LocMast> locMasts2 = locMastService.selectList(new EntityWrapper<LocMast>() |
| | | .eq("loc_sts", "F") |
| | | .eq("pack_status", 4) |
| | | .eq("pack_status", 3)//测试完成 |
| | | .eq("row1", equipmentRow) |
| | | .eq("loc_type1", (short) 1) |
| | | .eq("fire_status",0) |
| | |
| | | } else if (Cools.isEmpty(locMast.getModiTime())){ |
| | | log.error("库位:"+locMast.getLocNo()+"modiTime为空"); |
| | | } else if (Cools.isEmpty(locMast.getBarcode())){ |
| | | log.error("库位:"+locMast.getLocNo()+"Pack码为空"); |
| | | log.error("库位:"+locMast.getLocNo()+"托盘码为空"); |
| | | } else { |
| | | // 生成工作号 |
| | | int workNo = commonService.getWorkNo(WorkNoType.getWorkNoType(ioType)); |
| | |
| | | // locMast.setPackStatus(5); //5:开始静置 |
| | | |
| | | CombParam combParam = new CombParam(); |
| | | combParam.setPackNo(locMast.getBarcode()); |
| | | combParam.setPackNo(wrkDetl.getMatnr()); |
| | | combParam.setLocNo(locMast.getLocNo()); |
| | | combParam.setPackSts(locMast.getPackStatus()); |
| | | combParam.setRequestTime(DateUtils.convert(new Date())); |