|
@@ -73,6 +73,10 @@ public interface DismissDao {
|
|
|
"and status_flag='1' and page_no=0")
|
|
|
int hasUnSubmitDrugList(@Param("patNo") String patNo, @Param("times") Integer times);
|
|
|
|
|
|
+ @Select("select count(1) from yz_act_order_cy where inpatient_no=#{patNo} " +
|
|
|
+ "and admiss_times=#{times} and status_flag='3'")
|
|
|
+ int hasUnDeliverHerbal(@Param("patNo") String patNo, @Param("times") Integer times);
|
|
|
+
|
|
|
@Select("select b.group_name,pageNo=cast(a.page_no as decimal),a.page_no_ty " +
|
|
|
"from yz_yp_zy_order a with(nolock),yp_zd_group_name b with(nolock) where a.inpatient_no=#{patNo} " +
|
|
|
"and a.admiss_times=#{times} and (a.amount>0 or (a.amount<0 and a.drug_class!='d')) and " +
|