refactor(sales): 暂时注释掉 TOC 销售和退货的相关代码
- 在 SoSaleOutPluginInitializerToC 中注释掉了销售出库的代码 - 在 SoSaleReturnPluginInitializerToB 和 SoSaleReturnPluginInitializerToC 中注释掉了销售退货的代码 - 添加了 TODO 注释,表示这些代码是暂时被注释掉的,可能会在将来重新启用
This commit is contained in:
parent
7a1a4c630f
commit
6698315c90
|
@ -151,7 +151,8 @@ 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());
|
||||||
startImplementTranByTime(startAndEndVos.get(0).getStart_time(), startAndEndVos.get(0).getEnd_time());
|
//TODO 暂时不拉取
|
||||||
|
// startImplementTranByTime(startAndEndVos.get(0).getStart_time(), startAndEndVos.get(0).getEnd_time());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
|
@ -131,9 +131,10 @@ 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分钟调度一次
|
||||||
StartAndEndVo startAndEndVo = offsetTimeTime.offsetTime();
|
//TODO 暂时注释掉
|
||||||
startImplementByStockTime(startAndEndVo.getStart_time(), startAndEndVo.getEnd_time());
|
// StartAndEndVo startAndEndVo = offsetTimeTime.offsetTime();
|
||||||
startImplementByTradeTime(startAndEndVo.getStart_time(), startAndEndVo.getEnd_time());
|
// startImplementByStockTime(startAndEndVo.getStart_time(), startAndEndVo.getEnd_time());
|
||||||
|
// startImplementByTradeTime(startAndEndVo.getStart_time(), startAndEndVo.getEnd_time());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
|
@ -133,9 +133,10 @@ public class SoSaleReturnPluginInitializerToC extends PluginBaseEntity {
|
||||||
if (ProfilesActiveConstant.LETS_PROFILES_ACTIVE.equals(PROD_FILED)) {
|
if (ProfilesActiveConstant.LETS_PROFILES_ACTIVE.equals(PROD_FILED)) {
|
||||||
//默认被定时器执行,每天晚上凌晨0点5分
|
//默认被定时器执行,每天晚上凌晨0点5分
|
||||||
//暂定先同步TOC销售库存、再推送TOC销售确认收入
|
//暂定先同步TOC销售库存、再推送TOC销售确认收入
|
||||||
List<StartAndEndVo> startAndEndVos = calculateCalculateEntireDayPeriod(null);
|
//TODO 暂时注释掉
|
||||||
startImplementStockByTime(startAndEndVos.get(0).getStart_time(), startAndEndVos.get(0).getEnd_time());
|
// List<StartAndEndVo> startAndEndVos = calculateCalculateEntireDayPeriod(null);
|
||||||
startImplementByTradeTime(startAndEndVos.get(0).getStart_time(), startAndEndVos.get(0).getEnd_time());
|
// startImplementStockByTime(startAndEndVos.get(0).getStart_time(), startAndEndVos.get(0).getEnd_time());
|
||||||
|
// startImplementByTradeTime(startAndEndVos.get(0).getStart_time(), startAndEndVos.get(0).getEnd_time());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
Loading…
Reference in New Issue