| | |
| | | @Autowired |
| | | private TestMastService testMastService; |
| | | @Autowired |
| | | private WorkLogHandler workLogHandler; |
| | | private WorkService workService; |
| | | |
| | | @Value("${mes.url}") |
| | | private String mesUrl; |
| | |
| | | |
| | | @Value("${mes.startUpTestPACK}") |
| | | private String suspendTestPACK; |
| | | |
| | | |
| | | |
| | | @Override |
| | |
| | | } |
| | | return SUCCESS; |
| | | } |
| | | @Transactional |
| | | public void transplant(Review review){ |
| | | //移库开始,查询目标库位 |
| | | LocMast targetLocNo = locMastService.selectOne(new EntityWrapper<LocMast>() |
| | | .eq("row1",2) |
| | | .eq("loc_sts","O") |
| | | .eq("fire_status", 0) |
| | | .eq("pack_status",0)); |
| | | if (targetLocNo != null){ |
| | | workService.locMove(review.getLocNo(),targetLocNo.getLocNo(),(long)Integer.parseInt(review.getUserId())); |
| | | }else { |
| | | throw new CoolException("没有空库位"); |
| | | } |
| | | } |
| | | /*...........................赣州新增..............以上.............赣州新增...........................*/ |
| | | } |