|
@@ -295,7 +295,7 @@ public class FsStoreOrderServiceImpl implements IFsStoreOrderService
|
|
|
if(order.getPayType().equals("1")||order.getPayType().equals("2")){
|
|
|
String json = configService.selectConfigByKey("store.pay");
|
|
|
FsPayConfig fsPayConfig = JSON.parseObject(json, FsPayConfig.class);
|
|
|
- List<FsStorePayment> fsStorePayments = fsStorePaymentMapper.selectFsStorePaymentByOrderId(order.getId());
|
|
|
+ List<FsStorePayment> fsStorePayments = fsStorePaymentMapper.selectFsStorePaymentByOrderIdNew(order.getId());
|
|
|
FsStorePayment storePayment;
|
|
|
if(CollectionUtils.isEmpty(fsStorePayments)){
|
|
|
storePayment=new FsStorePayment();
|
|
@@ -2922,7 +2922,7 @@ public class FsStoreOrderServiceImpl implements IFsStoreOrderService
|
|
|
String payCode = IdUtil.getSnowflake(0, 0).nextIdStr();
|
|
|
String json = configService.selectConfigByKey("store.pay");
|
|
|
FsPayConfig fsPayConfig = JSON.parseObject(json, FsPayConfig.class);
|
|
|
- List<FsStorePayment> fsStorePayments = fsStorePaymentMapper.selectFsStorePaymentByOrderId(order.getId());
|
|
|
+ List<FsStorePayment> fsStorePayments = fsStorePaymentMapper.selectFsStorePaymentByOrderIdNew(order.getId());
|
|
|
|
|
|
FsStorePayment storePayment;
|
|
|
if(CollectionUtils.isEmpty(fsStorePayments)){
|