| | |
| | | <if test="params.inspectionEndTime != null"> |
| | | and t1.actual_end_time <= #{params.inspectionEndTime} |
| | | </if> |
| | | <if test="params.workCenterIds != null"> |
| | | and t2.work_center_id in |
| | | <foreach collection="params.workCenterIds" open="(" separator="," close=")" item="workCenterId"> |
| | | #{workCenterId} |
| | | </foreach> |
| | | </if> |
| | | <if test="params.equipmentId != null"> |
| | | and t1.equipment_id = #{params.equipmentId} |
| | | </if> |
| | | <if test="params.statusEnums != null"> |
| | | and t1.status not in |
| | | <foreach collection="params.statusEnums" open="(" separator="," close=")" item="statusEnum"> |
| | | #{statusEnum} |
| | | </foreach> |
| | | </if> |
| | | ORDER BY t1.create_time desc |
| | | </select> |
| | | |