package com.hzya.frame.sysnew.organ.dao.impl;

import com.hzya.frame.sysnew.organ.entity.SysOrganEntity;
import com.hzya.frame.sysnew.organ.dao.ISysOrganDao;
import org.springframework.stereotype.Repository;
import com.hzya.frame.basedao.dao.MybatisGenericDao;

import java.util.List;

/**
 * 组织机构表(Sys_Organ)(SysOrgan)表数据库访问层
 *
 * @author makejava
 * @since 2024-03-26 15:24:27
 */
@Repository(value = "SysOrganDaoImpl")
public class SysOrganDaoImpl extends MybatisGenericDao<SysOrganEntity, String> implements ISysOrganDao {

    @Override
    public List<SysOrganEntity> queryUserCompany(SysOrganEntity sysOrganEntity) {
        List<SysOrganEntity> o = super.query(getSqlIdPrifx() + "queryUserCompany", sysOrganEntity);
        return o;
    }
}

