refactor(sales): 恢复 TOC 销售出库和销售退货功能
- 在 SoSaleOutPluginInitializerToC 类中,取消对 startImplementTranByTime 方法的注释,恢复销售出库功能 - 在 SoSaleReturnPluginInitializerToB 类中,取消对 startImplementByStockTime 和 startImplementByTradeTime 方法的注释,恢复销售退货功能
This commit is contained in:
parent
314751d6fa
commit
56a6ecb615
|
@ -151,8 +151,7 @@ public class SoSaleOutPluginInitializerToC extends PluginBaseEntity {
|
||||||
//暂定先同步TOC销售库存、再推送TOC销售确认收入
|
//暂定先同步TOC销售库存、再推送TOC销售确认收入
|
||||||
List<StartAndEndVo> startAndEndVos = calculateCalculateEntireDayPeriod(null);
|
List<StartAndEndVo> startAndEndVos = calculateCalculateEntireDayPeriod(null);
|
||||||
startImplementStockByTime(startAndEndVos.get(0).getStart_time(), startAndEndVos.get(0).getEnd_time());
|
startImplementStockByTime(startAndEndVos.get(0).getStart_time(), startAndEndVos.get(0).getEnd_time());
|
||||||
//TODO 暂时不拉取
|
startImplementTranByTime(startAndEndVos.get(0).getStart_time(), startAndEndVos.get(0).getEnd_time());
|
||||||
// startImplementTranByTime(startAndEndVos.get(0).getStart_time(), startAndEndVos.get(0).getEnd_time());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
|
@ -131,10 +131,9 @@ public class SoSaleReturnPluginInitializerToB extends PluginBaseEntity {
|
||||||
} else {
|
} else {
|
||||||
if (ProfilesActiveConstant.LETS_PROFILES_ACTIVE.equals(PROD_FILED)) {
|
if (ProfilesActiveConstant.LETS_PROFILES_ACTIVE.equals(PROD_FILED)) {
|
||||||
//实时执行,每1分钟调度一次
|
//实时执行,每1分钟调度一次
|
||||||
//TODO 暂时注释掉
|
StartAndEndVo startAndEndVo = offsetTimeTime.offsetTime();
|
||||||
// StartAndEndVo startAndEndVo = offsetTimeTime.offsetTime();
|
startImplementByStockTime(startAndEndVo.getStart_time(), startAndEndVo.getEnd_time());
|
||||||
// startImplementByStockTime(startAndEndVo.getStart_time(), startAndEndVo.getEnd_time());
|
startImplementByTradeTime(startAndEndVo.getStart_time(), startAndEndVo.getEnd_time());
|
||||||
// startImplementByTradeTime(startAndEndVo.getStart_time(), startAndEndVo.getEnd_time());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
Loading…
Reference in New Issue