管道基础大数据平台系统开发-【后端】-Server
13693261870
2022-12-25 0e232ec00c776bc6803116837c5eabee43f2f69a
src/main/java/com/lf/server/controller/show/ApplyController.java
@@ -202,7 +202,7 @@
                return fail("找不到申请流程");
            }
            if (flowEntity.getStatus() != 0) {
                return fail("该申请流程无需要打回");
                return fail("该申请流程无需提交");
            }
            ApplyEntity applyEntity = applyService.selectById(flowEntity.getApplyid());
@@ -210,12 +210,16 @@
                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);
        }
@@ -234,7 +238,7 @@
                return fail("找不到申请流程");
            }
            if (flowEntity.getStatus() != 0) {
                return fail("该申请流程无需要打回");
                return fail("该申请流程无需打回");
            }
            ApplyEntity applyEntity = applyService.selectById(flowEntity.getApplyid());
@@ -242,7 +246,7 @@
                return fail("找不到数据申请");
            }
            if (!(applyEntity.getStatus() >= 0 && applyEntity.getStatus() <= StaticData.NINE)) {
                return fail("该数据申请无需要打回");
                return fail("该数据申请无需打回");
            }
            Integer rows = applyService.updateForReject(applyEntity.getId(), flowEntity.getId());