refactor(purchase): 移除 ProxyPurchaseWarehousOrder 中的状态筛选
移除了 ProxyPurchaseWarehousOrder 类中 queryOfsSoSaleOutVo 的状态筛选条件。此外,更新了单元测试中的时间范围查询。
This commit is contained in:
parent
2c6f60f92b
commit
42375eaa7e
|
@ -224,7 +224,7 @@ public class ProxyPurchaseWarehousOrder extends PluginBaseEntity {
|
||||||
queryOfsSoSaleOutVo.setAuditAt_end(endTime);
|
queryOfsSoSaleOutVo.setAuditAt_end(endTime);
|
||||||
queryOfsSoSaleOutVo.setClientCode("LETS");
|
queryOfsSoSaleOutVo.setClientCode("LETS");
|
||||||
queryOfsSoSaleOutVo.setPageNo(1L);
|
queryOfsSoSaleOutVo.setPageNo(1L);
|
||||||
queryOfsSoSaleOutVo.setStatus(900L);
|
// queryOfsSoSaleOutVo.setStatus(900L);
|
||||||
ofsStandardUtil.queryOfsPoOrder(queryOfsSoSaleOutVo, allOfsPoOrderList, 1L);
|
ofsStandardUtil.queryOfsPoOrder(queryOfsSoSaleOutVo, allOfsPoOrderList, 1L);
|
||||||
logger.info("插件:{} O接口返回行数:{} 时间段:{} {}", getPluginName(), allOfsPoOrderList.size(), startTime, endTime);
|
logger.info("插件:{} O接口返回行数:{} 时间段:{} {}", getPluginName(), allOfsPoOrderList.size(), startTime, endTime);
|
||||||
printOfsDocCode(allOfsPoOrderList, startTime, endTime);
|
printOfsDocCode(allOfsPoOrderList, startTime, endTime);
|
||||||
|
|
|
@ -29,7 +29,7 @@ public class ProxyPurchaseWarehousOrderTest {
|
||||||
try {
|
try {
|
||||||
// proxyPurchaseWarehousOrder.startImplementByCode("LETS-PO2025010200000001");
|
// proxyPurchaseWarehousOrder.startImplementByCode("LETS-PO2025010200000001");
|
||||||
|
|
||||||
proxyPurchaseWarehousOrder.startImplementByTime("2025-01-13 00:00:00", "2025-01-13 23:59:59");
|
proxyPurchaseWarehousOrder.startImplementByTime("2025-01-21 17:38:26", "2025-01-21 17:38:26");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue