档案管理树结构修改

This commit is contained in:
liang.chao 2025-09-17 10:01:59 +08:00
parent a7b60a977a
commit 0e12ca2cfc
4 changed files with 12 additions and 11 deletions

View File

@ -42,5 +42,5 @@ public interface FileManageMapper {
Integer getMaxSort(DaKyProFilesContentsDto dto);
Integer getSortById(Integer id);
Integer getSortById(String id);
}

View File

@ -27,7 +27,7 @@ public interface FileManageService {
Integer getMaxSort(DaKyProFilesContentsDto dto);
Integer getSortById(Integer id);
Integer getSortById(String id);
List<DaKyProFilesContentsDto> getFileManageTree(DaKyProFilesContentsDto dto);
}

View File

@ -130,7 +130,7 @@ public class FileManageServiceImpl implements FileManageService {
}
@Override
public Integer getSortById(Integer id) {
public Integer getSortById(String id) {
return fileManageMapper.getSortById(id);
}

View File

@ -191,14 +191,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
WHERE
dkpfc.del_flag = '1' and dkpfc.parent_id = #{parentId}
</select>
<select id="getSortById" resultType="java.lang.Integer">
SELECT
dkpfc.sort
FROM
da_ky_pro_files_contents dkpfc
WHERE
dkpfc.id = #{id}
</select>
<select id="getLevelById" resultType="java.lang.Integer">
SELECT
dkp.level
@ -207,4 +200,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
WHERE
dkp.id = #{id}
</select>
<select id="getSortById" resultType="java.lang.Integer">
SELECT
dkpfc.sort
FROM
da_ky_pro_files_contents dkpfc
WHERE
dkpfc.id = #{id}
</select>
</mapper>