通讯录查询修改
parent
382e6adc12
commit
a69c192cff
|
|
@ -66,6 +66,13 @@ public class UserController {
|
|||
StpUtil.kickout(id);
|
||||
return ResultJson.ok("将用户[" + id + "]踢下线");
|
||||
}
|
||||
|
||||
@ApiOperation(value = "登出")
|
||||
@PostMapping("logout")
|
||||
public ResultJson logout() {
|
||||
StpUtil.logout();
|
||||
return ResultJson.ok();
|
||||
}
|
||||
// @ApiOperation(value = "查询所有")
|
||||
// @PostMapping(value = "find")
|
||||
public ResultJson<User> find(@RequestBody User dto) {
|
||||
|
|
|
|||
|
|
@ -21,10 +21,10 @@
|
|||
AND AB.NAME LIKE CONCAT('%', #{dto.name}, '%')
|
||||
</if>
|
||||
<if test="dto.adcd != null and dto.adcd != '' ">
|
||||
AND AB.ADCD CONCAT('', #{dto.adcd}, '%')
|
||||
AND AB.ADCD LIKE CONCAT('', #{dto.adcd}, '%')
|
||||
</if>
|
||||
<if test="dto.phone != null and dto.phone != '' ">
|
||||
AND AB.PHONE = #{dto.phone}
|
||||
AND AB.PHONE LIKE CONCAT('', #{dto.phone}, '%')
|
||||
</if>
|
||||
ORDER BY AB.SORT
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Reference in New Issue