| | |
| | | @Transactional |
| | | public void startUpTestPACK(TestMast testMast) { |
| | | |
| | | //启动测试请求 |
| | | // ReturnT<String> result=startUpTestPACK1(testMast); |
| | | // if (!result.isSuccess()) { |
| | | // log.error("测试申请失败", testMast.getBarcode()); |
| | | // throw new CoolException("测试申请失败"); |
| | | // } |
| | | LocMast locMast = locMastService.selectOne(new EntityWrapper<LocMast>().eq("loc_no", testMast.getLocNo())); |
| | | // 启动测试请求 |
| | | ReturnT<String> result=startUpTestPACK1(testMast); |
| | | if (!result.isSuccess()) { |
| | | log.error("测试申请失败", testMast.getBarcode()); |
| | | throw new CoolException("测试申请失败"); |
| | | } |
| | | LocMast locMast = locMastService.selectOne(new EntityWrapper<LocMast>() |
| | | .eq("loc_no", testMast.getLocNo()) |
| | | .eq("channel",testMast.getChannel()) |
| | | ); |
| | | if (Cools.isEmpty(locMast)) { |
| | | throw new CoolException(BaseRes.PARAM); |
| | | } |