package thyyxxk.webserver.dao.his.chronicDisease; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import thyyxxk.webserver.entity.dictionary.CodeName; import java.util.List; @Mapper public interface ChronicDiseaseDao { @Select("select rtrim(code) as code, rtrim(name) as name from crm_zd_visit_type with(nolock)") List getCrmClass(); @Select("select rtrim(code) as code, rtrim(name) as name from t_region with(nolock) where level = '1' ") List getProvince(); @Select(" ") List getCity(@Param("parentCode") String parentCode); @Select(" ") List getArea(@Param("parentCode") String parentCode); @Select("select rtrim(code) as code, rtrim(name) as name from t_zd_psn_cert_type ") List getPsnCertType(); @Select("select rtrim(code) as code, rtrim(name) as name from crm_zd_admiss_way ") List getAdmissWay(); }