湖分管理

This commit is contained in:
wuchunlei
2025-04-08 10:39:31 +08:00
parent 2db4d0528c
commit 9265c03749
8 changed files with 26 additions and 7 deletions

View File

@@ -39,6 +39,9 @@ public class UserContributionController {
wrapper.like(MyUserEntity::getName,params.get("userName"));
wrapper.like(MyUserEntity::getNickname,params.get("userName"));
}
if (params.containsKey("userId")&& StringUtils.isNotEmpty(params.get("userId").toString())) {
wrapper.eq(MyUserEntity::getId,params.get("userId"));
}
if (params.containsKey("tel")&& StringUtils.isNotEmpty(params.get("tel").toString())) {
wrapper.like(MyUserEntity::getTel,params.get("tel"));
}
@@ -67,8 +70,8 @@ public class UserContributionController {
}
@RequestMapping("/delUserContribution")
public R delMessage(String id) {
contributionService.removeById(id);
public R delMessage(@RequestBody UserContribution contribution) {
contributionService.removeById(contribution.getId());
return R.ok();
}