|
@@ -162,11 +162,10 @@ public interface DismissDao {
|
|
|
@Param("times") Integer times,
|
|
|
@Param("ledgerSn") int ledgerSn);
|
|
|
|
|
|
- @Delete("delete from zy_receipt where inpatient_no=#{patNo} and admiss_times=#{times} and ledger_sn=#{ledgerSn}")
|
|
|
- void deleteZyReceipt(@Param("patNo") String patNo,
|
|
|
- @Param("times") int times,
|
|
|
- @Param("ledgerSn") int ledgerSn);
|
|
|
-
|
|
|
+ @Select("select count(1) from zy_receipt where inpatient_no=#{patNo} and admiss_times=#{times} and ledger_sn=#{ledgerSn}")
|
|
|
+ int selectReceiptCount(@Param("patNo") String patNo,
|
|
|
+ @Param("times") int times,
|
|
|
+ @Param("ledgerSn") int ledgerSn);
|
|
|
|
|
|
@Insert("insert into zy_receipt (inpatient_no,admiss_times,ledger_sn,receipt_sn,receipt_no," +
|
|
|
"account_date,date_1,date_2,ward,dept,print_date,responce_unit,op_id_code,total_charge," +
|