| 12345678910111213141516171819202122232425 |
- package com.kym.service.impl;
- import com.kym.entity.InvestorAccount;
- import com.kym.mapper.InvestorAccountMapper;
- import com.kym.service.InvestorAccountService;
- import com.kym.service.cache.KymCache;
- import com.kym.service.mybatisplus.MyBaseServiceImpl;
- import org.springframework.stereotype.Service;
- /**
- * <p>
- * 商户账户表 服务实现类
- * </p>
- *
- * @author skyline
- * @since 2025-02-24
- */
- @Service
- public class InvestorAccountServiceImpl extends MyBaseServiceImpl<InvestorAccountMapper, InvestorAccount> implements InvestorAccountService {
- @Override
- public InvestorAccount getInvestorAccount(String stationId) {
- return lambdaQuery().eq(InvestorAccount::getAdminUserId, KymCache.INSTANCE.getInvestorAdminUserIdByStationId(stationId)).one();
- }
- }
|