|
@@ -806,14 +806,19 @@ public class OwnCompanyRelController extends BaseController
|
|
|
LambdaQueryWrapper<SysNotice> queryWrapper = new LambdaQueryWrapper<>();
|
|
|
queryWrapper.eq(SysNotice::getTableId,launchScrId);
|
|
|
List<SysNotice> noticeList = iSysNoticeService.findSysNotices(queryWrapper);
|
|
|
- if(noticeList.size() > 0){
|
|
|
+ if (noticeList.size() > 0) {
|
|
|
SysNotice sysNotice = new SysNotice();
|
|
|
sysNotice.setNoticeId(noticeList.get(0).getNoticeId());
|
|
|
sysNotice.setStatus("1");
|
|
|
iSysNoticeService.updateById(sysNotice);
|
|
|
}
|
|
|
- String title = launchCompany.getScyName() + "拒绝了您的链属邀请,请知晓";
|
|
|
- remoteSystemService.sendNotice(launchCompanyId, launchScrId, title, "01", "03", null, "0", use.toString(), null, null, null);
|
|
|
+ if("02".equals(state)) {
|
|
|
+ String title = launchCompany.getScyName() + "拒绝了您的链属邀请,请知晓";
|
|
|
+ remoteSystemService.sendNotice(launchCompanyId, launchScrId, title, "01", "03", null, "0", use.toString(), null, null, null);
|
|
|
+ }else if("01".equals(state)){
|
|
|
+ String title = launchCompany.getScyName() + "同意了您的链属邀请,请知晓";
|
|
|
+ remoteSystemService.sendNotice(launchCompanyId, launchScrId, title, "01", "03", null, "0", use.toString(), null, null, null);
|
|
|
+ }
|
|
|
return R.ok();
|
|
|
}
|
|
|
|