|  | @@ -37,16 +37,16 @@ public class PayMerchantServiceImpl extends ServiceImpl<PayMerchantMapper, PayMe
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  | -    public List<PayMerchantDTO> getByIds(List<Long> ids) {
 | 
	
		
			
				|  |  | -        if (CollectionUtils.isEmpty(ids)) {
 | 
	
		
			
				|  |  | -            log.error("参数错误, 商户id列表不存在");
 | 
	
		
			
				|  |  | +    public List<PayMerchantDTO> getByMerchantNos(List<String> merchantNoList) {
 | 
	
		
			
				|  |  | +        if (CollectionUtils.isEmpty(merchantNoList)) {
 | 
	
		
			
				|  |  | +            log.error("参数错误, 商户号列表不存在");
 | 
	
		
			
				|  |  |              throw new BaseException("参数错误, 商户id列表不存在");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          List<PayMerchant> payMerchantList = super.list(new LambdaQueryWrapper<PayMerchant>()
 | 
	
		
			
				|  |  | -                .in(PayMerchant::getId, ids)
 | 
	
		
			
				|  |  | +                .in(PayMerchant::getMerchantNo, merchantNoList)
 | 
	
		
			
				|  |  |                  .eq(PayMerchant::getMaxPayLock, 0));
 | 
	
		
			
				|  |  |          if (CollectionUtils.isEmpty(payMerchantList)) {
 | 
	
		
			
				|  |  | -            log.error("参数错误, 符合条件的商户不存在, ids : {}", ids);
 | 
	
		
			
				|  |  | +            log.error("参数错误, 符合条件的商户不存在, ids : {}", merchantNoList);
 | 
	
		
			
				|  |  |              throw new BaseException("参数错误, 符合条件的商户不存在");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          return BeanUtils.copyList(payMerchantList, PayMerchantDTO.class);
 |