|
|
@@ -92,7 +92,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(),"["+my.getName()+"]发起外出申请");
|
|
|
+ Integer res= weChatUtils.addNotice(openid, in.getStatus(),in.getId(),date,my.getName(),"["+my.getName()+"]发起外出申请");
|
|
|
if (res!=0) {
|
|
|
sendEmail(my, a,1);
|
|
|
}
|
|
|
@@ -216,7 +216,7 @@ public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper
|
|
|
if (remarks.length()>19) {
|
|
|
remarks=remarks.substring(0, 15)+"...";
|
|
|
}
|
|
|
- Integer res=weChatUtils.addNotice(a.getOpenId(),p.getStatus(),date,my.getName(),remarks);
|
|
|
+ Integer res=weChatUtils.addNotice(a.getOpenId(),p.getStatus(),p.getId(),date,my.getName(),remarks);
|
|
|
if (res!=0) {
|
|
|
sendEmail( my, a, status);
|
|
|
|