文档库--我的消息内容修改
This commit is contained in:
+15
-6
@@ -669,14 +669,23 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
||||
LambdaQueryWrapper<BussDocumentLibraryEO> queryWrapper = new LambdaQueryWrapper<>();
|
||||
queryWrapper.eq(BussDocumentLibraryEO::getId, id);
|
||||
List<Map<String, Object>> dataList = bussDocumentLibraryEOMapper.selectMaps(queryWrapper);
|
||||
|
||||
Map<String,Object> mapTemp = new HashMap<>();
|
||||
mapCopy(map, mapTemp);
|
||||
|
||||
List<Map<String,Object>> dataListTemp = new ArrayList<>();
|
||||
for (Map<String, Object> stringObjectMap : dataList) {
|
||||
Map<String,Object> mapT = new HashMap<>();
|
||||
mapCopy(stringObjectMap, mapT);
|
||||
dataListTemp.add(mapT);
|
||||
}
|
||||
|
||||
//更新log
|
||||
updateLog(map, dataList, fieldList, fieldDateList, fieldFileList, fieldPullList,cut);
|
||||
//判断该条数据是否订阅
|
||||
|
||||
|
||||
//处理修改代替标准,发送通知
|
||||
sendMessageUpdate(map, dataList, fieldList, fieldDateList, fieldFileList, fieldPullList,cut);
|
||||
|
||||
sendMessageUpdate(mapTemp, dataListTemp, fieldList, fieldDateList, fieldFileList, fieldPullList,cut);
|
||||
|
||||
//字段
|
||||
StringBuilder fieldsBuilder = new StringBuilder();
|
||||
@@ -851,7 +860,7 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
||||
}
|
||||
} else {
|
||||
if (ObjectUtils.isNotEmpty(valueTemp)) {
|
||||
sb.append(dbFieldTxt + "改为" + valueTemp + ",");
|
||||
sb.append(dbFieldTxt + "由空改为" + valueTemp + ",");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -880,7 +889,7 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
||||
}
|
||||
} else {
|
||||
if (fileNameListTemp.size() != 0) {
|
||||
sb.append(dbFieldTxt + "改为" + StringUtils.join(fileNameListTemp, ",") + ",");
|
||||
sb.append(dbFieldTxt + "由空改为" + StringUtils.join(fileNameListTemp, ",") + ",");
|
||||
}
|
||||
}
|
||||
} else {
|
||||
@@ -901,7 +910,7 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
||||
}
|
||||
} else {
|
||||
if (ObjectUtils.isNotEmpty(valueTemp)) {
|
||||
sb.append(dbFieldTxt + "改为" + valueTemp + ",");
|
||||
sb.append(dbFieldTxt + "由空改为" + valueTemp + ",");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user