|
@@ -16,6 +16,7 @@ import com.tianhu.system.service.ISysNoticeService;
|
|
|
import com.tianhu.system.service.ISysNoticeUserRelService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
+import sun.rmi.runtime.NewThreadAction;
|
|
|
|
|
|
import java.util.HashMap;
|
|
|
import java.util.List;
|
|
@@ -82,6 +83,15 @@ public class OwnNoticeController extends BaseController
|
|
|
//获取当前企业的编号
|
|
|
LoginUser userInfo = tokenService.getLoginUser();
|
|
|
SysUser use = userInfo.getSysUser();
|
|
|
+ SysNotice notice = iSysNoticeService.getById(noticeId);
|
|
|
+ System.out.println("notice==========>"+notice);
|
|
|
+ if("09".equals(notice.getWorkType())){
|
|
|
+ SysNotice sysNotice =new SysNotice();
|
|
|
+ sysNotice.setNoticeId(notice.getNoticeId());
|
|
|
+ sysNotice.setStatus("1");
|
|
|
+ iSysNoticeService.updateSysNotice(sysNotice);
|
|
|
+
|
|
|
+ }
|
|
|
//修改已读
|
|
|
Map<String,String > map = new HashMap<>();
|
|
|
map.put("noticeId",noticeId);
|