| | |
| | | #{workCenterId} |
| | | </foreach> |
| | | </if> |
| | | <if test="equipmentId != null"> |
| | | and t1.equipment_id = #{equipmentId} |
| | | </if> |
| | | <if test="statusEnums != null"> |
| | | and t1.status not in |
| | | <foreach collection="statusEnums" open="(" separator="," close=")" item="statusEnum"> |
| | | #{statusEnum} |
| | | </foreach> |
| | | </if> |
| | | order by t1.create_time desc |
| | | </select> |
| | | |
| | |
| | | ) t4 ON t3.item_value = t4.repair_order_fault_analysis_uda2 |
| | | group by t3.item_text |
| | | </select> |
| | | |
| | | <update id="updateRepair" parameterType="String"> |
| | | UPDATE mom_eam_repair_order |
| | | SET actual_end_time = null, |
| | | status = '3' |
| | | WHERE id = #{id} |
| | | </update> |
| | | </mapper> |