|
|
|
@ -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("添加成功!"); |
|
|
|
|
} |
|
|
|
|