|
@@ -2,6 +2,7 @@ package thyyxxk.wxservice_server.dao;
|
|
|
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
import org.apache.ibatis.annotations.Select;
|
|
|
+import thyyxxk.wxservice_server.entity.PureCodeName;
|
|
|
import thyyxxk.wxservice_server.entity.chronicdisease.CrmPatientMi;
|
|
|
|
|
|
@Mapper
|
|
@@ -12,4 +13,7 @@ public interface ChronicDiseaseDao {
|
|
|
"tj_no as hisTjNo,district_code,rtrim(phone_no) as relTel " +
|
|
|
"from mz_patient_mi where patient_id=#{patNo} ")
|
|
|
CrmPatientMi selectPatientBaseInfo(String patNo);
|
|
|
+
|
|
|
+ @Select("select parent_code as code,name from t_region where code=#{code}")
|
|
|
+ PureCodeName selectParentRegion(String code);
|
|
|
}
|