大屏的进度排名修改
This commit is contained in:
parent
1e6ee95afc
commit
715f752d29
@ -13,11 +13,12 @@
|
|||||||
<select id="countEnterpriseCbs" resultType="com.zhgd.xmgl.modules.xz.entity.vo.CountEnterpriseVo">
|
<select id="countEnterpriseCbs" resultType="com.zhgd.xmgl.modules.xz.entity.vo.CountEnterpriseVo">
|
||||||
select
|
select
|
||||||
ei.enterprise_name,
|
ei.enterprise_name,
|
||||||
pe.cbs_name,
|
si.cbs_name,
|
||||||
x.change_after
|
x.change_after
|
||||||
from enterprise_info ei
|
from enterprise_info ei
|
||||||
join xz_task_progress_total x on x.enterprise_id = ei.id
|
join xz_task_progress_total x on x.enterprise_id = ei.id
|
||||||
join project_enterprise pe on pe.enterprise_id=ei.id and pe.project_sn = x.project_sn
|
join project_enterprise pe on pe.enterprise_id=ei.id and pe.project_sn = x.project_sn
|
||||||
|
join project_enterprise_supplier_info si on si.enterprise_id=ei.id and si.project_sn = x.project_sn
|
||||||
where x.project_sn = #{param.projectSn} and x.is_current=1 and x.type=2 and x.change_after != 0
|
where x.project_sn = #{param.projectSn} and x.is_current=1 and x.type=2 and x.change_after != 0
|
||||||
<if test="param.isCountMainEnterprise == '1'.toString() ">
|
<if test="param.isCountMainEnterprise == '1'.toString() ">
|
||||||
and pe.parent_project_enterprise_id = 0
|
and pe.parent_project_enterprise_id = 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user