档案目录校验
This commit is contained in:
parent
f2e3c55fcd
commit
6426cbeca3
|
|
@ -35,7 +35,7 @@ public class FileManageServiceImpl implements FileManageService {
|
|||
public List<DaKyProFilesContentsDto> list(DaKyProFilesContentsDto daKyProFilesContentsDto) {
|
||||
List<DaKyProFilesContentsDto> list = fileManageMapper.list(daKyProFilesContentsDto);
|
||||
if (daKyProFilesContentsDto.getId() != null) {
|
||||
list.removeIf(dto -> !"2".equals(dto.getDataSource()));
|
||||
list.removeIf(dto -> "0".equals(dto.getIsUnique()));
|
||||
Integer level = fileManageMapper.getLevelById(daKyProFilesContentsDto.getId());
|
||||
for (Iterator<DaKyProFilesContentsDto> it = list.iterator(); it.hasNext(); ) {
|
||||
DaKyProFilesContentsDto item = it.next();
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
FROM
|
||||
da_ky_pro_files_contents dkp
|
||||
WHERE
|
||||
dkp.del_flag = '1' and dkp.pro_id = #{proId} and level in (0,1,2,3)
|
||||
dkp.del_flag = '1' and dkp.pro_id = #{proId} and level in (0,1,2,3,4)
|
||||
<if test="keyWord != null and keyWord != ''">
|
||||
and dkp.content_name like concat('%', #{keyWord}, '%')
|
||||
</if>
|
||||
|
|
|
|||
Loading…
Reference in New Issue