|
@@ -57,10 +57,13 @@ public interface SiMzDao {
|
|
|
@Param("ledgerSn") int ledgerSn);
|
|
|
|
|
|
@Update("update t_si_pat_info set insuplc_admdvs=#{insuplcAdmdvs},psn_type=#{psnType},emp_name=#{empName}," +
|
|
|
- "mdtrt_id=#{mdtrtId},insutype=#{insutype},visit_datetime=#{visitDate},balc=#{balc},med_type=#{medType} " +
|
|
|
+ "mdtrt_id=#{mdtrtId},insutype=#{insutype},visit_datetime=#{visitDate},balc=#{balc} " +
|
|
|
"where pat_no=#{patNo} and times=#{times} ")
|
|
|
void afterRegistrtn(MzPatientInfo p);
|
|
|
|
|
|
+ @Update("update t_si_pat_info set med_type=#{medtype} where pat_no=#{patNo} and times=#{times}")
|
|
|
+ void updateMedtype(@Param("medtype") String medtype, @Param("patNo") String patNo, @Param("times") int times);
|
|
|
+
|
|
|
@Select("select feedetlSn=(patient_id + '_' + cast(times as varchar) + '_' + cast(receipt_no as varchar) + '_' + " +
|
|
|
"cast(order_no as varchar) + '_' + cast(item_no as varchar)), " +
|
|
|
"receipt_no as rxno, input_date as feeOcurTime, " +
|