|
@@ -51,6 +51,12 @@ public interface YzExecuteSignDao {
|
|
|
" <if test=\" startBedNo !=null and startBedNo !='' \">" +
|
|
|
" AND zy_actpatient.bed_no >= cast(#{startBedNo} as float)\n" +
|
|
|
" </if>" +
|
|
|
+ " <if test=\"frequCode == 'ALWAYS'\">" +
|
|
|
+ " AND yz_act_order.frequ_code != 'ONCE'\n" +
|
|
|
+ " </if>" +
|
|
|
+ " <if test=\"frequCode == 'ONCE'\">" +
|
|
|
+ " AND yz_act_order.frequ_code = 'ONCE'\n" +
|
|
|
+ " </if>" +
|
|
|
" <if test=\" endBedNo !=null and endBedNo !='' \">" +
|
|
|
" AND zy_actpatient.bed_no <= cast(#{endBedNo} as float)\n" +
|
|
|
" </if>" +
|
|
@@ -78,6 +84,12 @@ public interface YzExecuteSignDao {
|
|
|
" <if test=\" startBedNo !=null and startBedNo !='' \">" +
|
|
|
" AND zy_actpatient.bed_no >= cast(#{startBedNo} as float)\n" +
|
|
|
" </if>" +
|
|
|
+ " <if test=\"frequCode == 'ALWAYS'\">" +
|
|
|
+ " AND yz_act_order.frequ_code != 'ONCE'\n" +
|
|
|
+ " </if>" +
|
|
|
+ " <if test=\"frequCode == 'ONCE'\">" +
|
|
|
+ " AND yz_act_order.frequ_code = 'ONCE'\n" +
|
|
|
+ " </if>" +
|
|
|
" <if test=\" endBedNo !=null and endBedNo !='' \">" +
|
|
|
" AND zy_actpatient.bed_no <= cast(#{endBedNo} as float)\n" +
|
|
|
" </if>" +
|