代码提交
This commit is contained in:
parent
b42b3239c6
commit
4be2cff1a9
|
|
@ -184,7 +184,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
dkpfc.sort AS sort,
|
dkpfc.sort AS sort,
|
||||||
dkpfc.mark_code AS markCode,
|
dkpfc.mark_code AS markCode,
|
||||||
dkpfc.term AS term,
|
dkpfc.term AS term,
|
||||||
dkpfc.unit_name AS unitName,
|
bd.dept_name AS unitName,
|
||||||
case when dkpfc.data_source = '1' then '本系统上传'
|
case when dkpfc.data_source = '1' then '本系统上传'
|
||||||
when dkpfc.data_source = '2' then '智慧现场'
|
when dkpfc.data_source = '2' then '智慧现场'
|
||||||
else '' end AS dataSource,
|
else '' end AS dataSource,
|
||||||
|
|
@ -199,6 +199,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
FROM
|
FROM
|
||||||
da_ky_pro_files_contents dkpfc
|
da_ky_pro_files_contents dkpfc
|
||||||
left join da_ky_sys_file_source dkfs on dkpfc.id = dkfs.business_id
|
left join da_ky_sys_file_source dkfs on dkpfc.id = dkfs.business_id
|
||||||
|
left join blade_dept bd on dkpfc.unit_name = bd.id
|
||||||
WHERE
|
WHERE
|
||||||
dkpfc.del_flag = '1' and dkpfc.parent_id = #{parentId} and dkpfc.pro_id = #{proId} and dkpfc.level = 5
|
dkpfc.del_flag = '1' and dkpfc.parent_id = #{parentId} and dkpfc.pro_id = #{proId} and dkpfc.level = 5
|
||||||
<if test="contentName != null and contentName != ''">
|
<if test="contentName != null and contentName != ''">
|
||||||
|
|
@ -293,7 +294,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<select id="getchild" resultType="java.lang.Integer">
|
<select id="getchild" resultType="java.lang.Integer">
|
||||||
SELECT
|
SELECT
|
||||||
count(dkpfc.id)
|
count(dkpfc.id)
|
||||||
FROM
|
FROM·
|
||||||
da_ky_pro_files_contents dkpfc
|
da_ky_pro_files_contents dkpfc
|
||||||
left join da_ky_pro_files_contents dkpfc2 on dkpfc.parent_id = dkpfc2.id
|
left join da_ky_pro_files_contents dkpfc2 on dkpfc.parent_id = dkpfc2.id
|
||||||
WHERE
|
WHERE
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue