package com.hzya.frame.mdm.mdmModuleDbFiledsRule.dao.impl;

import com.hzya.frame.mdm.mdmModuleDbFiledsRule.entity.MdmModuleDbFiledsRuleEntity;
import com.hzya.frame.mdm.mdmModuleDbFiledsRule.dao.IMdmModuleDbFiledsRuleDao;
import org.springframework.stereotype.Repository;
import com.hzya.frame.basedao.dao.MybatisGenericDao;

import java.util.List;
import java.util.Map;

/**
 * 模版数据库字段规则表(MdmModuleDbFiledsRule)表数据库访问层
 *
 * @author makejava
 * @since 2024-06-03 08:47:10
 */
@Repository(value = "MdmModuleDbFiledsRuleDaoImpl")
public class MdmModuleDbFiledsRuleDaoImpl extends MybatisGenericDao<MdmModuleDbFiledsRuleEntity, String> implements IMdmModuleDbFiledsRuleDao{

    @Override
    public Integer queryUserMdm(MdmModuleDbFiledsRuleEntity queryCount) {
        Integer o = (Integer) super.selectOne(getSqlIdPrifx() + "queryUserMdm", queryCount);
        return o;
    }

    @Override
    public List<MdmModuleDbFiledsRuleEntity> queryServiceQuote(Map<String, String> maps) {
        List<MdmModuleDbFiledsRuleEntity> o = (List<MdmModuleDbFiledsRuleEntity>) super.selectList(getSqlIdPrifx() + "queryServiceQuote", maps);
        return o;
    }
}

