| | |
| | | #{param} |
| | | </foreach> |
| | | </if> |
| | | <if test="guideUserId != null and guideUserId != ''"> |
| | | AND a.guide_user_id=#{guideUserId} |
| | | </if> |
| | | </where> |
| | | order by update_time desc , create_time desc |
| | | </select> |
| | |
| | | <foreach collection="ids" item="param" open="(" close=")" separator=","> |
| | | #{param} |
| | | </foreach> |
| | | </if> |
| | | <if test="guideUserId != null and guideUserId != ''"> |
| | | AND a.guide_user_id=#{guideUserId} |
| | | </if> |
| | | </where> |
| | | </select> |
| | |
| | | <if test="evaluateState != null and evaluateState != ''"> |
| | | and evaluate_state=#{evaluateState} |
| | | </if> |
| | | <if test="guideUserId != null and guideUserId != ''"> |
| | | AND guide_user_id=#{guideUserId} |
| | | </if> |
| | | <if test="ids != null"> |
| | | and department_id IN |
| | | <foreach collection="ids" item="param" open="(" close=")" separator=","> |