fix(文档拆分): 78372
This commit is contained in:
+13
@@ -397,6 +397,8 @@ public class DocumentSplitServiceImpl implements IDocumentSplitService {
|
||||
|
||||
@Override
|
||||
public void editDocumentSplitDetail(Map<String, Object> parameter) {
|
||||
// 处理map参数null值转为“”
|
||||
mapValueNullToString(parameter);
|
||||
// 查询全部字段列表
|
||||
List<LawsTag> fieldList = lawsCommonMapper.getFieldList(TableNameEnum.DOCUMENT_SPLIT.getTableName());
|
||||
// 编辑页展示的字段
|
||||
@@ -451,6 +453,16 @@ public class DocumentSplitServiceImpl implements IDocumentSplitService {
|
||||
}
|
||||
}
|
||||
|
||||
private void mapValueNullToString(Map<String, Object> parameter) {
|
||||
if (parameter!= null){
|
||||
parameter.forEach((k, v) ->{
|
||||
if (Objects.isNull(v)){
|
||||
parameter.put(k, "");
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
private String articlesJoin(List<SarFileSplitItemsValEO> articlesList, String itemId) {
|
||||
StringBuilder valContent = new StringBuilder();
|
||||
int index = 0;
|
||||
@@ -524,6 +536,7 @@ public class DocumentSplitServiceImpl implements IDocumentSplitService {
|
||||
|
||||
@Override
|
||||
public void editBatchDocumentSplitDetail(Map<String, Object> parameter) {
|
||||
mapValueNullToString(parameter);
|
||||
// 查询全部字段列表
|
||||
List<LawsTag> fieldList = lawsCommonMapper.getFieldList(TableNameEnum.DOCUMENT_SPLIT.getTableName());
|
||||
// 编辑页展示的字段
|
||||
|
||||
Reference in New Issue
Block a user