Commit a72aaed3 by YANGYANG

批量删除提交

parent b3b85d6b
...@@ -187,9 +187,9 @@ public class UsersController { ...@@ -187,9 +187,9 @@ public class UsersController {
@ApiOperation(value = "批量删除用户") @ApiOperation(value = "批量删除用户")
@PostMapping("/deleteUsersBySfzhms") @PostMapping("/deleteUsersBySfzhms")
public MapRestResult deleteUsersByIds(@RequestBody String[] Sfzhms) { public MapRestResult deleteUsersByIds(@RequestBody String[] Sfzhms) {
QueryWrapper<Users> wrapper = new QueryWrapper<>();
boolean result = false; boolean result = false;
for (String sfzhm : Sfzhms) { for (String sfzhm : Sfzhms) {
QueryWrapper<Users> wrapper = new QueryWrapper<>();
wrapper.eq("sfzhm",sfzhm); wrapper.eq("sfzhm",sfzhm);
// 查询 // 查询
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment