| | |
| | | return; |
| | | } |
| | | for (WrkMast wrkMast : wrkMasts) { |
| | | try{ |
| | | ReturnT<String> returnT = workMastHandler.start(wrkMast); |
| | | if (!returnT.isSuccess()) { |
| | | wrkMast.setUpdMk("X"); |
| | |
| | | log.error("工作档[workNo={}]标记待处理失败", wrkMast.getWrkNo()); |
| | | } |
| | | } |
| | | }catch (Exception e){ |
| | | log.error("工作档[workNo={}]更新库存失败!", wrkMast.getWrkNo()); |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | .eq("status",5) |
| | | ); |
| | | } |
| | | if (Cools.isEmpty(testMast)){ |
| | | throw new CoolException("更改测试状态失败,查询测试档案失败"); |
| | | } |
| | | testMast.setStatus(5); |
| | | testMast.setModiTime(new Date()); |
| | | if (!testMastService.update(testMast,new EntityWrapper<TestMast>().eq("barcode",wrkDetl1.getMatnr()).eq("status",4))){ |