mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 18:28:43 +08:00 
			
		
		
		
	code review 支付问题
This commit is contained in:
		| @@ -109,6 +109,7 @@ public class PayAppController { | ||||
|         // 得到所有的应用编号,查出所有的通道 | ||||
|         Collection<Long> payAppIds = CollectionUtils.convertList(pageResult.getList(), PayAppDO::getId); | ||||
|         List<PayChannelDO> channels = channelService.getChannelListByAppIds(payAppIds); | ||||
|         // TODO @aquan:可以基于 appId 简历一个 multiMap。这样下面,直接 get 到之后,CollUtil buildSet 即可 | ||||
|         Iterator<PayChannelDO> iterator = channels.iterator(); | ||||
|  | ||||
|         // 得到所有的商户信息 | ||||
|   | ||||
| @@ -181,10 +181,9 @@ public class PayAppServiceImpl implements PayAppService { | ||||
|             throw exception(PAY_APP_EXIST_TRANSACTION_ORDER_CANT_DELETE); | ||||
|         } | ||||
|         // 查看退款订单 | ||||
|         if (refundMapper.selectCount(appId,   PayRefundStatusEnum.CREATE.getStatus()) > 0) { | ||||
|         if (refundMapper.selectCount(appId, PayRefundStatusEnum.CREATE.getStatus()) > 0) { | ||||
|             throw exception(PAY_APP_EXIST_TRANSACTION_ORDER_CANT_DELETE); | ||||
|         } | ||||
|  | ||||
|     } | ||||
|  | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV