package com.njcn.msgpush.module.push.service.credential;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.njcn.msgpush.module.push.dal.dataobject.credential.SystemSecretDO;
import com.njcn.msgpush.module.push.dal.mysql.credential.SystemSecretMappper;
import org.springframework.stereotype.Service;

/**
 * @author caozehui
 * @data 2026-04-09
 */
@Service
public class SystemSecretServiceImpl extends ServiceImpl<SystemSecretMappper, SystemSecretDO> implements ISystemSecretService {
    @Override
    public SystemSecretDO getBySystemName(String systemName) {
        return this.lambdaQuery().eq(SystemSecretDO::getSystemName, systemName).one();
    }
}
