|
|
@@ -41,7 +41,7 @@ public interface MedicalLaboratoryDao extends BaseMapper<MedicalLaboratoryState>
|
|
|
"on a.req_no=b.top_req_no, ysh_yj_req c " +
|
|
|
"where a.req_no not like '%|%' " +
|
|
|
"and a.req_no=c.req_no and category='JC' and pat_type='INPATIENT' " +
|
|
|
- "and crb_upload_status=0 and report_state='PUBLISHED' " +
|
|
|
+ "and a.crb_upload_status=0 and report_state='PUBLISHED' " +
|
|
|
"and datediff(day,publish_time,getdate())=1")
|
|
|
List<EmrExClinical> getZyJcList();
|
|
|
|
|
|
@@ -68,7 +68,7 @@ public interface MedicalLaboratoryDao extends BaseMapper<MedicalLaboratoryState>
|
|
|
"on a.req_no=b.top_req_no, mz_yj_req c " +
|
|
|
"where a.req_no not like '%|%' " +
|
|
|
"and a.req_no=c.req_no and category='JC' and pat_type='OUTPATIENT' " +
|
|
|
- "and crb_upload_status=0 and report_state='PUBLISHED' " +
|
|
|
+ "and a.crb_upload_status=0 and report_state='PUBLISHED' " +
|
|
|
"and datediff(day,publish_time,getdate())=1 ")
|
|
|
List<EmrExClinical> getMzJcList();
|
|
|
|