package com.njcn.cssystem.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.njcn.cssystem.mapper.AppBaseInformationMapper;
import com.njcn.cssystem.pojo.po.AppBaseInformationPO;
import com.njcn.cssystem.service.AppBaseInformationService;
import org.springframework.stereotype.Service;

/**
 * 
 * Description:
 * 接口文档访问地址：http://serverIP:port/swagger-ui.html
 * Date: 2023/4/3  19:17【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Service
public class AppBaseInformationServiceImpl extends ServiceImpl<AppBaseInformationMapper, AppBaseInformationPO> implements AppBaseInformationService {

    @Override
    public AppBaseInformationPO getByType(String type) {

        return this.lambdaQuery().eq(AppBaseInformationPO::getType,type).one();
    }
}
