| | |
| | | <include refid="selectGuideRepairOrderVo"/> |
| | | <where> |
| | | <if test="ids != null"> |
| | | and department_id IN |
| | | and guide_department_id IN |
| | | <foreach collection="ids" item="param" open="(" close=")" separator=","> |
| | | #{param} |
| | | </foreach> |
| | |
| | | select count(id) from automessage_guide_repair_order |
| | | <where> |
| | | <if test="ids != null"> |
| | | and department_id IN |
| | | and guide_department_id IN |
| | | <foreach collection="ids" item="param" open="(" close=")" separator=","> |
| | | #{param} |
| | | </foreach> |
| | |
| | | AND guide_user_id=#{guideUserId} |
| | | </if> |
| | | <if test="ids != null"> |
| | | and department_id IN |
| | | and guide_department_id IN |
| | | <foreach collection="ids" item="param" open="(" close=")" separator=","> |
| | | #{param} |
| | | </foreach> |
| | |
| | | automessage_guide_repair_order.state=#{state} |
| | | </if> |
| | | <if test="ids != null"> |
| | | and department_id IN |
| | | and guide_department_id IN |
| | | <foreach collection="ids" item="param" open="(" close=")" separator=","> |
| | | #{param} |
| | | </foreach> |