package thyyxxk.webserver.dao.his.dictionary;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.*;
import thyyxxk.webserver.entity.dictionary.CodeName;
import thyyxxk.webserver.entity.dictionary.medicaltechnology.MedicalTechnologyItem;

import java.util.List;

@Mapper
public interface MedicalTechnologyDao extends BaseMapper<MedicalTechnologyItem> {
    @Select("select code,name from zd_unit_code where code not like '3%' " +
            "and code not like '8%' and class_code in (1,2) and del_flag=0")
    List<CodeName> getDeptSelections();
}
