This commit is contained in:
2023-06-28 10:33:50 +08:00
parent 02a26f769c
commit cf321e6808
4 changed files with 65 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ import com.jsowell.pile.domain.PileStationInfo;
import com.jsowell.pile.mapper.AdapayMemberAccountMapper;
import com.jsowell.pile.service.IAdapayMemberAccountService;
import com.jsowell.pile.service.IPileStationInfoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@@ -19,6 +20,7 @@ import java.util.List;
* @author jsowell
* @date 2023-06-15
*/
@Slf4j
@Service
public class AdapayMemberAccountServiceImpl implements IAdapayMemberAccountService {
@Autowired
@@ -119,6 +121,7 @@ public class AdapayMemberAccountServiceImpl implements IAdapayMemberAccountServi
}
AdapayMemberAccount adapayMemberAccount = selectByMerchantId(pileStationInfo.getMerchantId() + "");
if (adapayMemberAccount == null) {
log.error("通过merchantId:{}, 没有查询到结算账户配置", pileStationInfo.getMerchantId());
return null;
}
return adapayMemberAccount.getAdapayMemberId();