20230922-ljl-fixBug
wangchaoxu 1 year ago
parent d7dd2075f5
commit e5987dc7b9

@ -585,7 +585,7 @@ public class OpOrderServiceImpl implements OpOrderService {
addNewOrderToOrderStatRedis(shopId, orderId); addNewOrderToOrderStatRedis(shopId, orderId);
} }
if ((ObjectUtil.isEmpty(dbOpOrderInfo) && OrderConst.ORDER_STATUS_WAIT_PAY != order.getOrderStatus().intValue()) if ((ObjectUtil.isEmpty(dbOpOrderInfo) && OrderConst.ORDER_STATUS_WAIT_PAY != order.getOrderStatus().intValue())
|| (dbOpOrderInfo.getOrderStatus().intValue() == OrderConst.ORDER_STATUS_WAIT_PAY) && order.getOrderStatus().intValue() != OrderConst.ORDER_STATUS_WAIT_PAY) { || ObjectUtil.isNotEmpty(dbOpOrderInfo) && (dbOpOrderInfo.getOrderStatus().intValue() == OrderConst.ORDER_STATUS_WAIT_PAY) && order.getOrderStatus().intValue() != OrderConst.ORDER_STATUS_WAIT_PAY) {
increaseNewPayingOrderToOrderStatRedis(); increaseNewPayingOrderToOrderStatRedis();
} }
try { try {

Loading…
Cancel
Save