智慧保安后台管理-外网项目备份
zengh
2021-08-19 8b464ee379c5b35ac8b22b4e5dde25c4f6fb75cf
src/main/java/org/springblade/modules/desk/controller/NoticeController.java
@@ -95,7 +95,7 @@
   @ApiOperation(value = "分页", notes = "传入notice")
   public R<IPage<NoticeVO>> page(@ApiIgnore NoticeVO notice, Query query) {
      //通过deptId获取组织机构信息
      Dept dept = iDeptService.getById(notice.getDeptId());
//      Dept dept = iDeptService.getById(notice.getDeptId());
//      if (dept.getDeptCategory() == 1) {
//         notice.setCategory(1);
//      } else {
@@ -132,8 +132,6 @@
   @ApiOperationSupport(order = 6)
   @ApiOperation(value = "新增或修改", notes = "传入notice")
   public R submit(@RequestBody Notice notice) throws Exception {
      //调用内网
      arg.test01(arg.url+"/blade-desk/notice/submit",notice);
      return R.status(noticeService.saveOrUpdate(notice));
   }
@@ -144,8 +142,6 @@
   @ApiOperationSupport(order = 7)
   @ApiOperation(value = "逻辑删除", notes = "传入notice")
   public R remove(@ApiParam(value = "主键集合") @RequestParam String ids) throws Exception {
      //调用内网
//      arg.test01(arg.url+"/blade-desk/notice/remove",ids);
      boolean temp = noticeService.deleteLogic(Func.toLongList(ids));
      return R.status(temp);
   }