个人博客

2021年6月14日;

昨天新增了一个团员绩效评价的功能,今天完成了后端代码以及增加了评价后就不能在评价的代码,下面是我的页面展示:

 这是已经评价完的代码,当社评价完自己社团的团员的时候就不能在评价了,这是未评价的页面:

 重新评价后会显示已评价和重新评价的按钮,这是我的代码:


@ResponseBody
@GetMapping(value = "/tijiao", produces = { "application/json;charset=UTF-8" })
public String add7(Grades g) {
if(clubService.ifping(g.getName(),g.getClub())==null) {
clubService.addg(g);
}else {
clubService.xiuping(g);
}
return "提交成功";
}

原文地址:https://www.cnblogs.com/yitiaokuailedexiaojingyu/p/14883251.html