|
@@ -76,12 +76,14 @@ public interface SiMzDao {
|
|
|
@Delete("delete from t_mt_receipt where patient_id=#{patNo} and times=#{times} and receipt_no=#{receiptNo}")
|
|
|
void deleteCertainReceipt(@Param("patNo") String patNo, @Param("times") int times, @Param("receiptNo") int receiptNo);
|
|
|
|
|
|
- @Insert("insert into t_mt_receipt (patient_id, times, receipt_no, order_no, item_no, his_item_name, " +
|
|
|
- "his_item_code, fee_date, input_date, medi_item_type, charge_fee, price, quantity, drug_win, " +
|
|
|
- "input_staff, input_man, serial_no, yb_trans_flag, charge_type, bill_item_code, drug_unit) values (" +
|
|
|
- "#{patientId},#{times},#{receiptNo},#{orderNo},#{itemNo},#{drugName},#{chargeItemCode}," +
|
|
|
- "#{priceTime},#{chargeDate},#{mediItemType},#{chargeFee},#{price},#{quantity},#{drugWin}," +
|
|
|
- "#{doctorCode},#{doctorName},#{serialNo},0, #{groupNo},#{billItemCode},#{drugUnit})")
|
|
|
+ @Insert("insert into t_mt_receipt (patient_id,times,receipt_no,order_no,item_no, " +
|
|
|
+ "his_item_name,his_item_code,fee_date,input_date,medi_item_type,charge_fee, " +
|
|
|
+ "price,quantity,drug_win,input_staff,input_man,serial_no,yb_trans_flag,charge_type, " +
|
|
|
+ "bill_item_code,drug_unit,hosp_appr_flag) values (" +
|
|
|
+ "#{patientId},#{times},#{receiptNo},#{orderNo},#{itemNo},#{drugName}, " +
|
|
|
+ "#{chargeItemCode},#{priceTime},#{chargeDate},#{mediItemType},#{chargeFee}, " +
|
|
|
+ "#{price},#{quantity},#{drugWin},#{doctorCode},#{doctorName},#{serialNo},0, " +
|
|
|
+ "#{groupNo},#{billItemCode},#{drugUnit},#{hospApprFlag})")
|
|
|
void insertBatchedMtFeeInfo(MzReceipt param);
|
|
|
|
|
|
@Delete("delete from t_mt_receipt where patient_id=#{patientId} and times=#{times} and " +
|