refactor(sales): 恢复 TOC 销售出库和销售退货功能

- 在 SoSaleOutPluginInitializerToC 类中,取消对 startImplementTranByTime 方法的注释,恢复销售出库功能
- 在 SoSaleReturnPluginInitializerToB 类中,取消对 startImplementByStockTime 和 startImplementByTradeTime 方法的注释,恢复销售退货功能
This commit is contained in:
liuy 2024-11-20 17:26:35 +08:00
parent 314751d6fa
commit 56a6ecb615
2 changed files with 4 additions and 6 deletions

View File

@ -151,8 +151,7 @@ public class SoSaleOutPluginInitializerToC extends PluginBaseEntity {
//暂定先同步TOC销售库存再推送TOC销售确认收入
List<StartAndEndVo> startAndEndVos = calculateCalculateEntireDayPeriod(null);
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) {

View File

@ -131,10 +131,9 @@ public class SoSaleReturnPluginInitializerToB extends PluginBaseEntity {
} else {
if (ProfilesActiveConstant.LETS_PROFILES_ACTIVE.equals(PROD_FILED)) {
//实时执行每1分钟调度一次
//TODO 暂时注释掉
// StartAndEndVo startAndEndVo = offsetTimeTime.offsetTime();
// startImplementByStockTime(startAndEndVo.getStart_time(), startAndEndVo.getEnd_time());
// startImplementByTradeTime(startAndEndVo.getStart_time(), startAndEndVo.getEnd_time());
StartAndEndVo startAndEndVo = offsetTimeTime.offsetTime();
startImplementByStockTime(startAndEndVo.getStart_time(), startAndEndVo.getEnd_time());
startImplementByTradeTime(startAndEndVo.getStart_time(), startAndEndVo.getEnd_time());
}
}
} catch (Exception e) {