Commit 6914c426 by 吴博

bug: [1025507] 修复资讯第三方小程序保存

parent 88fb8b0a
...@@ -208,9 +208,6 @@ public class AppletNewsBizImpl implements AppletNewsBiz { ...@@ -208,9 +208,6 @@ public class AppletNewsBizImpl implements AppletNewsBiz {
} }
private void saveThirdResources(List<AppletThirdResourcesRelation> thirdResourcesRelations, Long appletNewsId) { private void saveThirdResources(List<AppletThirdResourcesRelation> thirdResourcesRelations, Long appletNewsId) {
if (ListUtils.isEmpty(thirdResourcesRelations)) {
return;
}
// 删除旧数据 // 删除旧数据
thirdResourcesRelationDao.deleteByAppletNewsId(appletNewsId); thirdResourcesRelationDao.deleteByAppletNewsId(appletNewsId);
if (ListUtils.isEmpty(thirdResourcesRelations)) { if (ListUtils.isEmpty(thirdResourcesRelations)) {
...@@ -1248,7 +1245,7 @@ public class AppletNewsBizImpl implements AppletNewsBiz { ...@@ -1248,7 +1245,7 @@ public class AppletNewsBizImpl implements AppletNewsBiz {
newsDTO.setThirdResourcesRelations(ListUtils.isEmpty(thirdResourcesList) ? new ArrayList<>() : thirdResourcesList); newsDTO.setThirdResourcesRelations(ListUtils.isEmpty(thirdResourcesList) ? new ArrayList<>() : thirdResourcesList);
} }
} }
@Override @Override
public Long getAgentIdByAccountId(Long officialAccountsId){ public Long getAgentIdByAccountId(Long officialAccountsId){
Long agentId = null; Long agentId = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment