update code
parent
f4bb8d22df
commit
da63db6425
|
@ -121,13 +121,15 @@
|
||||||
</foreach>
|
</foreach>
|
||||||
</delete>
|
</delete>
|
||||||
<select id="groupByType" parameterType="SurProjectStandard" resultMap="com.ruoyi.system.mapper.SysDictDataMapper.SysDictDataResult">
|
<select id="groupByType" parameterType="SurProjectStandard" resultMap="com.ruoyi.system.mapper.SysDictDataMapper.SysDictDataResult">
|
||||||
select b.dict_value,b.dict_label,a.cnt STATUS from (select * from sys_dict_data where dict_type='prj_standard_type') b left join (
|
select b.dict_value,b.dict_label,a.cnt STATUS from (
|
||||||
|
select * from sys_dict_data where dict_type='prj_standard_type') b
|
||||||
|
left join (
|
||||||
select a.standard_type,count(1) cnt
|
select a.standard_type,count(1) cnt
|
||||||
from sur_project_standard a
|
from sur_project_standard a ,sur_project sp
|
||||||
where a.is_del =0
|
where a.is_del =0 and a.project_id=sp.id
|
||||||
<if test="projectId!=null and projectId>0"> and a.project_id=#{projectId}</if>
|
<if test="projectId!=null and projectId>0"> and a.project_id=#{projectId}</if>
|
||||||
<if test="deptId!=null and deptId>0">
|
<if test="deptId!=null and deptId>0">
|
||||||
and sp.deptId= #{deptId}
|
and a.dept_Id= #{deptId}
|
||||||
</if>
|
</if>
|
||||||
<if test="proType != null and proType != '' "> and sp.projectType = #{proType}</if>
|
<if test="proType != null and proType != '' "> and sp.projectType = #{proType}</if>
|
||||||
<if test="activeName != null and activeName != ''"> and sp.progressVisible = 0</if>
|
<if test="activeName != null and activeName != ''"> and sp.progressVisible = 0</if>
|
||||||
|
|
Loading…
Reference in New Issue