| | |
| | | //查询派遣单位的信息,设置行政区 |
| | | dispatcher.setJurisdiction(dispatcherUnitService.getById(dispatcher.getDispatcherUnitId()).getJurisdiction().toString()); |
| | | } |
| | | arg.test01(arg.url+"/dispatcher/save",dispatcher); |
| | | //arg.test01(arg.url+"/dispatcher/save",dispatcher); |
| | | } |
| | | else { |
| | | if (null != dispatcher.getUserIds() && dispatcher.getUserIds() != "") { |
| | |
| | | //查询派遣单位的信息,设置行政区 |
| | | dispatcher.setJurisdiction(dispatcherUnitService.getById(dispatcher.getDispatcherUnitId()).getJurisdiction().toString()); |
| | | } |
| | | arg.test01(arg.url+"/dispatcher/update",dispatcher); |
| | | //arg.test01(arg.url+"/dispatcher/update",dispatcher); |
| | | } |
| | | return R.status(dispatcherService.saveOrUpdate(dispatcher)); |
| | | } |
| | |
| | | @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))); |
| | | } |
| | | |