diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcomp/controller/AnnualCompController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcomp/controller/AnnualCompController.java index 56b062a1..ecda6111 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcomp/controller/AnnualCompController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcomp/controller/AnnualCompController.java @@ -400,14 +400,9 @@ public class AnnualCompController extends JeecgController edit(@RequestBody AnnualComp annualComp) { - if (annualComp.getBackinfo() != null && annualComp.getBackinfo() != "") { - annualComp.setState("3"); - annualCompService.updateById(annualComp); - return Result.OK("驳回成功!"); - } else { annualCompService.updateById(annualComp); return Result.OK("编辑成功!"); - } + } @AutoLog(value = "年度比赛管理-驳回")