大屏的进度排名修改

This commit is contained in:
guoshengxiong 2024-10-31 11:53:42 +08:00
parent 1e6ee95afc
commit 715f752d29

View File

@ -13,11 +13,12 @@
<select id="countEnterpriseCbs" resultType="com.zhgd.xmgl.modules.xz.entity.vo.CountEnterpriseVo">
select
ei.enterprise_name,
pe.cbs_name,
si.cbs_name,
x.change_after
from enterprise_info ei
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_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
<if test="param.isCountMainEnterprise == '1'.toString() ">
and pe.parent_project_enterprise_id = 0