空指针问题
This commit is contained in:
@@ -1197,7 +1197,7 @@ public class OrderInfoCustomServiceImpl implements OrderInfoCustomService {
|
||||
if (orderInfo.getCreditBuyerId() != null) {
|
||||
upOrderInfo.setCreditBuyerId(orderInfo.getCreditBuyerId());
|
||||
}
|
||||
if (payType.equals(PayEnums.FREE_PAY)) {
|
||||
if (PayEnums.FREE_PAY.equals(payType)) {
|
||||
if (orderInfo.getDiscountAllAmount() == null) {
|
||||
upOrderInfo.setDiscountAllAmount(orderInfo.getOrderAmount());
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user