瀏覽代碼

新增门特记录生成时间

lighter 3 年之前
父節點
當前提交
f937a71020
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      src/main/java/thyyxxk/webserver/dao/his/markmtfees/MarkMtFeesDao.java

+ 6 - 6
src/main/java/thyyxxk/webserver/dao/his/markmtfees/MarkMtFeesDao.java

@@ -47,8 +47,8 @@ public interface MarkMtFeesDao {
     void clearMtPartInfo(@Param("patientId") String patientId,
                          @Param("times") Integer times);
 
-    @Insert("insert into mt_part_info (patient_id, times, icd, balance, serial_apply, responce_type) "+
-            "values (#{patientId},#{times},#{icd},#{balance},#{apply}, '02')")
+    @Insert("insert into mt_part_info (patient_id, times, icd, balance, serial_apply, responce_type, create_datetime) "+
+            "values (#{patientId},#{times},#{icd},#{balance},#{apply},'02',getdate())")
     void insertHnsybMtPartInfo(@Param("patientId") String patientId,
                                @Param("times") Integer times,
                                @Param("icd") String icd,
@@ -56,9 +56,9 @@ public interface MarkMtFeesDao {
                                @Param("apply") String apply);
 
     @Insert("insert into mt_part_info (patient_id, times, icd, balance, serial_apply, responce_type, " +
-            "hic_no, icd_code, icd_name, second_icd_code, third_icd_code, mz_serial_no) values "+
+            "hic_no, icd_code, icd_name, second_icd_code, third_icd_code, mz_serial_no, create_datetime) values "+
             "(#{patientId},#{times},null,null,#{bizType},'03',#{hicNo},#{icdCode},#{icdName}," +
-            "#{secondIcdCode},#{thirdIcdCode},#{mzSerialNo})")
+            "#{secondIcdCode},#{thirdIcdCode},#{mzSerialNo},getdate())")
     void insertCssybMtPartInfo(CssybApplyInfo info);
 
     @Select("select count(1) from t_mt_receipt where patient_id=#{patientId} and times=#{times} and " +
@@ -128,9 +128,9 @@ public interface MarkMtFeesDao {
     MtPartInfo selectLatestMtPartInfo(@Param("patientId") String patientId);
 
     @Insert("insert into mt_part_info (patient_id, times, icd, balance, serial_apply, responce_type, " +
-            "hic_no, icd_code, icd_name, second_icd_code, third_icd_code, mz_serial_no) values "+
+            "hic_no, icd_code, icd_name, second_icd_code, third_icd_code, mz_serial_no, create_datetime) values "+
             "(#{patientId},#{times},#{icd},#{balance},#{serialApply},#{responceType},#{hicNo},#{icdCode},#{icdName}," +
-            "#{secondIcdCode},#{thirdIcdCode},#{mzSerialNo})")
+            "#{secondIcdCode},#{thirdIcdCode},#{mzSerialNo},getdate())")
     void insertNewPartInfo(MtPartInfo info);
 
 }