|
@@ -194,6 +194,15 @@
|
|
|
<sql id="queryPageSql">
|
|
|
<where>
|
|
|
sesa.del_flag_ = 0
|
|
|
+ <if test="enable != null">
|
|
|
+ AND sesc.enable_ = #{enable}
|
|
|
+ </if>
|
|
|
+ <if test="parentId != null">
|
|
|
+ AND sesc.parent_id_ = #{parentId}
|
|
|
+ </if>
|
|
|
+ <if test="organId != null and organId != ''">
|
|
|
+ AND INTE_ARRAY(#{organId},sesc.organ_id_)
|
|
|
+ </if>
|
|
|
<if test="search != null and search != ''">
|
|
|
AND (sesa.id_ = #{search} OR ses.name_ LIKE CONCAT('%',#{search},'%'))
|
|
|
</if>
|