大屏总数详情接口修正
This commit is contained in:
parent
3f78b98261
commit
2b6a959a20
|
|
@ -724,8 +724,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
left join sys_dept sd on bp.imp_unit = sd.dept_id
|
left join sys_dept sd on bp.imp_unit = sd.dept_id
|
||||||
left join ma_type mt on sai.type_id = mt.type_id
|
left join ma_type mt on sai.type_id = mt.type_id
|
||||||
left join ma_type mt2 on mt.parent_id = mt2.type_id
|
left join ma_type mt2 on mt.parent_id = mt2.type_id
|
||||||
where sai.status = 0 and bp.actual_end_date is not null
|
where sai.status = 0 and sai.is_slt = 0 and sai.end_time is null and bp.actual_end_date is not null and bp.pro_center is not null
|
||||||
and bp.pro_center is not null
|
and mt.jiju_type = 1
|
||||||
|
and mt2.is_statics != 1
|
||||||
<if test="proCenter != null and proCenter !=''">
|
<if test="proCenter != null and proCenter !=''">
|
||||||
and bp.pro_center= #{proCenter}
|
and bp.pro_center= #{proCenter}
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue