|
|
@@ -49,6 +49,9 @@ public interface SiMzDao {
|
|
|
@Select("select count(1) from powersi_mip_setlinfo where med_org_ord=#{hisOrdNum} and ord_state='SETTLED'")
|
|
|
int selectMipayCount(String hisOrdNum);
|
|
|
|
|
|
+ @Select("select count(1) from t_injury_setlinfo where pat_no=#{patNo} and times=#{times} and revoked=0")
|
|
|
+ int selectInjuryCount(String patNo, int times);
|
|
|
+
|
|
|
@Select("select count(1) from t_mt_receipt where patient_id=#{patientId} and times=#{times} and " +
|
|
|
"receipt_no=#{receiptNo} and order_no=#{orderNo}")
|
|
|
int selectFeeCount(String patientId, int times, int receiptNo, int orderNo);
|