|
@@ -55,7 +55,8 @@ public interface SiMzDao {
|
|
"pat_no=#{patNo} and times=#{times} and ledger_sn=#{ledgerSn}")
|
|
"pat_no=#{patNo} and times=#{times} and ledger_sn=#{ledgerSn}")
|
|
String selectAdmdvs(String patNo, int times, int ledgerSn);
|
|
String selectAdmdvs(String patNo, int times, int ledgerSn);
|
|
|
|
|
|
- @Update("update t_si_pat_info set insuplc_admdvs=#{insuplcAdmdvs},psn_type=#{psnType},emp_name=#{empName}," +
|
|
|
|
|
|
+ @Update("update t_si_pat_info set insuplc_admdvs=#{insuplcAdmdvs}," +
|
|
|
|
+ "psn_type=#{psnType},emp_name=#{empName},insuplc_admdvs_name=#{insuplcAdmdvsName}," +
|
|
"mdtrt_id=#{mdtrtId},insutype=#{insutype},visit_datetime=#{visitDate},balc=#{balc} " +
|
|
"mdtrt_id=#{mdtrtId},insutype=#{insutype},visit_datetime=#{visitDate},balc=#{balc} " +
|
|
"where pat_no=#{patNo} and times=#{times} ")
|
|
"where pat_no=#{patNo} and times=#{times} ")
|
|
void afterRegistrtn(MzPatientInfo p);
|
|
void afterRegistrtn(MzPatientInfo p);
|
|
@@ -170,4 +171,7 @@ public interface SiMzDao {
|
|
|
|
|
|
@Select("select rtrim(social_no) from mz_patient_mi where patient_id=#{patNo}")
|
|
@Select("select rtrim(social_no) from mz_patient_mi where patient_id=#{patNo}")
|
|
String selectSocialNo(String patNo);
|
|
String selectSocialNo(String patNo);
|
|
|
|
+
|
|
|
|
+ @Select("select insuplc_admdvs_name from t_si_pat_info where mdtrt_id=#{mdtrtId}")
|
|
|
|
+ String getInsuplcAdmdvsName(String mdtrtId);
|
|
}
|
|
}
|