|
@@ -62,15 +62,12 @@ 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}," +
|
|
|
|
|
|
+ @Update("update t_si_pat_info set insuplc_admdvs=#{insuplcAdmdvs},med_type=#{medType},matn_type=#{matnType}," +
|
|
"psn_type=#{psnType},emp_name=#{empName},insuplc_admdvs_name=#{insuplcAdmdvsName}," +
|
|
"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);
|
|
|
|
|
|
- @Update("update t_si_pat_info set med_type=#{medtype} where pat_no=#{patNo} and times=#{times}")
|
|
|
|
- void updateMedtype(String medtype, String patNo, int times);
|
|
|
|
-
|
|
|
|
@Select("select feedetlSn=(patient_id + '_' + cast(times as varchar) + '_' + cast(receipt_no as varchar) + '_' + " +
|
|
@Select("select feedetlSn=(patient_id + '_' + cast(times as varchar) + '_' + cast(receipt_no as varchar) + '_' + " +
|
|
"cast(order_no as varchar) + '_' + cast(item_no as varchar)), " +
|
|
"cast(order_no as varchar) + '_' + cast(item_no as varchar)), " +
|
|
"receipt_no as rxno, input_date as feeOcurTime, " +
|
|
"receipt_no as rxno, input_date as feeOcurTime, " +
|