Просмотр исходного кода

经销商列表查询添加接口id

郭齐峰 2 лет назад
Родитель
Сommit
34588a1c6e

+ 5 - 0
src/custom/restcontroller/R.java

@@ -4683,6 +4683,11 @@ public class R {
         }
     }
 
+    public static class ID20230427101304 {
+        public static class v1 {
+        }
+    }
+
 
 }
 

+ 2 - 1
src/custom/restcontroller/webmanage/sale/agents/agents.java

@@ -38,7 +38,7 @@ public class agents extends Controller {
         super(content);
     }
 
-    @API(title = "经销商列表查询")
+    @API(title = "经销商列表查询", apiversion = R.ID20230427101304.v1.class)
     @CACHEING
     public String query_agentList() throws YosException {
         /*
@@ -51,6 +51,7 @@ public class agents extends Controller {
                 where.append(" and(");
                 where.append("t2.phonenumber like'%").append(whereObject.getString("condition")).append("%' ");
                 where.append("or t2.enterprisename like'%").append(whereObject.getString("condition")).append("%' ");
+                where.append("or t1.agentnum like'%").append(whereObject.getString("condition")).append("%' ");
                 where.append(")");
             }
             if (whereObject.containsKey("status") && !"".equals(whereObject.getString("status"))) {