|
|
@@ -317,7 +317,7 @@ public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper
|
|
|
newMain.setStatus(4);
|
|
|
newMain.setRejectName(ad.getName());
|
|
|
newMain.setAuditInfo(str.toString());
|
|
|
- addpublicLog(id, status, remarks);
|
|
|
+ addpublicLog(mainPublic.getId(), status, remarks);
|
|
|
publicReleaseMapper.updateByPrimaryKeySelective(newMain);
|
|
|
PublicRelease up=new PublicRelease();
|
|
|
up.setId(id);
|
|
|
@@ -325,7 +325,7 @@ public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper
|
|
|
up.setStatus(3);
|
|
|
addpublicLog(id, status, remarks);
|
|
|
publicReleaseMapper.updateByPrimaryKeySelective(up);
|
|
|
- return addPublicLogPlus(mainPublic.getId(), mainPublic.getAid(), str.toString(), status);
|
|
|
+ return addNoticeAndWeChat(mainPublic.getId(), mainPublic.getAid(), str.toString(), status);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -336,7 +336,7 @@ public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper
|
|
|
* @param status 0驳回
|
|
|
* @return
|
|
|
*/
|
|
|
- private Integer addPublicLogPlus(Integer id,String aid, String remarks, Integer status) {
|
|
|
+ private Integer addNoticeAndWeChat(Integer id,String aid, String remarks, Integer status) {
|
|
|
Integer noticeType=0;
|
|
|
if (status ==0)noticeType=NoticeStatus.PUBLIC_RELEASE_NO.getCode();
|
|
|
sendNoticeAndSoucket(aid,noticeType, remarks);
|