|
...
|
...
|
@@ -29,6 +29,7 @@ import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
import org.springframework.security.core.context.SecurityContextHolder;
|
|
|
|
import org.springframework.security.core.userdetails.UserDetails;
|
|
|
|
import org.springframework.validation.BindingResult;
|
|
...
|
...
|
@@ -43,6 +44,7 @@ import javax.servlet.http.HttpServletResponse; |
|
|
|
import javax.servlet.http.HttpSession;
|
|
|
|
import java.awt.image.BufferedImage;
|
|
|
|
import java.io.IOException;
|
|
|
|
import java.util.Date;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
|
|
|
import java.util.Properties;
|
|
...
|
...
|
@@ -73,6 +75,8 @@ public class UserController { |
|
|
|
int pageSize,
|
|
|
|
@RequestParam(value = "userName",required = false) String username,
|
|
|
|
@RequestParam(value = "realName",required = false) String realname,
|
|
|
|
@RequestParam(value = "updatetime", required = false)
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") Date updatetime,
|
|
|
|
@RequestParam(value = "online",required = false) Boolean online,
|
|
|
|
@RequestParam(value = "loginFlag",required = false) String loginFlag)
|
|
|
|
{
|
|
...
|
...
|
@@ -81,6 +85,7 @@ public class UserController { |
|
|
|
kakoUser.setLoginName(username);
|
|
|
|
kakoUser.setName(realname);
|
|
|
|
kakoUser.setOnline(online);
|
|
|
|
kakoUser.setUpdateDate(updatetime);
|
|
|
|
PageInfo<KakoUser> usersPageInfo = userService.selectAllUser(pageNum,pageSize, kakoUser);
|
|
|
|
return new ResultJson("200","success",usersPageInfo);
|
|
|
|
}
|
...
|
...
|
|