提交代码
parent
2a70bae606
commit
5763cd2855
|
@ -64,6 +64,24 @@ public class ProjectViewExport implements Serializable {
|
||||||
@Excel(name = "举牌验收", width = 20,align = HorizontalAlignment.CENTER, isStatistics = true)
|
@Excel(name = "举牌验收", width = 20,align = HorizontalAlignment.CENTER, isStatistics = true)
|
||||||
private String jpys;
|
private String jpys;
|
||||||
|
|
||||||
|
@Excel(name = "劳务实名", width = 20,align = HorizontalAlignment.CENTER, dictType = "sys_common_devState")
|
||||||
|
private String lwsm;
|
||||||
|
|
||||||
|
@Excel(name = "标准化", width = 20,align = HorizontalAlignment.CENTER, isStatistics = true)
|
||||||
|
private String bzh;
|
||||||
|
|
||||||
|
@Excel(name = "实时监控", width = 20,align = HorizontalAlignment.CENTER, dictType = "sys_common_devState")
|
||||||
|
private String ssjk;
|
||||||
|
|
||||||
|
@Excel(name = "AI监控", width = 20,align = HorizontalAlignment.CENTER, dictType = "sys_common_devState")
|
||||||
|
private String aijk;
|
||||||
|
|
||||||
|
@Excel(name = "工程审批进行中", width = 20,align = HorizontalAlignment.CENTER)
|
||||||
|
private String gcsq;
|
||||||
|
|
||||||
|
@Excel(name = "工程审批已完成", width = 20,align = HorizontalAlignment.CENTER, isStatistics = true)
|
||||||
|
private String gcsp;
|
||||||
|
|
||||||
public String getProjectName() {
|
public String getProjectName() {
|
||||||
return projectName;
|
return projectName;
|
||||||
}
|
}
|
||||||
|
@ -215,4 +233,52 @@ public class ProjectViewExport implements Serializable {
|
||||||
public void setUnitId(Long unitId) {
|
public void setUnitId(Long unitId) {
|
||||||
this.unitId = unitId;
|
this.unitId = unitId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getLwsm() {
|
||||||
|
return lwsm;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLwsm(String lwsm) {
|
||||||
|
this.lwsm = lwsm;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getBzh() {
|
||||||
|
return bzh;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBzh(String bzh) {
|
||||||
|
this.bzh = bzh;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSsjk() {
|
||||||
|
return ssjk;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSsjk(String ssjk) {
|
||||||
|
this.ssjk = ssjk;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAijk() {
|
||||||
|
return aijk;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAijk(String aijk) {
|
||||||
|
this.aijk = aijk;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getGcsq() {
|
||||||
|
return gcsq;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setGcsq(String gcsq) {
|
||||||
|
this.gcsq = gcsq;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getGcsp() {
|
||||||
|
return gcsp;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setGcsp(String gcsp) {
|
||||||
|
this.gcsp = gcsp;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,13 @@
|
||||||
(select count(1) from sur_project_measure a where a.project_id = sp.id and a.dept_id=pui.unitId and a.is_del=0)as cscl,
|
(select count(1) from sur_project_measure a where a.project_id = sp.id and a.dept_id=pui.unitId and a.is_del=0)as cscl,
|
||||||
(select count(1) from sur_project_material_seal a where a.project_id = sp.id and a.dept_id=pui.unitId and a.is_del=0)as clfy,
|
(select count(1) from sur_project_material_seal a where a.project_id = sp.id and a.dept_id=pui.unitId and a.is_del=0)as clfy,
|
||||||
(select count(1) from sur_project_insurance a where a.project_id = sp.id and a.dept_id=pui.unitId and a.is_del=0 and a.insurance_type=1)as yqx,
|
(select count(1) from sur_project_insurance a where a.project_id = sp.id and a.dept_id=pui.unitId and a.is_del=0 and a.insurance_type=1)as yqx,
|
||||||
(select count(1) from sur_project_insurance a where a.project_id = sp.id and a.dept_id=pui.unitId and a.is_del=0 and a.insurance_type=2)as azx
|
(select count(1) from sur_project_insurance a where a.project_id = sp.id and a.dept_id=pui.unitId and a.is_del=0 and a.insurance_type=2)as azx,
|
||||||
|
(select count(1) from sur_project_video_config a where a.project_id = sp.id and a.dept_id = pui.unitId and a.is_del=0)as ssjk,
|
||||||
|
(select count(1) from dev_ai_project_config a where a.project_id = sp.id and a.dept_id = pui.unitId and a.is_del=0)as aijk,
|
||||||
|
(select count(1) from sur_project_attendance_cfg a where a.project_id = sp.id and a.sub_dept_id = pui.unitId and a.state=0)as lwsm,
|
||||||
|
(select count(1) from vw_flow_all a where a.businessKey = sp.id and a.startDeptName = pui.unitName and a.finishTime is null)as gcsq,
|
||||||
|
(select count(1) from vw_flow_all a where a.businessKey = sp.id and a.startDeptName = pui.unitName and a.finishTime is not null)as gcsp,
|
||||||
|
(select count(1) from sur_project_standard a where a.project_id = sp.id and a.dept_id = pui.unitId and a.is_del=0)as bzh
|
||||||
from sur_project sp
|
from sur_project sp
|
||||||
left JOIN sur_project_unit_info pui on sp.id=pui.projectId and pui.unitType=2
|
left JOIN sur_project_unit_info pui on sp.id=pui.projectId and pui.unitType=2
|
||||||
where pui.del_flag=0
|
where pui.del_flag=0
|
||||||
|
@ -43,5 +49,5 @@
|
||||||
<if test="projectNature != null and projectNature != ''"> and sp.projectNature = #{projectNature}</if>
|
<if test="projectNature != null and projectNature != ''"> and sp.projectNature = #{projectNature}</if>
|
||||||
ORDER by sp.projectSort
|
ORDER by sp.projectSort
|
||||||
</select>
|
</select>
|
||||||
|
<!--(select count(1) from sur_project_photography a where a.project_id = sp.id and a.dept_id = pui.unitId and a.state=0)as yssy-->
|
||||||
</mapper>
|
</mapper>
|
Loading…
Reference in New Issue