mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
支付状态新增待补缴
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* 订单主表
|
||||
@@ -94,7 +91,7 @@ public class OrderBasicInfo {
|
||||
private String payMode;
|
||||
|
||||
/**
|
||||
* 支付状态(0-待支付;1-支付完成)
|
||||
* 支付状态(0-待支付;1-支付完成; 2-无需支付; 3-待补缴)
|
||||
*/
|
||||
private String payStatus;
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ public class OrderPileOccupy {
|
||||
private Date endTime;
|
||||
|
||||
/**
|
||||
* 支付状态(0-未支付;1-支付完成;2-无需支付)
|
||||
* 支付状态(0-未支付;1-支付完成;2-无需支付; 3-待补缴)
|
||||
*/
|
||||
private String payStatus;
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@ public class DelayMerchantProgramLogic extends AbstractProgramLogic {
|
||||
if (orderInfo == null) {
|
||||
throw new BusinessException(ReturnCodeEnum.CODE_QUERY_ORDER_INFO_IS_NULL);
|
||||
}
|
||||
if (!StringUtils.equals(orderInfo.getPayStatus(), OrderPayStatusEnum.unpaid.getValue())) {
|
||||
if (StringUtils.equals(orderInfo.getPayStatus(), OrderPayStatusEnum.paid.getValue())) {
|
||||
// 订单已支付
|
||||
throw new BusinessException(ReturnCodeEnum.CODE_ORDER_IS_NOT_TO_BE_PAID_ERROR);
|
||||
}
|
||||
|
||||
@@ -197,7 +197,7 @@ public class NotDelayMerchantProgramLogic extends AbstractProgramLogic {
|
||||
if (orderInfo == null) {
|
||||
throw new BusinessException(ReturnCodeEnum.CODE_QUERY_ORDER_INFO_IS_NULL);
|
||||
}
|
||||
if (!StringUtils.equals(orderInfo.getPayStatus(), OrderPayStatusEnum.unpaid.getValue())) {
|
||||
if (StringUtils.equals(orderInfo.getPayStatus(), OrderPayStatusEnum.paid.getValue())) {
|
||||
// 订单已支付
|
||||
throw new BusinessException(ReturnCodeEnum.CODE_ORDER_IS_NOT_TO_BE_PAID_ERROR);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user