fix(querySplitFileInfoByPage): 增加排除文本状态传参
This commit is contained in:
+4
@@ -86,4 +86,8 @@ public class SplitFileInfo {
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty(value = "文件后缀 查询用")
|
||||
private String fileSuffix;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty(value = "排除文本状态 查询用")
|
||||
private String excludeFileTypes;
|
||||
}
|
||||
|
||||
+4
@@ -1312,6 +1312,10 @@ public class DocumentSplitServiceImpl implements IDocumentSplitService {
|
||||
}else {
|
||||
queryWrapper.likeLeft("file_name", ".docx");
|
||||
}
|
||||
if (StringUtils.isNotBlank(splitFileInfo.getExcludeFileTypes())){
|
||||
queryWrapper.notIn("standard_file_type",
|
||||
Arrays.asList(splitFileInfo.getExcludeFileTypes().split(",")));
|
||||
}
|
||||
queryWrapper.isNotNull("o.standard_id");
|
||||
if (StringUtils.isNotBlank(splitFileInfo.getStandardSystem())){
|
||||
List<String> list = Arrays.asList(splitFileInfo.getStandardSystem().split(","));
|
||||
|
||||
Reference in New Issue
Block a user