|
@@ -106,7 +106,6 @@ public class UserController {
|
|
|
Long skip = null, limit = null;
|
|
|
Map map = new HashMap();
|
|
|
QueryWrapper qw = new QueryWrapper<>();
|
|
|
- qw.select("id", "title", "platform", "is_use");
|
|
|
/** 参数处理处理 */
|
|
|
for (String key : allParams.keySet()) {
|
|
|
Object value = allParams.get(key);
|
|
@@ -115,7 +114,7 @@ public class UserController {
|
|
|
} else if (key.equals("limit")) {
|
|
|
limit = Long.valueOf(String.valueOf(value));
|
|
|
} else {
|
|
|
- if (key.equals("title") || key.equals("platform")) {
|
|
|
+ if (key.equals("name")) {
|
|
|
qw.like(key, value);
|
|
|
} else {
|
|
|
// 其他为查询条件
|