| | |
| | | .eq("loc_no", testMast.getLocNo()) |
| | | .eq("barcode", testMast.getBarcode()) |
| | | .eq("user_id",testMast.getUserId()) |
| | | .eq("channel",locMast.getChannel().toString()))){ |
| | | .eq("channel",locMast.getChannel().toString()) |
| | | .lt("status",4) |
| | | )){ |
| | | throw new CoolException("更新testMast失败"); |
| | | } |
| | | } |
| | | |
| | | locMast.setPackStatus(1); |
| | | locMast.setModiTime(now); |
| | | |
| | | CombParam combParam = new CombParam(); |
| | | combParam.setPackNo(locMast.getBarcode()); |
| | | combParam.setLocNo(locMast.getLocNo()); |
| | | combParam.setPackSts(1); |
| | | combParam.setRequestTime(DateUtils.convert(new Date())); |
| | | new PostMesDataUtils().postMesData("MES系统",mesUrl,inpath,combParam); |
| | | |
| | | if (!locMastService.update(locMast,new EntityWrapper<LocMast>().eq("loc_no", testMast.getLocNo()))){ |
| | | throw new CoolException("申请测试失败"); |
| | | } |