| | |
| | | t3.maintenance_tool as maintenanceTool, |
| | | t3.maintenance_require as maintenanceRequire, |
| | | concat(t6.code, '/', t6.name) as maintenanceCycleName, |
| | | t5.name as maintenanceSpecialtyName |
| | | t5.name as maintenanceSpecialtyName, |
| | | t1.maintenance_order_detail_uda1 as maintenanceOrderDetailUda1, |
| | | t1.maintenance_order_detail_uda2 as maintenanceOrderDetailUda2 |
| | | FROM |
| | | mom_eam_daily_maintenance_order_detail t1 |
| | | LEFT JOIN mom_eam_maintenance_standard_detail t2 ON t1.maintenance_standard_detail_id = t2.id |
| | |
| | | <if test="params.dailyMaintenanceOrderId != null and params.dailyMaintenanceOrderId != ''"> |
| | | and t1.daily_maintenance_order_id = #{params.dailyMaintenanceOrderId} |
| | | </if> |
| | | <if test="sql != '' and sql != null"> |
| | | ${sql} |
| | | </if> |
| | | ORDER BY t1.create_time desc |
| | | </select> |
| | | </mapper> |