mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-06 11:00:13 +08:00
update
This commit is contained in:
@@ -24,6 +24,7 @@ import com.jsowell.wxpay.service.WxAppletRemoteService;
|
||||
import org.apache.commons.collections4.CollectionUtils;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.InitializingBean;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
@@ -35,7 +36,7 @@ import java.util.Map;
|
||||
/**
|
||||
* 描述订单逻辑
|
||||
*/
|
||||
public abstract class AbstractOrderLogic {
|
||||
public abstract class AbstractOrderLogic implements InitializingBean {
|
||||
protected Logger logger = LoggerFactory.getLogger(this.getClass());
|
||||
|
||||
@Resource
|
||||
|
||||
@@ -39,6 +39,11 @@ import java.util.stream.Collectors;
|
||||
@Service
|
||||
public class DelayMerchantOrderLogic extends AbstractOrderLogic {
|
||||
|
||||
@Override
|
||||
public void afterPropertiesSet() throws Exception {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 余额支付订单
|
||||
*/
|
||||
|
||||
@@ -38,6 +38,10 @@ import java.util.stream.Collectors;
|
||||
@Service
|
||||
public class NotDelayMerchantOrderLogic extends AbstractOrderLogic{
|
||||
|
||||
@Override
|
||||
public void afterPropertiesSet() throws Exception {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 余额支付订单
|
||||
|
||||
@@ -505,21 +505,21 @@ export default {
|
||||
return [this.lastMonitorData];
|
||||
},
|
||||
retryRefundFlag() {
|
||||
if (this.orderInfo == null || this.orderInfo.orderStatus !== "6") {
|
||||
return false;
|
||||
}
|
||||
if (this.payDetail[0] == null || this.payDetail[0].payMode !== "4") {
|
||||
return false;
|
||||
}
|
||||
if (
|
||||
this.payDetail[0].refundAmount == null ||
|
||||
this.payDetail[0].refundAmount <= 0.0
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
if (this.orderRefundInfoList.length === 0) {
|
||||
return false;
|
||||
}
|
||||
// if (this.orderInfo == null || this.orderInfo.orderStatus !== "6") {
|
||||
// return false;
|
||||
// }
|
||||
// if (this.payDetail[0] == null || this.payDetail[0].payMode !== "4") {
|
||||
// return false;
|
||||
// }
|
||||
// if (
|
||||
// this.payDetail[0].refundAmount == null ||
|
||||
// this.payDetail[0].refundAmount <= 0.0
|
||||
// ) {
|
||||
// return false;
|
||||
// }
|
||||
// if (this.orderRefundInfoList.length === 0) {
|
||||
// return false;
|
||||
// }
|
||||
return true;
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user