代码提交

This commit is contained in:
liang.chao 2025-12-03 09:50:03 +08:00
parent b42b3239c6
commit 4be2cff1a9
1 changed files with 3 additions and 2 deletions

View File

@ -184,7 +184,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
dkpfc.sort AS sort,
dkpfc.mark_code AS markCode,
dkpfc.term AS term,
dkpfc.unit_name AS unitName,
bd.dept_name AS unitName,
case when dkpfc.data_source = '1' then '本系统上传'
when dkpfc.data_source = '2' then '智慧现场'
else '' end AS dataSource,
@ -199,6 +199,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
FROM
da_ky_pro_files_contents dkpfc
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
dkpfc.del_flag = '1' and dkpfc.parent_id = #{parentId} and dkpfc.pro_id = #{proId} and dkpfc.level = 5
<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
count(dkpfc.id)
FROM
FROM·
da_ky_pro_files_contents dkpfc
left join da_ky_pro_files_contents dkpfc2 on dkpfc.parent_id = dkpfc2.id
WHERE