|
@@ -201,7 +201,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
where t1.uuid =t2.op_plan_id
|
|
|
and date_format(plan_start_wk_tm,'%Y%m%d') >= #{startDate}
|
|
|
and date_format(plan_start_wk_tm,'%Y%m%d') <= #{endDate}
|
|
|
- and work_team_nm like '%公司'
|
|
|
+ and work_team_nm like '%公司' and work_team_nm not like '%雁能%'
|
|
|
GROUP BY work_team_nm,person_nm,person_nm
|
|
|
)t1
|
|
|
LEFT JOIN
|
|
@@ -214,7 +214,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
from
|
|
|
pdm_violation_records t1,pdm_inspection_records t2,pdm_work_plan t3,pdm_work_plan_worker t4
|
|
|
where t1.audit_rec_id = t2.audit_rec_id and t1.day_op_info_id = t3.uuid and t3.uuid =t4.op_plan_id
|
|
|
- and work_team_nm like '%公司'
|
|
|
+ and work_team_nm like '%公司' and work_team_nm not like '%雁能%'
|
|
|
and date_format(plan_start_wk_tm,'%Y%m%d') >= #{startDate}
|
|
|
and date_format(plan_start_wk_tm,'%Y%m%d') <= #{endDate}
|
|
|
GROUP BY t3.work_team_nm,person_nm,person_id
|
|
@@ -227,7 +227,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
from
|
|
|
pdm_inspection_problem_records t1,pdm_inspection_records t2,pdm_work_plan t3,pdm_work_plan_worker t4
|
|
|
where t1.day_op_info_id = t2.day_op_info_id and t2.day_op_info_id = t3.uuid and t3.uuid =t4.op_plan_id
|
|
|
- and work_team_nm like '%公司'
|
|
|
+ and work_team_nm like '%公司' and work_team_nm not like '%雁能%'
|
|
|
and date_format(plan_start_wk_tm,'%Y%m%d') >= #{startDate}
|
|
|
and date_format(plan_start_wk_tm,'%Y%m%d') <= #{endDate}
|
|
|
GROUP BY t3.work_team_nm,person_nm,person_id
|