|
|
@@ -95,7 +95,7 @@ public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper
|
|
|
Map<String, Object>map=new HashMap<String, Object>();
|
|
|
map.put("id", in.getId());
|
|
|
if (openid!=null) {
|
|
|
- Integer res= weChatUtils.addNotice(openid, in.getStatus(),date,my.getName(),str);
|
|
|
+ Integer res= weChatUtils.addNotice(openid, in.getStatus(),date,my.getName(),"["+my.getName()+"]发起外出申请");
|
|
|
if (res!=0) {
|
|
|
sendEmail(my, a,1);
|
|
|
}
|
|
|
@@ -208,6 +208,9 @@ public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper
|
|
|
}
|
|
|
sendNoticeAndSoucket(a.getId(),type,content);
|
|
|
if (my.getOpenId()!=null) {
|
|
|
+ if (remarks.length()>19) {
|
|
|
+ remarks=remarks.substring(0, 15)+"...";
|
|
|
+ }
|
|
|
Integer res=weChatUtils.addNotice(a.getOpenId(),p.getStatus(),date,my.getName(),remarks);
|
|
|
if (res!=0) {
|
|
|
sendEmail( my, a, status);
|