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

绑定大类账户选择条件更新

hu 2 лет назад
Родитель
Сommit
0902bee2d3

+ 1 - 1
src/custom/restcontroller/webmanage/sale/accountclass/accountclass.java

@@ -161,7 +161,7 @@ public class accountclass extends Controller {
                 where = where + " and t1.isrebate=" + whereObject.getLong("isrebate");
             }
             if (whereObject.containsKey("isnotspecialfund") && !"".equals(whereObject.getString("isnotspecialfund"))) {
-                where = where + " and JSON_TYPE(t1.bindingcategories) != 'NULL' and JSON_LENGTH(t1.bindingcategories) != 0 and t1.accountname !='保证金账户' ";
+                where = where + " and  (JSON_TYPE(t1.bindingcategories) = 'NULL' || JSON_LENGTH(t1.bindingcategories) = 0)  and t1.accountname !='保证金账户' ";
             }
 
         }