|
|
@@ -1293,7 +1293,7 @@ public class articleTweetAction extends BaseController implements ModelDriven<Ar
|
|
|
querySql.append(" and user_name like '%").append(articleTweetDto.getUserName()).append("%' ");
|
|
|
}
|
|
|
querySql.append(" and data_type = '").append(DataType.游客数据.toString()).append("' ");
|
|
|
- if (admin.getUserId()!=null && !admin.getUserId().equals("")){
|
|
|
+ if (admin.getUserId()!=null && admin.getUserId().length()>0){
|
|
|
querySql.append(" order by case when id in ( ").append(admin.getUserId()).append(") then 0 else 1 end");
|
|
|
}
|
|
|
IPage listPage = userService.queryUserPage2(querySql.toString(), page, rows,admin.getUserId()); // 查询分页
|