diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcompaward/controller/AnnualCompAwardController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcompaward/controller/AnnualCompAwardController.java index f9bb983d..0259f767 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcompaward/controller/AnnualCompAwardController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcompaward/controller/AnnualCompAwardController.java @@ -154,10 +154,10 @@ public class AnnualCompAwardController extends JeecgController add(@RequestBody AnnualCompAward annualCompAward) { - if (annualCompAward != null) { +/* if (annualCompAward != null) { AnnualCompPoint annualCompPoint = annualCompPointService.query().eq("obj_name", annualCompAward.getAnnucompid()).one(); annualCompAward.setAnnucompid(annualCompPoint.getId()); - } + }*/ annualCompAwardService.save(annualCompAward); return Result.OK("添加成功!"); }