|
|
@@ -138,9 +138,12 @@ public class CorpFollowServiceImpl implements CorpFollowService {
|
|
|
if (!dbActiveCode.getMarkTag().equals(activeCode.getMarkTag())) {
|
|
|
isUpdateAcCode = true;
|
|
|
}
|
|
|
- activeCode.setAttachmentsStr(dbActiveCode.getAttachmentsStr());
|
|
|
- if (CollUtil.isEmpty(activeCode.getAttachments())) {
|
|
|
+ List<Attachments> attachments = activeCode.getAttachments();
|
|
|
+ if (CollUtil.isEmpty(attachments)) {
|
|
|
activeCode.setAttachmentsStr(null);
|
|
|
+ } else {
|
|
|
+ String attachmentsStr = Jsons.toJson(attachments);
|
|
|
+ activeCode.setAttachmentsStr(attachmentsStr);
|
|
|
}
|
|
|
|
|
|
//重新构建活码配置
|