档案目录校验

This commit is contained in:
liang.chao 2025-09-16 18:04:56 +08:00
parent e5c8eeabd2
commit f2e3c55fcd
1 changed files with 1 additions and 2 deletions

View File

@ -154,9 +154,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
dkfs.create_user_name AS createUserName dkfs.create_user_name AS createUserName
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.id left join da_ky_sys_file_source dkfs on dkpfc.id = dkfs.business_id
WHERE WHERE
dkfs.business_id = #{businessId} and
dkpfc.del_flag = '1' and dkpfc.parent_id = #{parentId} and dkpfc.level = 4 dkpfc.del_flag = '1' and dkpfc.parent_id = #{parentId} and dkpfc.level = 4
<if test="contentName != null and contentName != ''"> <if test="contentName != null and contentName != ''">
and dkpfc.content_name like concat('%', #{contentName}, '%') and dkpfc.content_name like concat('%', #{contentName}, '%')