活动-用户相关功能
This commit is contained in:
parent
b32e9bc0bd
commit
37b33c9b37
@ -77,7 +77,7 @@ public class UserController {
|
||||
@PostMapping("fill")
|
||||
public JsonResult<?> fill(@Validated @RequestBody UserVo user) {
|
||||
userService.saveUser(user);
|
||||
return JsonResult.success(user);
|
||||
return JsonResult.success();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -39,6 +39,6 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements Us
|
||||
entity.setChronicDisease(user.getChronicDisease());
|
||||
entity.setHeath(user.getHeath());
|
||||
entity.setIsFilled(2);
|
||||
userMapper.insert(entity);
|
||||
userMapper.update(entity);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user