丽知:修改仅退款插件。
This commit is contained in:
parent
3f3cf2aded
commit
1ae43fe1b0
|
@ -172,7 +172,7 @@ public class RefundOnlyPluginInitializer extends PluginBaseEntity {
|
|||
saveData(refundOnlyData);
|
||||
|
||||
//过滤日志
|
||||
List<RerturnGoodsOrderSearchData> filterReturnGoodsOrders = filterData(returnGoodsOrders);
|
||||
List<RerturnGoodsOrderSearchData> filterReturnGoodsOrders = filterData(refundOnlyData);
|
||||
if (filterReturnGoodsOrders == null || filterReturnGoodsOrders.size() == 0) {
|
||||
return;
|
||||
}
|
||||
|
@ -217,6 +217,11 @@ public class RefundOnlyPluginInitializer extends PluginBaseEntity {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 退款时间区间
|
||||
* @param startTime
|
||||
* @param endTime
|
||||
*/
|
||||
public void start(String startTime, String endTime) {
|
||||
try {
|
||||
Date business_start = DateUtil.parse(startTime);
|
||||
|
@ -238,7 +243,7 @@ public class RefundOnlyPluginInitializer extends PluginBaseEntity {
|
|||
saveData(refundOnlyData);
|
||||
|
||||
//过滤日志
|
||||
List<RerturnGoodsOrderSearchData> filterReturnGoodsOrders = filterData(returnGoodsOrders);
|
||||
List<RerturnGoodsOrderSearchData> filterReturnGoodsOrders = filterData(refundOnlyData);
|
||||
if (filterReturnGoodsOrders == null || filterReturnGoodsOrders.size() == 0) {
|
||||
return;
|
||||
}
|
||||
|
@ -390,7 +395,7 @@ public class RefundOnlyPluginInitializer extends PluginBaseEntity {
|
|||
ArapDjzbVO.Parentt parentvo = new ArapDjzbVO.Parentt();
|
||||
//djrq 单据日期
|
||||
format = split[3];//暂时取创建时间,refundAt没返回
|
||||
format = "2024-09-25";
|
||||
format = "2024-09-27";
|
||||
parentvo.setDjrq(format);
|
||||
//dwbm 公司
|
||||
parentvo.setDwbm(split[0]);
|
||||
|
|
|
@ -135,6 +135,11 @@ public class TransferTest {
|
|||
// refundOnlyPluginInitializer.start("LETS-RO2023060900005007");
|
||||
refundOnlyPluginInitializer.start("LETS-RO2023082300000045");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void t81(){
|
||||
refundOnlyPluginInitializer.start("2023-08-20","2023-08-25");
|
||||
}
|
||||
////////////////////////////////////////////////////////////////////////////////////仅退款
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue