feat(REQ-5965) - 调整业务自定义文档在存入 process_sign 表时,丢失属性的情况
This commit is contained in:
parent
bd4b2c9a2b
commit
2f59638b7c
@ -100,7 +100,7 @@ public class WpsUtil {
|
||||
String fileCode, String fileKey, String fileName) {
|
||||
|
||||
List<FileReplaceContent> fileReplaceContents = BeanMapper.copyList(wpsVariables.stream()
|
||||
.filter(i -> Objects.nonNull(i.getValue()) || checkEmptyColl(i))
|
||||
.filter(i -> Objects.nonNull(i.getValue()) && checkEmptyColl(i))
|
||||
.filter(i -> !(Objects.equals(i.getType().name(), "img") && !StringUtils.hasText(i.getValue().toString())))
|
||||
.filter(i -> Objects.equals(i.getType().name(), "img") || Objects.equals(i.getType().name(), "text"))
|
||||
.collect(Collectors.toList()), FileReplaceContent.class, (s, t) -> {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user