| | |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = dirService.insertDir(entity); |
| | | dirService.insert(entity); |
| | | |
| | | return success(count); |
| | | return success(entity.getId()); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = dirService.insertDirs(list); |
| | | int count = dirService.inserts(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = dirService.updateDir(entity); |
| | | int count = dirService.update(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | |
| | | } |
| | | } |
| | | |
| | | int count = dirService.updateDirs(list); |
| | | int count = dirService.updates(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "递归查询数据") |
| | | @ApiOperation(value = "递归查询") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "目录名称", dataType = "String", paramType = "query", required = false, example = "中俄东线管道工程南段") |
| | | }) |