|
|
@@ -43,8 +43,6 @@ 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")) {
|
|
|
@@ -382,6 +380,8 @@ public class DispatchAutoCloseService extends ServiceController {
|
|
|
entity.setOwnerid(sa_orderid);
|
|
|
entity.setOwnertable("sa_order");
|
|
|
entity.setSource("订单自动返利");
|
|
|
+ entity.setType("公司支持");
|
|
|
+ entity.setTypemx("装修返利");
|
|
|
entity.setSourcenote(orderRows.get(0).getString("sonum"));
|
|
|
entity.setRemarks(orderRows.get(0).getString("sonum") + "订单自动返利");
|
|
|
JSONObject cashbillIncome = createCashbillIncome(siteid, sys_enterpriseid, sa_accountclassid, entity, true, true);
|