|
@@ -125,14 +125,15 @@ public interface SiMzDao {
|
|
|
int selectSiMzInfoCount(@Param("patNo") String patNo,
|
|
|
@Param("times") int times);
|
|
|
|
|
|
- @Update("update t_si_pat_info set insutype=#{insutype} where pat_no=#{patNo} and times=#{times}")
|
|
|
+ @Update("update t_si_pat_info set insutype=#{insutype},balc=#{balc} where pat_no=#{patNo} and times=#{times}")
|
|
|
void updateSiZyInfoPsnNo(@Param("patNo") String patNo,
|
|
|
@Param("times") int times,
|
|
|
- @Param("insutype") String insutype);
|
|
|
+ @Param("insutype") String insutype,
|
|
|
+ @Param("balc") String balc);
|
|
|
|
|
|
@Insert("insert into t_si_pat_info (pat_no, times, ledger_sn, psn_no, psn_cert_type, insutype, insuplc_admdvs, " +
|
|
|
- "certno, psn_name, gend, naty, brdy, age, med_type, psn_idet_type,psn_type,emp_name, create_datetime) " +
|
|
|
+ "certno, psn_name, gend, naty, brdy, age, med_type, psn_idet_type,psn_type,emp_name, create_datetime, balc) " +
|
|
|
"values (#{patNo},#{times},#{ledgerSn},#{psnNo},#{psnCertType},#{insutype},#{insuplc},#{certno}," +
|
|
|
- "#{psnName},#{gend},#{naty},#{brdy},#{age},#{medType},#{psnIdetType},#{psnType},#{empName},getdate())")
|
|
|
+ "#{psnName},#{gend},#{naty},#{brdy},#{age},#{medType},#{psnIdetType},#{psnType},#{empName},getdate(),#{balc})")
|
|
|
void insertSiMzInfoPsnNo(PsnBaseInfo psnBaseinfo);
|
|
|
}
|