智慧保安后台管理-外网
Administrator
2021-08-21 42c85609efefd299782e4629a5ef2b3475e21c76
src/main/java/org/springblade/modules/dispatcher/controller/DispatcherController.java
@@ -134,7 +134,6 @@
            //查询派遣单位的信息,设置行政区
            dispatcher.setJurisdiction(dispatcherUnitService.getById(dispatcher.getDispatcherUnitId()).getJurisdiction().toString());
         }
         arg.test01(arg.url+"/dispatcher/save",dispatcher);
      }
      else {
         if (null != dispatcher.getUserIds() && dispatcher.getUserIds() != "") {
@@ -151,7 +150,6 @@
            //查询派遣单位的信息,设置行政区
            dispatcher.setJurisdiction(dispatcherUnitService.getById(dispatcher.getDispatcherUnitId()).getJurisdiction().toString());
         }
         arg.test01(arg.url+"/dispatcher/update",dispatcher);
      }
      return R.status(dispatcherService.saveOrUpdate(dispatcher));
   }
@@ -165,7 +163,7 @@
   @ApiOperation(value = "删除", notes = "传入ids")
   public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
      //内网删除
      arg.sendPostRemoveByIds(arg.url+"/dispatcher/remove",ids);
      //arg.sendPostRemoveByIds(arg.url+"/dispatcher/remove",ids);
      return R.status(dispatcherService.removeByIds(Func.toLongList(ids)));
   }