| | |
| | | <otherwise> |
| | | and |
| | | ( |
| | | <if test="userId != null and userId != ''"> |
| | | user_id = #{userId} |
| | | </if> |
| | | <if test="userId == null or userId == ''"> |
| | | user_id is not null |
| | | </if> |
| | | or |
| | | mc.id in |
| | | ( |
| | |
| | | <otherwise> |
| | | and |
| | | ( |
| | | <if test="userId != null and userId != ''"> |
| | | user_id = #{userId} |
| | | </if> |
| | | <if test="userId == null or userId == ''"> |
| | | user_id is not null |
| | | </if> |
| | | or |
| | | director = #{userId} |
| | | or |
| | |
| | | <otherwise> |
| | | and |
| | | ( |
| | | <if test="userId != null and userId != ''"> |
| | | user_id = #{userId} |
| | | </if> |
| | | <if test="userId == null or userId == ''"> |
| | | user_id is not null |
| | | </if> |
| | | or |
| | | director = #{userId} |
| | | or |
| | | mc.id in |
| | |
| | | <otherwise> |
| | | and |
| | | ( |
| | | <if test="userId != null and userId != ''"> |
| | | user_id = #{userId} |
| | | </if> |
| | | <if test="userId == null or userId == ''"> |
| | | user_id is not null |
| | | </if> |
| | | or |
| | | director = #{userId} |
| | | or |
| | |
| | | <otherwise> |
| | | and |
| | | ( |
| | | <if test="userId != null and userId != ''"> |
| | | user_id = #{userId} |
| | | </if> |
| | | <if test="userId == null or userId == ''"> |
| | | user_id is not null |
| | | </if> |
| | | or |
| | | director = #{userId} |
| | | or |
| | |
| | | <otherwise> |
| | | and |
| | | ( |
| | | <if test="userId != null and userId != ''"> |
| | | user_id = #{userId} |
| | | </if> |
| | | <if test="userId == null or userId == ''"> |
| | | user_id is not null |
| | | </if> |
| | | or |
| | | mc.id in |
| | | ( |