|
|
@@ -520,14 +520,18 @@ public class FsStoreOrderScrmServiceImpl implements IFsStoreOrderScrmService {
|
|
|
List<FsStoreCartQueryVO> carts = redisCache.getCacheObject("orderCarts:" + param.getOrderKey());
|
|
|
BigDecimal payPrice = getOrderSumPrice(carts, "truePrice");
|
|
|
if (StringUtils.isNotEmpty(param.getCreateOrderKey())) {
|
|
|
- Integer payType = redisCache.getCacheObject("createOrderPayType:" + param.getCreateOrderKey());
|
|
|
- if (payType != null && payType == 3) {
|
|
|
- payPrice = redisCache.getCacheObject("createOrderAmount:" + param.getCreateOrderKey());
|
|
|
- } else {
|
|
|
- BigDecimal money = redisCache.getCacheObject("createOrderMoney:" + param.getCreateOrderKey());
|
|
|
- if (money != null) {
|
|
|
- payPrice = money;
|
|
|
- }
|
|
|
+// Integer payType = redisCache.getCacheObject("createOrderPayType:" + param.getCreateOrderKey());
|
|
|
+// if (payType != null && payType == 3) {
|
|
|
+// payPrice = redisCache.getCacheObject("createOrderAmount:" + param.getCreateOrderKey());
|
|
|
+// } else {
|
|
|
+// BigDecimal money = redisCache.getCacheObject("createOrderMoney:" + param.getCreateOrderKey());
|
|
|
+// if (money != null) {
|
|
|
+// payPrice = money;
|
|
|
+// }
|
|
|
+// }
|
|
|
+ BigDecimal money = redisCache.getCacheObject("createOrderMoney:" + param.getCreateOrderKey());
|
|
|
+ if (money != null) {
|
|
|
+ payPrice = money;
|
|
|
}
|
|
|
|
|
|
}
|