Commit 5a13960f by 刘鹏飞

Merge remote-tracking branch 'remotes/origin/feature/refundJudgeNull-刘鹏飞' into qa

parents 0ed05806 c4be9dca
...@@ -559,7 +559,11 @@ public class OrderCenterSdkServiceImpl implements OrderCenterSdkService { ...@@ -559,7 +559,11 @@ public class OrderCenterSdkServiceImpl implements OrderCenterSdkService {
*/ */
private OrderTaskReq setAfterSalesOrderTimeOutTask(StoreResponse.Configuration configuration) { private OrderTaskReq setAfterSalesOrderTimeOutTask(StoreResponse.Configuration configuration) {
if(configuration != null && (configuration.getTimeTypeOfRefund() != null && 2 == configuration.getTimeTypeOfRefund().intValue()) || configuration.getTimeTypeOfRefund() == null){// 48小时之后 if(configuration == null ){
return null;
}
if((configuration.getTimeTypeOfRefund() != null && 2 == configuration.getTimeTypeOfRefund().intValue()) || configuration.getTimeTypeOfRefund() == null){// 48小时之后
OrderTaskReq orderTask = new OrderTaskReq(); OrderTaskReq orderTask = new OrderTaskReq();
orderTask.setTaskType(4); orderTask.setTaskType(4);
orderTask.setTimeout(1); orderTask.setTimeout(1);
...@@ -573,7 +577,7 @@ public class OrderCenterSdkServiceImpl implements OrderCenterSdkService { ...@@ -573,7 +577,7 @@ public class OrderCenterSdkServiceImpl implements OrderCenterSdkService {
orderTask.setProcessingTime(DateUtil.convert2String(processingDate, DateUtil.FORMAT_YYYY_MM_DD_HHMMSS)); orderTask.setProcessingTime(DateUtil.convert2String(processingDate, DateUtil.FORMAT_YYYY_MM_DD_HHMMSS));
return orderTask; return orderTask;
}else if(configuration != null && configuration.getTimeTypeOfRefund() != null && 1 == configuration.getTimeTypeOfRefund().intValue()){// 指定时间 }else if(configuration.getTimeTypeOfRefund() != null && 1 == configuration.getTimeTypeOfRefund().intValue()){// 指定时间
OrderTaskReq orderTask = new OrderTaskReq(); OrderTaskReq orderTask = new OrderTaskReq();
orderTask.setTaskType(4); orderTask.setTaskType(4);
orderTask.setTimeout(1); orderTask.setTimeout(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment