| | |
| | | matNew.setTagId(tag.getId()); |
| | | matNew.setMatnr(param.getPackName()); |
| | | matNew.setMaktx(param.getPackName()); |
| | | matNew.setDeadWarn(param.getSettingTimes()); |
| | | matNew.setDeadWarn(mat.getDeadWarn()); |
| | | matNew.setCreateBy(9999L);//9999表示erp下发 |
| | | matNew.setCreateTime(new Date()); |
| | | matNew.setUpdateBy(9999L);//9999表示erp下发 |
| | |
| | | throw new CoolException("更新测试状态失败"); |
| | | } |
| | | locMast.setPackStatus(2); |
| | | CombParam combParam = new CombParam(); |
| | | combParam.setPackNo(locMast.getBarcode()); |
| | | combParam.setLocNo(locMast.getLocNo()); |
| | | combParam.setPackSts(2); |
| | | combParam.setRequestTime(DateUtils.convert(new Date())); |
| | | new PostMesDataUtils().postMesData("MES系统",mesUrl,inpath,combParam); |
| | | |
| | | if (!locMastService.update(locMast,new EntityWrapper<LocMast>().eq("loc_no", review.getLocNo()))){ |
| | | |
| | | |
| | | throw new CoolException("更新产品状态失败"); |
| | | } |
| | | } else if (Cools.isEmpty(testMast.getStatus())){ |