| | |
| | | and r.rework_id regexp #{rework.reworkId} |
| | | </if> |
| | | <if test="rework.reworkTeam != null and rework.reworkTeam != ''"> |
| | | and r.rework_team regexp #{rework.reworkTeam} |
| | | and r.rework_team like concat('%', #{rework.reworkTeam}, '%') |
| | | </if> |
| | | <if test="rework.orderId != null and rework.orderId != ''"> |
| | | and r.order_id regexp #{rework.orderId} |
| | |
| | | and ogd.glass_address regexp #{rework.glassAddress} |
| | | </if> |
| | | <if test="rework.responsibleTeam != null and rework.responsibleTeam != ''"> |
| | | and r.responsible_team regexp #{rework.responsibleTeam} |
| | | and r.responsible_team like concat('%', #{rework.responsibleTeam}, '%') |
| | | </if> |
| | | <if test="rework.responsibleEquipment != null and rework.responsibleEquipment != ''"> |
| | | and r.responsible_equipment regexp #{rework.responsibleEquipment} |
| | |
| | | and r.rework_processes regexp #{rework.reworkProcesses} |
| | | </if> |
| | | <if test="rework.reviewer != null and rework.reviewer != ''"> |
| | | and r.reviewer regexp #{rework.reviewer} |
| | | and r.reviewer like concat('%', #{rework.reviewer}, '%') |
| | | </if> |
| | | </where> |
| | | order by r.review_status,r.id desc limit #{offset},#{pageSize}; |
| | |
| | | and r.rework_id regexp #{rework.reworkId} |
| | | </if> |
| | | <if test="rework.reworkTeam != null and rework.reworkTeam != ''"> |
| | | and r.rework_team regexp #{rework.reworkTeam} |
| | | and r.rework_team like concat('%', #{rework.reworkTeam}, '%') |
| | | </if> |
| | | <if test="rework.orderId != null and rework.orderId != ''"> |
| | | and r.order_id regexp #{rework.orderId} |
| | |
| | | and ogd.glass_address regexp #{rework.glassAddress} |
| | | </if> |
| | | <if test="rework.responsibleTeam != null and rework.responsibleTeam != ''"> |
| | | and r.responsible_team regexp #{rework.responsibleTeam} |
| | | and r.responsible_team like concat('%', #{rework.responsibleTeam}, '%') |
| | | </if> |
| | | <if test="rework.responsibleEquipment != null and rework.responsibleEquipment != ''"> |
| | | and r.responsible_equipment regexp #{rework.responsibleEquipment} |
| | |
| | | and r.rework_processes regexp #{rework.reworkProcesses} |
| | | </if> |
| | | <if test="rework.reviewer != null and rework.reviewer != ''"> |
| | | and r.reviewer regexp #{rework.reviewer} |
| | | and r.reviewer like concat('%', #{rework.reviewer}, '%') |
| | | </if> |
| | | </where> |
| | | ) as zu; |