Browse Source

二级审核修改

anderx 2 months ago
parent
commit
639583f54a

+ 2 - 1
src/main/java/com/goafanti/weChat/service/impl/PublicReleaseServiceImpl.java

@@ -402,6 +402,7 @@ public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper
 									}else {
 										str2.append(my.getName()).append("(需审核),准备公出您的企业")
 												.append("[").append(u.getNickname()).append("]。");
+										//添加审核
 										addPublicExamine(in.getId(), admin);
 										if (in.getPublicType() == null || in.getPublicType() == 0) in.setPublicType(1);
 										//审核通知
@@ -1167,7 +1168,7 @@ public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper
 									flag = true;
 								}
 							}
-							if (flag){
+							if (!flag){
 								throw new BusinessException("请勿重复审核,二级审核错误!");
 							}
 							p.setStatus(2);