|
@@ -4,6 +4,7 @@ import org.apache.ibatis.annotations.Mapper;
|
|
|
import org.apache.ibatis.annotations.Select;
|
|
|
import org.apache.ibatis.annotations.Update;
|
|
|
import thyyxxk.webserver.entity.medicalinsurance.digitalreceipt.*;
|
|
|
+import thyyxxk.webserver.entity.medicalinsurance.digitalreceipt.request.IndexInquiry;
|
|
|
import thyyxxk.webserver.entity.medicalinsurance.digitalreceipt.request.RxRevokeRequest;
|
|
|
import thyyxxk.webserver.entity.medicalinsurance.outpatient.MzPatientInfo;
|
|
|
|
|
@@ -16,8 +17,9 @@ public interface DigitalReceiptDao {
|
|
|
"a.prsc_time,state=isnull(c.rx_state,'NEW_RECEIPT') " +
|
|
|
"from t_rx_receiptinfo a,t_rx_mdtrtinfo b " +
|
|
|
"left join t_rx_precheck c on c.hosp_rxno=b.hosp_rxno " +
|
|
|
- "where a.hosp_rxno=b.hosp_rxno")
|
|
|
- List<RxIndex> getRxIndex();
|
|
|
+ "where a.hosp_rxno=b.hosp_rxno and a.prsc_time>=#{begintime} " +
|
|
|
+ "and a.prsc_time<=#{endtime} order by a.prsc_time desc ")
|
|
|
+ List<RxIndex> getRxIndex(IndexInquiry inquiry);
|
|
|
|
|
|
@Select("select original_rx_file from t_rx_precheck where hosp_rxno=#{hospRxno}")
|
|
|
String getRxFile(String hospRxno);
|