|
|
@@ -581,8 +581,9 @@ public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper
|
|
|
}
|
|
|
AdminListBo my = adminMapper.getDeptNameByAid(TokenManager.getAdminId());
|
|
|
sendNoticeAndSoucket(a.getId(),status,content.toString());
|
|
|
-
|
|
|
- publicReleaseMapper.updateByPrimaryKeySelective(p);
|
|
|
+ if (p.getStatus()!=null||p.getPublicType()!=null){
|
|
|
+ publicReleaseMapper.updateByPrimaryKeySelective(p);
|
|
|
+ }
|
|
|
if (a.getOpenId()!=null) {
|
|
|
if (remarks.length()>19) {
|
|
|
remarks=remarks.substring(0, 15)+"...";
|