@@ -12,7 +12,7 @@ import lombok.Setter;
@Setter
@Getter
public class HospitalPlanPageVO extends Page {
-
+ private Long hospitalId;
private String planName;
@@ -26,6 +26,9 @@
plan_status as planStatus
FROM tran_plan u
WHERE u.is_deleted = 'N'
+ <if test="hospitalId !=null">
+ and hospital_id =#{hospitalId}
+ </if>
<if test="planName != null and planName =''">
AND UPPER(u.plan_name) LIKE CONCAT('%', UPPER(trim(#{planName})), '%')
</if>