|
@@ -285,7 +285,9 @@ public class adminAction extends ActionSupport implements ServletRequestAware {
|
|
|
JSONObject resultJson = new JSONObject();
|
|
JSONObject resultJson = new JSONObject();
|
|
|
StringBuilder s1 = new StringBuilder("");
|
|
StringBuilder s1 = new StringBuilder("");
|
|
|
if (adminName!=null){
|
|
if (adminName!=null){
|
|
|
- s1.append(" and admin_name like '%").append(adminName).append("%'");
|
|
|
|
|
|
|
+ s1.append(" and (admin_name like '%").append(adminName).append("%'")
|
|
|
|
|
+ .append(" or phone like '%").append(adminName).append("%'")
|
|
|
|
|
+ .append(" or user_name like '%").append(adminName).append("%')");
|
|
|
}
|
|
}
|
|
|
IPage<Admin> adminIPage = adminService.queryPage(s1.toString(),page,rows);
|
|
IPage<Admin> adminIPage = adminService.queryPage(s1.toString(),page,rows);
|
|
|
if(adminIPage!=null && !"".equals(adminIPage)){
|
|
if(adminIPage!=null && !"".equals(adminIPage)){
|