Commit 942a8e41 by ping.wu

automaticRefund String类型改int类型

parent 8bcbba72
...@@ -937,7 +937,8 @@ public class OrderServiceImpl implements Orderservice { ...@@ -937,7 +937,8 @@ public class OrderServiceImpl implements Orderservice {
//48小时自动退款描述 //48小时自动退款描述
if (storeInfo != null && storeInfo.getBizVO() != null && storeInfo.getBizVO().getStoreConfig()!= null if (storeInfo != null && storeInfo.getBizVO() != null && storeInfo.getBizVO().getStoreConfig()!= null
&& queryOrderResponseVo.getRefundStatus() != null && queryOrderResponseVo.getRefundStatus() == 1) { && queryOrderResponseVo.getRefundStatus() != null && queryOrderResponseVo.getRefundStatus() == 1) {
if("1".equals(storeInfo.getBizVO().getStoreConfig().getAutomaticRefund())){ Integer automaticRefund = storeInfo.getBizVO().getStoreConfig().getAutomaticRefund();
if(automaticRefund != null && automaticRefund == 1){
queryOrderResponseVo.setRefundTips("若48小时后商家未处理,自动同意"); queryOrderResponseVo.setRefundTips("若48小时后商家未处理,自动同意");
}else { }else {
queryOrderResponseVo.setRefundTips("若48小时后商家未处理,拒绝退款"); queryOrderResponseVo.setRefundTips("若48小时后商家未处理,拒绝退款");
......
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