|
@@ -605,6 +605,9 @@
|
|
<if test="search != null and search != ''">
|
|
<if test="search != null and search != ''">
|
|
AND (aum.activity_id_ = #{search} OR aum.add_memo_ LIKE CONCAT('%',#{search},'%'))
|
|
AND (aum.activity_id_ = #{search} OR aum.add_memo_ LIKE CONCAT('%',#{search},'%'))
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="userId != null">
|
|
|
|
+ AND aum.user_id_ = #{userId}
|
|
|
|
+ </if>
|
|
<if test="organId != null and organId != ''">
|
|
<if test="organId != null and organId != ''">
|
|
AND FIND_IN_SET(su.organ_id_,#{organId})
|
|
AND FIND_IN_SET(su.organ_id_,#{organId})
|
|
</if>
|
|
</if>
|