```禁用状态和店铺代码查询参数以解决ToC销售插件问题
在ToC销售插件初始化器中,已注释掉查询参数中对状态和店铺代码的设置,以解决不必要的查询限制问题。更新测试用例以反映这些更改,并重命名测试方法以符合新的实施策略。 更改包括: - 注释掉`SoSaleOutPluginInitializerToC`中的状态和店铺代码设置 - 更新`SoSaleOutPluginInitializerToCTest`中的测试用例,以使用新的实施策略 - 重命名测试方法以清晰地描述其目的和行为 ```
This commit is contained in:
parent
07bec9ac4b
commit
336b898b19
|
@ -259,10 +259,10 @@ public class SoSaleOutPluginInitializerToC extends PluginBaseEntity {
|
|||
QueryOfsSoSaleOutVo queryOfsSoSaleOutVo = new QueryOfsSoSaleOutVo();
|
||||
queryOfsSoSaleOutVo.setClientCode("LETS");
|
||||
queryOfsSoSaleOutVo.setInternalInstructionType("SALES");
|
||||
queryOfsSoSaleOutVo.setStatus(900L);
|
||||
// queryOfsSoSaleOutVo.setStatus(900L);
|
||||
queryOfsSoSaleOutVo.setPageNo(1L);
|
||||
queryOfsSoSaleOutVo.setPageSize(100L);
|
||||
queryOfsSoSaleOutVo.setStoreCode(tobShop);
|
||||
// queryOfsSoSaleOutVo.setStoreCode(tobShop);
|
||||
queryOfsSoSaleOutVo.setCode(code);
|
||||
ofsStandardUtil.queryOfsSaleOrder(queryOfsSoSaleOutVo, headerDetailsDtoList, 1L, "ofs.shipment.search");
|
||||
logger.info("数据返回行数:{}", headerDetailsDtoList.size());
|
||||
|
|
|
@ -78,7 +78,7 @@ class SoSaleOutPluginInitializerToCTest {
|
|||
// soSaleOutPluginInitializerToC.splitDateAndPush(computingTime, "tran");
|
||||
|
||||
|
||||
String s = "LETS-SH2024032800000001";
|
||||
soSaleOutPluginInitializerToC.startImplementStockByCode(s, "tran");
|
||||
String s = "LETS-SH2024073100000004";
|
||||
soSaleOutPluginInitializerToC.startImplementStockByCode(s, "stock");
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue