|
@@ -135,6 +135,9 @@ public interface SiMzDao {
|
|
|
@Param("insutype") String insutype,
|
|
|
@Param("balc") String balc);
|
|
|
|
|
|
+ @Select("select top 1 * from t_si_pat_info where pat_no=#{patNo} order by times desc")
|
|
|
+ PsnBaseInfo selectLatestPsnInfo(@Param("patNo") String patNo);
|
|
|
+
|
|
|
@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, balc) " +
|
|
|
"values (#{patNo},#{times},#{ledgerSn},#{psnNo},#{psnCertType},#{insutype},#{insuplc},#{certno}," +
|