Browse Source

门店列表支持筛选:卖场类型

eganwu 1 year ago
parent
commit
d7d92d7a6d

+ 5 - 0
src/custom/restcontroller/webmanage/saletool/store/StoreAgent.java

@@ -54,6 +54,11 @@ public class StoreAgent extends Controller {
                 where.append("t1.status='").append(whereObject.getString("status")).append("' ");
                 where.append(")");
             }
+            if (whereObject.containsKey("markettype") && !"".equals(whereObject.getString("markettype"))) {
+                where.append(" and (");
+                where.append("t1.markettype='").append(whereObject.getString("markettype")).append("' ");
+                where.append(")");
+            }
         }
         if (content.containsKey("sys_enterpriseid") && content.getLongValue("sys_enterpriseid") != 0) {
             sys_enterpriseid = content.getLongValue("sys_enterpriseid");