Преглед на файлове

企业查询业绩列表报错修复

hu преди 1 година
родител
ревизия
cb965a83c3

+ 1 - 1
src/custom/restcontroller/sale/salestarget/enterprise.java

@@ -139,7 +139,7 @@ public class enterprise extends Controller {
             }else{
                 if(isJSONArray(statisticaldimension)){
                     JSONArray jsonArrayResult = JSONArray.parseArray(statisticaldimension);
-                    String where1="t1.class in"+jsonArrayResult+" or t1.subclass in"+jsonArrayResult;
+                    String where1="class in"+jsonArrayResult+" or subclass in"+jsonArrayResult;
                     where1 = where1.replace("[", "(").replace("]", ")");
                     sqlFactory.addParameter_SQL("where1", where1);
                 }else{

+ 1 - 1
src/custom/restcontroller/webmanage/sale/salestarget/enterprisetarget.java

@@ -264,7 +264,7 @@ public class enterprisetarget extends Controller {
             }else{
                 if(isJSONArray(statisticaldimension)){
                     JSONArray jsonArrayResult = JSONArray.parseArray(statisticaldimension);
-                    String where1="t1.class in"+jsonArrayResult+" or t1.subclass in"+jsonArrayResult;
+                    String where1="class in"+jsonArrayResult+" or subclass in"+jsonArrayResult;
                     where1 = where1.replace("[", "(").replace("]", ")");
                     sqlFactory.addParameter_SQL("where1", where1);
                 }else{