奖项设置

main
Gitea 1 year ago
parent 78fbce0ccb
commit 44328e98ce
  1. 4
      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<AnnualCompAward,
//@RequiresPermissions("annualcompaward:annual_comp_award:add")
@PostMapping(value = "/add")
public Result<String> 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("添加成功!");
}

Loading…
Cancel
Save