Commit f05e675476377e630b3a4f77e0d6529794d04930

Authored by 宋亚南
1 parent a68f9644

对已审内容不做覆盖

src/main/java/com/cnlive/shenhe/service/serviceImpl/ContentServiceImpl.java
... ... @@ -259,6 +259,10 @@ public class ContentServiceImpl implements ContentService {
259 259 boolean success = true;
260 260 ShyContent content = shyContentMapper.selectByPrimaryKey(Integer.parseInt(contentId));
261 261 logger.info("contentId:{},content:{}", contentId, content);
  262 + if (content != null && (CommonConst.RECEIVE_AUDIT.equals(content.getReceive_status()) || CommonConst.RECEIVE_AFTER.equals(content.getReceive_status()))) {
  263 + logger.error("图文审核回调成功但已人工审/领取,图文id:{}", content.getId());
  264 + return success;
  265 + }
262 266 JSONObject result = new JSONObject();
263 267 try {
264 268 if (CommonUtils.isNotEmpty(content.getContent_tag()) && "content".equals(content.getContent_tag())) {
... ...