| | |
| | | return fail("找不到申请流程"); |
| | | } |
| | | if (flowEntity.getStatus() != 0) { |
| | | return fail("该申请流程无需要打回"); |
| | | return fail("该申请流程无需提交"); |
| | | } |
| | | |
| | | ApplyEntity applyEntity = applyService.selectById(flowEntity.getApplyid()); |
| | |
| | | return fail("找不到数据申请"); |
| | | } |
| | | if (!(applyEntity.getStatus() >= 0 && applyEntity.getStatus() <= StaticData.NINE)) { |
| | | return fail("该数据申请无需要打回"); |
| | | return fail("该数据申请无需打回"); |
| | | } |
| | | |
| | | // |
| | | int rows = applyService.updateForSubmit(applyEntity.getId(), flowEntity.getId()); |
| | | applyEntity = applyService.selectById(applyEntity.getId()); |
| | | if (StaticData.TEN == applyEntity.getStatus()) { |
| | | // 打包 |
| | | } |
| | | |
| | | return success(null); |
| | | return success(rows); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | |
| | | return fail("找不到申请流程"); |
| | | } |
| | | if (flowEntity.getStatus() != 0) { |
| | | return fail("该申请流程无需要打回"); |
| | | return fail("该申请流程无需打回"); |
| | | } |
| | | |
| | | ApplyEntity applyEntity = applyService.selectById(flowEntity.getApplyid()); |
| | |
| | | return fail("找不到数据申请"); |
| | | } |
| | | if (!(applyEntity.getStatus() >= 0 && applyEntity.getStatus() <= StaticData.NINE)) { |
| | | return fail("该数据申请无需要打回"); |
| | | return fail("该数据申请无需打回"); |
| | | } |
| | | |
| | | Integer rows = applyService.updateForReject(applyEntity.getId(), flowEntity.getId()); |