|
|
@ -176,4 +176,18 @@ public class TdLeaveController extends BaseController
|
|
|
|
mmap.put("posts", postService.selectPostsByUserIds(userId));
|
|
|
|
mmap.put("posts", postService.selectPostsByUserIds(userId));
|
|
|
|
return prefix + "/leaveprint";
|
|
|
|
return prefix + "/leaveprint";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 修改用户状态
|
|
|
|
|
|
|
|
* @param userId
|
|
|
|
|
|
|
|
* @return
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
public Boolean userUpdate(Long userId) {
|
|
|
|
|
|
|
|
return userService.lambdaUpdate()
|
|
|
|
|
|
|
|
.eq(SysUser::getUserId, userId)
|
|
|
|
|
|
|
|
.set(SysUser::getStatus, "1")
|
|
|
|
|
|
|
|
.update();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|