|
|
@@ -86,7 +86,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
FROM gxt_work_order_person wop
|
|
|
LEFT JOIN gxt_work_order wo ON wop.order_id = wo.id
|
|
|
LEFT JOIN gxt_equipment e ON wo.pcs_device_id = e.equipment_id
|
|
|
- LEFT JOIN gxt_fan_inspection_score fis ON wo.inspection_type_id = fis.inspection_type_id AND fis.fan_type = e.model AND fis.status = 0
|
|
|
+ LEFT JOIN gxt_fan_inspection_score fis ON wo.inspection_type = fis.inspection_type_id AND fis.fan_type = e.model AND fis.status = 0
|
|
|
GROUP BY wop.user_id, wop.nick_name, e.model, fis.id
|
|
|
) tt
|
|
|
LEFT JOIN gxt_fan_inspection_score fist ON tt.fan_inspection_id = fist.id
|