档案管理树结构修改
This commit is contained in:
parent
a7b60a977a
commit
0e12ca2cfc
|
|
@ -42,5 +42,5 @@ public interface FileManageMapper {
|
||||||
|
|
||||||
Integer getMaxSort(DaKyProFilesContentsDto dto);
|
Integer getMaxSort(DaKyProFilesContentsDto dto);
|
||||||
|
|
||||||
Integer getSortById(Integer id);
|
Integer getSortById(String id);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ public interface FileManageService {
|
||||||
|
|
||||||
Integer getMaxSort(DaKyProFilesContentsDto dto);
|
Integer getMaxSort(DaKyProFilesContentsDto dto);
|
||||||
|
|
||||||
Integer getSortById(Integer id);
|
Integer getSortById(String id);
|
||||||
|
|
||||||
List<DaKyProFilesContentsDto> getFileManageTree(DaKyProFilesContentsDto dto);
|
List<DaKyProFilesContentsDto> getFileManageTree(DaKyProFilesContentsDto dto);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -130,7 +130,7 @@ public class FileManageServiceImpl implements FileManageService {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Integer getSortById(Integer id) {
|
public Integer getSortById(String id) {
|
||||||
return fileManageMapper.getSortById(id);
|
return fileManageMapper.getSortById(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -191,14 +191,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
WHERE
|
WHERE
|
||||||
dkpfc.del_flag = '1' and dkpfc.parent_id = #{parentId}
|
dkpfc.del_flag = '1' and dkpfc.parent_id = #{parentId}
|
||||||
</select>
|
</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 id="getLevelById" resultType="java.lang.Integer">
|
||||||
SELECT
|
SELECT
|
||||||
dkp.level
|
dkp.level
|
||||||
|
|
@ -207,4 +200,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
WHERE
|
WHERE
|
||||||
dkp.id = #{id}
|
dkp.id = #{id}
|
||||||
</select>
|
</select>
|
||||||
|
<select id="getSortById" resultType="java.lang.Integer">
|
||||||
|
SELECT
|
||||||
|
dkpfc.sort
|
||||||
|
FROM
|
||||||
|
da_ky_pro_files_contents dkpfc
|
||||||
|
WHERE
|
||||||
|
dkpfc.id = #{id}
|
||||||
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue