档案管理树结构修改
This commit is contained in:
parent
a7b60a977a
commit
0e12ca2cfc
|
|
@ -42,5 +42,5 @@ public interface FileManageMapper {
|
|||
|
||||
Integer getMaxSort(DaKyProFilesContentsDto dto);
|
||||
|
||||
Integer getSortById(Integer id);
|
||||
Integer getSortById(String id);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ public interface FileManageService {
|
|||
|
||||
Integer getMaxSort(DaKyProFilesContentsDto dto);
|
||||
|
||||
Integer getSortById(Integer id);
|
||||
Integer getSortById(String id);
|
||||
|
||||
List<DaKyProFilesContentsDto> getFileManageTree(DaKyProFilesContentsDto dto);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ public class FileManageServiceImpl implements FileManageService {
|
|||
}
|
||||
|
||||
@Override
|
||||
public Integer getSortById(Integer id) {
|
||||
public Integer getSortById(String id) {
|
||||
return fileManageMapper.getSortById(id);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue