|
@@ -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);
|
|
|
|
|
|
}
|