|
|
@@ -43,6 +43,8 @@ public class DispatchAutoCloseService extends ServiceController {
|
|
|
if (dbConnect.runSqlQuery("SELECT 1 from sys_site WHERE siteid='" + siteid + "'").isEmpty()) {
|
|
|
continue;
|
|
|
}
|
|
|
+ //是否自动返利结算
|
|
|
+// executeAutoRebate(341880L, "DLB");
|
|
|
|
|
|
Properties yosProperties = properties.getYosProperties();
|
|
|
if (yosProperties.getProperty("system.runmode.debug").equalsIgnoreCase("false")) {
|
|
|
@@ -323,7 +325,7 @@ public class DispatchAutoCloseService extends ServiceController {
|
|
|
ArrayList<Long> itemids = rebateunproducts.toArrayList("itemid", new ArrayList<Long>());
|
|
|
itemids.add(0l);
|
|
|
|
|
|
- SQLFactory sqlFactory = new SQLFactory(dbConnect, "查询返利数据");
|
|
|
+ SQLFactory sqlFactory = new SQLFactory(new DispatchAutoCloseService(), "查询返利数据");
|
|
|
sqlFactory.addParameter("sa_orderid", sa_orderid);
|
|
|
sqlFactory.addParameter("siteid", siteid);
|
|
|
sqlFactory.addParameter("siteid", siteid);
|