Browse Source

Merge branch 'master' of http://git.cc-lotus.info/customer/service

lrf 8 months ago
parent
commit
51a8e87254
1 changed files with 2 additions and 7 deletions
  1. 2 7
      src/main/java/com/free/controller/HistoryController.java

+ 2 - 7
src/main/java/com/free/controller/HistoryController.java

@@ -89,7 +89,6 @@ public class HistoryController {
     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);
@@ -98,12 +97,8 @@ public class HistoryController {
       } else if (key.equals("limit")) {
         limit = Long.valueOf(String.valueOf(value));
       } else {
-        if (key.equals("title") || key.equals("platform")) {
-          qw.like(key, value);
-        } else {
-          // 其他为查询条件
-          qw.eq(key, value);
-        }
+        // 其他为查询条件
+        qw.eq(key, value);
       }
     }
     /** 分页处理 */