|
@ -389,7 +389,7 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit |
|
|
coverEntity.setCustomerId(tokenDto.getCustomerId()); |
|
|
coverEntity.setCustomerId(tokenDto.getCustomerId()); |
|
|
coverEntity.setDraftId(fromDTO.getDraftId()); |
|
|
coverEntity.setDraftId(fromDTO.getDraftId()); |
|
|
coverEntity.setImgUrl(coverImg); |
|
|
coverEntity.setImgUrl(coverImg); |
|
|
coverEntity.setAuditStatus(ModuleConstant.AUDIT_STATUS_PASS); |
|
|
coverEntity.setAuditStatus(""); |
|
|
coverEntity.setAuditReason(""); |
|
|
coverEntity.setAuditReason(""); |
|
|
coverEntity.setDelFlag(NumConstant.ZERO_STR); |
|
|
coverEntity.setDelFlag(NumConstant.ZERO_STR); |
|
|
return coverEntity; |
|
|
return coverEntity; |
|
@ -456,7 +456,7 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit |
|
|
entity.setDraftId(fromDTO.getDraftId()); |
|
|
entity.setDraftId(fromDTO.getDraftId()); |
|
|
entity.setOrderNum(i + 1); |
|
|
entity.setOrderNum(i + 1); |
|
|
//默认通过
|
|
|
//默认通过
|
|
|
entity.setAuditStatus(ModuleConstant.AUDIT_STATUS_PASS); |
|
|
entity.setAuditStatus(""); |
|
|
newContentList.add(entity); |
|
|
newContentList.add(entity); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -1005,6 +1005,14 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit |
|
|
draftContentDao.updateAuditStatusById(id,ModuleConstant.AUDIT_STATUS_FAIL); |
|
|
draftContentDao.updateAuditStatusById(id,ModuleConstant.AUDIT_STATUS_FAIL); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
|
|
|
List<String> successDataIds = syncScanResult.getSuccessDataIds(); |
|
|
|
|
|
successDataIds.forEach(id->{ |
|
|
|
|
|
if (id.indexOf(ModuleConstant.SCAN_COVER_PREFIX)>=0){ |
|
|
|
|
|
draftCoverDao.updateAuditStatusById(id,ModuleConstant.AUDIT_STATUS_PASS); |
|
|
|
|
|
}else{ |
|
|
|
|
|
draftContentDao.updateAuditStatusById(id,ModuleConstant.AUDIT_STATUS_PASS); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|