|
|
@@ -46,15 +46,6 @@ public interface SiMzDao {
|
|
|
"where pat_no=#{patNo} and times=#{times} ")
|
|
|
void afterRegistrtn(MzPatientInfo p);
|
|
|
|
|
|
- @Select("select count(1) from mt_part_info where patient_id=#{patNo} and times=#{times}")
|
|
|
- int selectMtPartCount(@Param("patNo") String patNo, @Param("times") int times);
|
|
|
-
|
|
|
- @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, create_datetime) values "+
|
|
|
- "(#{patientId},#{times},null,null,#{bizType},'03',#{hicNo},#{icdCode},#{icdName}," +
|
|
|
- "#{secondIcdCode},#{thirdIcdCode},#{mzSerialNo},getdate())")
|
|
|
- void insertMtPartInfo(MtPartInfo info);
|
|
|
-
|
|
|
@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, " +
|