|
@@ -69,13 +69,12 @@ public interface DigitalReceiptDao {
|
|
|
"original_rx_file as rxFile from t_rx_precheck where hosp_rxno=#{hospRxno}")
|
|
|
RxUpload selectFullRxUploadInfo(String hospRxno);
|
|
|
|
|
|
- @Select("select " +
|
|
|
- "a.hi_rxno,fixmedinsCode='H43010500370', " +
|
|
|
- "drCode=b.yb_code,undoDrName=rtrim(b.name), " +
|
|
|
- "undoDrCertType='01',undoDrCertno=rtrim(b.social_no), " +
|
|
|
+ @Select("select hi_rxno,fixmedinsCode='H43010500370', " +
|
|
|
+ "dr_code,undoDrName=prsc_dr_name,undoDrCertType='01'," +
|
|
|
+ "undoDrCertno=(select rtrim(max(d.social_no)) from a_employee_mi d where " +
|
|
|
+ "d.yb_code=dr_code and isnull(d.del_flag,0)!='1'), " +
|
|
|
"undoTime=getdate(),undoRea=N'处方有修改' " +
|
|
|
- "from t_rx_precheck a, a_employee_mi b " +
|
|
|
- "where a.hosp_rxno=#{hospRxno} and b.code=#{staffId}")
|
|
|
+ "from t_rx_precheck where hosp_rxno=#{hospRxno}")
|
|
|
RxRevoke selectRxRevoke(RxRevokeRequest request);
|
|
|
|
|
|
@Select("select fixmedinsCode='H43010500370',hi_rxno, " +
|