|
@@ -93,7 +93,7 @@ public class UserPayCS {
|
|
|
LoginUser user = loginUserService.getById(successParams.getBills().getPayId());
|
|
LoginUser user = loginUserService.getById(successParams.getBills().getPayId());
|
|
|
Bills bills = billsService.getById(successParams.getBills().getId());
|
|
Bills bills = billsService.getById(successParams.getBills().getId());
|
|
|
//回调已处理,忽略后续回调
|
|
//回调已处理,忽略后续回调
|
|
|
- if (!Objects.equals(bills.getPayStatus(), AppConstant.BillPayStatus.付款成功.name())) {
|
|
|
|
|
|
|
+ if (!bills.isCsFlag()) {
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -141,7 +141,8 @@ public class UserPayCS {
|
|
|
UserChannelPoint channelPoint = (UserChannelPoint) tenantEntities.get(1);
|
|
UserChannelPoint channelPoint = (UserChannelPoint) tenantEntities.get(1);
|
|
|
pointBills = (PointBills) tenantEntities.get(0);
|
|
pointBills = (PointBills) tenantEntities.get(0);
|
|
|
balanceBills = handleBalanceBills(balanceBills, user);
|
|
balanceBills = handleBalanceBills(balanceBills, user);
|
|
|
- bills.setPayStatus(AppConstant.BillPayStatus.已完结.name());
|
|
|
|
|
|
|
+// bills.setPayStatus(AppConstant.BillPayStatus.已完结.name());
|
|
|
|
|
+ bills.setCsFlag(true);
|
|
|
Shop shop = updateShopBalance(bills, ypSettleAmount);
|
|
Shop shop = updateShopBalance(bills, ypSettleAmount);
|
|
|
|
|
|
|
|
List<TenantEntity> handleSendPointBills = handleSendPointBills(channelPoint, bills, user);
|
|
List<TenantEntity> handleSendPointBills = handleSendPointBills(channelPoint, bills, user);
|