root 5 ans auparavant
Parent
commit
d236f0965d

+ 3 - 3
src/main/java/io/renren/modules/admin/attenders/controller/AttendersController.java

@ -29,7 +29,7 @@ import io.renren.modules.sys.controller.AbstractController;
29 29
 */
30 30
@RestController
31 31
@RequestMapping("admin/attenders")
32
public class AttendersController {
32
public class AttendersController  extends AbstractController {
33 33
    @Autowired
34 34
    private AttendersService attendersService;
35 35
@ -63,7 +63,7 @@ public class AttendersController {
63 63
    @RequiresPermissions("admin:attenders:save")
64 64
    public R save(@RequestBody AttendersEntity attenders){
65 65
        attenders.setCreateTime(new Date());
66
        attenders.setCreateId(getUserId());
66
        attenders.setCreater(getUserId());
67 67
		attendersService.save(attenders);
68 68
69 69
        return R.ok();
@ -76,7 +76,7 @@ public class AttendersController {
76 76
    @RequiresPermissions("admin:attenders:update")
77 77
    public R update(@RequestBody AttendersEntity attenders){
78 78
		attenders.setModifyTime(new Date());
79
        attenders.setModifyId(getUserId());
79
        attenders.setModifier(getUserId());
80 80
        attendersService.updateById(attenders);
81 81
82 82
        return R.ok();