Browse Source

订单付费调整

eganwu 2 năm trước cách đây
mục cha
commit
39a5f469c9
1 tập tin đã thay đổi với 2 bổ sung3 xóa
  1. 2 3
      src/custom/restcontroller/system/payorder/payorder.java

+ 2 - 3
src/custom/restcontroller/system/payorder/payorder.java

@@ -230,9 +230,8 @@ public class payorder extends Controller {
                 where.append(")");
             }
         }
-        long sa_agentsid = userInfo.getAgentID();
-        if (sa_agentsid > 0) {
-            where.append(" and( t1.sa_agentsid = '" + sa_agentsid + "' )");
+        if (sys_enterpriseid > 0) {
+            where.append(" and( t1.sys_enterpriseid = '" + sys_enterpriseid + "' )");
         }
         if (sys_payincidence == 2) {
             where.append(" and( t1.isleader = 1)");