浏览代码

拒审重提BUG

zhouzeyu@c-top.com.cn 3 年之前
父节点
当前提交
5611cc0a3a

+ 1 - 1
jeecg-boot-module-system/src/main/java/cn/com/ctop/kuaishou/modules/document/service/impl/AuditRejectedResubmitServiceImpl.java

@@ -132,7 +132,7 @@ public class AuditRejectedResubmitServiceImpl implements AuditRejectedResubmitSe
                                     //修改重提次数和文案id
                                     auditRejectedResubmitMapper.updateCreativeResubmitSize(obj.getCreativeId(), documentByAccountId != null && documentByAccountId.size() > 0 ? documentByAccountId.get(0).get("copyWriterId") : null);
                                     //插入文案关联创意表信息
-                                    if (!documentByAccountId.isEmpty() && documentByAccountId.size() > 0) {
+                                    if (documentByAccountId !=null && documentByAccountId.size() > 0) {
                                         auditRejectedResubmitMapper.saveCopyWriterCenter(documentByAccountId.get(0).get("copyWriterId"), String.valueOf(obj.getCreativeId()), new Date());
                                     }
                                     log.info("拒审重提成功,accountId:{},creativeId:{}", obj.getAccountId(), obj.getCreativeId());