Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzou
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzou
提交
db51b8e5
提交
db51b8e5
编写于
9月 07, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zhouweidong 发布系统代码
上级
e64ae1e7
变更
12
隐藏空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
37 行增加
和
37 行删除
+37
-37
sys-team-service-base.ts
app_web/src/service/sys-team/sys-team-service-base.ts
+1
-1
sys-team-service.ts
app_web/src/service/sys-team/sys-team-service.ts
+1
-1
sys-team-ui-service-base.ts
app_web/src/uiservice/sys-team/sys-team-ui-service-base.ts
+1
-1
sys-team-ui-service.ts
app_web/src/uiservice/sys-team/sys-team-ui-service.ts
+1
-1
default-searchform-service.ts
...sys-team/default-searchform/default-searchform-service.ts
+1
-1
main-form-service.ts
app_web/src/widgets/sys-team/main-form/main-form-service.ts
+1
-1
main-grid-service.ts
app_web/src/widgets/sys-team/main-grid/main-grid-service.ts
+1
-1
SysTeam.java
...core/src/main/java/cn/ibizlab/core/ou/domain/SysTeam.java
+1
-1
SysTeamServiceImpl.java
...a/cn/ibizlab/core/ou/service/impl/SysTeamServiceImpl.java
+1
-1
systemResource.json
ibzou-core/src/main/resources/permission/systemResource.json
+1
-1
SysTeamMemberResource.java
.../main/java/cn/ibizlab/api/rest/SysTeamMemberResource.java
+13
-13
SysTeamResource.java
...pi/src/main/java/cn/ibizlab/api/rest/SysTeamResource.java
+14
-14
未找到文件。
app_web/src/service/sys-team/sys-team-service-base.ts
浏览文件 @
db51b8e5
...
...
@@ -4,7 +4,7 @@ import EntityService from '../entity-service';
/**
* 组
1
服务对象基类
* 组服务对象基类
*
* @export
* @class SysTeamServiceBase
...
...
app_web/src/service/sys-team/sys-team-service.ts
浏览文件 @
db51b8e5
...
...
@@ -3,7 +3,7 @@ import SysTeamServiceBase from './sys-team-service-base';
/**
* 组
1
服务对象
* 组服务对象
*
* @export
* @class SysTeamService
...
...
app_web/src/uiservice/sys-team/sys-team-ui-service-base.ts
浏览文件 @
db51b8e5
...
...
@@ -5,7 +5,7 @@ import { Subject } from 'rxjs';
import
SysTeamService
from
'@/service/sys-team/sys-team-service'
;
/**
* 组
1
UI服务对象基类
* 组UI服务对象基类
*
* @export
* @class SysTeamUIServiceBase
...
...
app_web/src/uiservice/sys-team/sys-team-ui-service.ts
浏览文件 @
db51b8e5
import
SysTeamUIServiceBase
from
'./sys-team-ui-service-base'
;
/**
* 组
1
UI服务对象
* 组UI服务对象
*
* @export
* @class SysTeamUIService
...
...
app_web/src/widgets/sys-team/default-searchform/default-searchform-service.ts
浏览文件 @
db51b8e5
...
...
@@ -13,7 +13,7 @@ import DefaultModel from './default-searchform-model';
export
default
class
DefaultService
extends
ControlService
{
/**
* 组
1
服务对象
* 组服务对象
*
* @type {SysTeamService}
* @memberof DefaultService
...
...
app_web/src/widgets/sys-team/main-form/main-form-service.ts
浏览文件 @
db51b8e5
...
...
@@ -13,7 +13,7 @@ import MainModel from './main-form-model';
export
default
class
MainService
extends
ControlService
{
/**
* 组
1
服务对象
* 组服务对象
*
* @type {SysTeamService}
* @memberof MainService
...
...
app_web/src/widgets/sys-team/main-grid/main-grid-service.ts
浏览文件 @
db51b8e5
...
...
@@ -13,7 +13,7 @@ import MainModel from './main-grid-model';
export
default
class
MainService
extends
ControlService
{
/**
* 组
1
服务对象
* 组服务对象
*
* @type {SysTeamService}
* @memberof MainService
...
...
ibzou-core/src/main/java/cn/ibizlab/core/ou/domain/SysTeam.java
浏览文件 @
db51b8e5
...
...
@@ -29,7 +29,7 @@ import com.baomidou.mybatisplus.annotation.*;
import
cn.ibizlab.util.domain.EntityMP
;
/**
* 实体[组
1
]
* 实体[组]
*/
@Getter
@Setter
...
...
ibzou-core/src/main/java/cn/ibizlab/core/ou/service/impl/SysTeamServiceImpl.java
浏览文件 @
db51b8e5
...
...
@@ -40,7 +40,7 @@ import com.alibaba.fastjson.JSONObject;
import
org.springframework.util.StringUtils
;
/**
* 实体[组
1
] 服务对象接口实现
* 实体[组] 服务对象接口实现
*/
@Slf4j
@Service
(
"SysTeamServiceImpl"
)
...
...
ibzou-core/src/main/resources/permission/systemResource.json
浏览文件 @
db51b8e5
...
...
@@ -29,7 +29,7 @@
}
,
{
"dename"
:
"SysTeam"
,
"delogicname"
:
"组
1
"
,
"delogicname"
:
"组"
,
"sysmoudle"
:{
"id"
:
"OU"
,
"name"
:
"ou"
},
"dedataset"
:[{
"id"
:
"Default"
,
"name"
:
"DEFAULT"
}],
"deaction"
:[{
"id"
:
"Create"
,
"name"
:
"Create"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Update"
,
"name"
:
"Update"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Remove"
,
"name"
:
"Remove"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Get"
,
"name"
:
"Get"
,
"type"
:
"BUILTIN"
},{
"id"
:
"GetDraft"
,
"name"
:
"GetDraft"
,
"type"
:
"BUILTIN"
},{
"id"
:
"CheckKey"
,
"name"
:
"CheckKey"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Save"
,
"name"
:
"Save"
,
"type"
:
"BUILTIN"
}],
...
...
ibzou-provider/ibzou-provider-api/src/main/java/cn/ibizlab/api/rest/SysTeamMemberResource.java
浏览文件 @
db51b8e5
...
...
@@ -285,7 +285,7 @@ public class SysTeamMemberResource {
.
body
(
new
PageImpl
(
systeammemberMapping
.
toDto
(
domains
.
getContent
()),
context
.
getPageable
(),
domains
.
getTotalElements
()));
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzou-SysTeamMember-Create-all')"
)
@ApiOperation
(
value
=
"根据组
1建立组成员"
,
tags
=
{
"组成员"
},
notes
=
"根据组1
建立组成员"
)
@ApiOperation
(
value
=
"根据组
建立组成员"
,
tags
=
{
"组成员"
},
notes
=
"根据组
建立组成员"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/systeams/{systeam_id}/systeammembers"
)
public
ResponseEntity
<
SysTeamMemberDTO
>
createBySysTeam
(
@PathVariable
(
"systeam_id"
)
String
systeam_id
,
@RequestBody
SysTeamMemberDTO
systeammemberdto
)
{
SysTeamMember
domain
=
systeammemberMapping
.
toDomain
(
systeammemberdto
);
...
...
@@ -296,7 +296,7 @@ public class SysTeamMemberResource {
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzou-SysTeamMember-Create-all')"
)
@ApiOperation
(
value
=
"根据组
1批量建立组成员"
,
tags
=
{
"组成员"
},
notes
=
"根据组1
批量建立组成员"
)
@ApiOperation
(
value
=
"根据组
批量建立组成员"
,
tags
=
{
"组成员"
},
notes
=
"根据组
批量建立组成员"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/systeams/{systeam_id}/systeammembers/batch"
)
public
ResponseEntity
<
Boolean
>
createBatchBySysTeam
(
@PathVariable
(
"systeam_id"
)
String
systeam_id
,
@RequestBody
List
<
SysTeamMemberDTO
>
systeammemberdtos
)
{
List
<
SysTeamMember
>
domainlist
=
systeammemberMapping
.
toDomain
(
systeammemberdtos
);
...
...
@@ -308,7 +308,7 @@ public class SysTeamMemberResource {
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzou-SysTeamMember-Update-all')"
)
@ApiOperation
(
value
=
"根据组
1更新组成员"
,
tags
=
{
"组成员"
},
notes
=
"根据组1
更新组成员"
)
@ApiOperation
(
value
=
"根据组
更新组成员"
,
tags
=
{
"组成员"
},
notes
=
"根据组
更新组成员"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/systeams/{systeam_id}/systeammembers/{systeammember_id}"
)
public
ResponseEntity
<
SysTeamMemberDTO
>
updateBySysTeam
(
@PathVariable
(
"systeam_id"
)
String
systeam_id
,
@PathVariable
(
"systeammember_id"
)
String
systeammember_id
,
@RequestBody
SysTeamMemberDTO
systeammemberdto
)
{
SysTeamMember
domain
=
systeammemberMapping
.
toDomain
(
systeammemberdto
);
...
...
@@ -320,7 +320,7 @@ public class SysTeamMemberResource {
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzou-SysTeamMember-Update-all')"
)
@ApiOperation
(
value
=
"根据组
1批量更新组成员"
,
tags
=
{
"组成员"
},
notes
=
"根据组1
批量更新组成员"
)
@ApiOperation
(
value
=
"根据组
批量更新组成员"
,
tags
=
{
"组成员"
},
notes
=
"根据组
批量更新组成员"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/systeams/{systeam_id}/systeammembers/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatchBySysTeam
(
@PathVariable
(
"systeam_id"
)
String
systeam_id
,
@RequestBody
List
<
SysTeamMemberDTO
>
systeammemberdtos
)
{
List
<
SysTeamMember
>
domainlist
=
systeammemberMapping
.
toDomain
(
systeammemberdtos
);
...
...
@@ -332,14 +332,14 @@ public class SysTeamMemberResource {
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzou-SysTeamMember-Remove-all')"
)
@ApiOperation
(
value
=
"根据组
1删除组成员"
,
tags
=
{
"组成员"
},
notes
=
"根据组1
删除组成员"
)
@ApiOperation
(
value
=
"根据组
删除组成员"
,
tags
=
{
"组成员"
},
notes
=
"根据组
删除组成员"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/systeams/{systeam_id}/systeammembers/{systeammember_id}"
)
public
ResponseEntity
<
Boolean
>
removeBySysTeam
(
@PathVariable
(
"systeam_id"
)
String
systeam_id
,
@PathVariable
(
"systeammember_id"
)
String
systeammember_id
)
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
systeammemberService
.
remove
(
systeammember_id
));
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzou-SysTeamMember-Remove-all')"
)
@ApiOperation
(
value
=
"根据组
1批量删除组成员"
,
tags
=
{
"组成员"
},
notes
=
"根据组1
批量删除组成员"
)
@ApiOperation
(
value
=
"根据组
批量删除组成员"
,
tags
=
{
"组成员"
},
notes
=
"根据组
批量删除组成员"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/systeams/{systeam_id}/systeammembers/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatchBySysTeam
(
@RequestBody
List
<
String
>
ids
)
{
systeammemberService
.
removeBatch
(
ids
);
...
...
@@ -347,7 +347,7 @@ public class SysTeamMemberResource {
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzou-SysTeamMember-Get-all')"
)
@ApiOperation
(
value
=
"根据组
1获取组成员"
,
tags
=
{
"组成员"
},
notes
=
"根据组1
获取组成员"
)
@ApiOperation
(
value
=
"根据组
获取组成员"
,
tags
=
{
"组成员"
},
notes
=
"根据组
获取组成员"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/systeams/{systeam_id}/systeammembers/{systeammember_id}"
)
public
ResponseEntity
<
SysTeamMemberDTO
>
getBySysTeam
(
@PathVariable
(
"systeam_id"
)
String
systeam_id
,
@PathVariable
(
"systeammember_id"
)
String
systeammember_id
)
{
SysTeamMember
domain
=
systeammemberService
.
get
(
systeammember_id
);
...
...
@@ -355,7 +355,7 @@ public class SysTeamMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@ApiOperation
(
value
=
"根据组
1获取组成员草稿"
,
tags
=
{
"组成员"
},
notes
=
"根据组1
获取组成员草稿"
)
@ApiOperation
(
value
=
"根据组
获取组成员草稿"
,
tags
=
{
"组成员"
},
notes
=
"根据组
获取组成员草稿"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/systeams/{systeam_id}/systeammembers/getdraft"
)
public
ResponseEntity
<
SysTeamMemberDTO
>
getDraftBySysTeam
(
@PathVariable
(
"systeam_id"
)
String
systeam_id
)
{
SysTeamMember
domain
=
new
SysTeamMember
();
...
...
@@ -363,14 +363,14 @@ public class SysTeamMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
systeammemberMapping
.
toDto
(
systeammemberService
.
getDraft
(
domain
)));
}
@ApiOperation
(
value
=
"根据组
1检查组成员"
,
tags
=
{
"组成员"
},
notes
=
"根据组1
检查组成员"
)
@ApiOperation
(
value
=
"根据组
检查组成员"
,
tags
=
{
"组成员"
},
notes
=
"根据组
检查组成员"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/systeams/{systeam_id}/systeammembers/checkkey"
)
public
ResponseEntity
<
Boolean
>
checkKeyBySysTeam
(
@PathVariable
(
"systeam_id"
)
String
systeam_id
,
@RequestBody
SysTeamMemberDTO
systeammemberdto
)
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
systeammemberService
.
checkKey
(
systeammemberMapping
.
toDomain
(
systeammemberdto
)));
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzou-SysTeamMember-Save-all')"
)
@ApiOperation
(
value
=
"根据组
1保存组成员"
,
tags
=
{
"组成员"
},
notes
=
"根据组1
保存组成员"
)
@ApiOperation
(
value
=
"根据组
保存组成员"
,
tags
=
{
"组成员"
},
notes
=
"根据组
保存组成员"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/systeams/{systeam_id}/systeammembers/save"
)
public
ResponseEntity
<
Boolean
>
saveBySysTeam
(
@PathVariable
(
"systeam_id"
)
String
systeam_id
,
@RequestBody
SysTeamMemberDTO
systeammemberdto
)
{
SysTeamMember
domain
=
systeammemberMapping
.
toDomain
(
systeammemberdto
);
...
...
@@ -379,7 +379,7 @@ public class SysTeamMemberResource {
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzou-SysTeamMember-Save-all')"
)
@ApiOperation
(
value
=
"根据组
1批量保存组成员"
,
tags
=
{
"组成员"
},
notes
=
"根据组1
批量保存组成员"
)
@ApiOperation
(
value
=
"根据组
批量保存组成员"
,
tags
=
{
"组成员"
},
notes
=
"根据组
批量保存组成员"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/systeams/{systeam_id}/systeammembers/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatchBySysTeam
(
@PathVariable
(
"systeam_id"
)
String
systeam_id
,
@RequestBody
List
<
SysTeamMemberDTO
>
systeammemberdtos
)
{
List
<
SysTeamMember
>
domainlist
=
systeammemberMapping
.
toDomain
(
systeammemberdtos
);
...
...
@@ -391,7 +391,7 @@ public class SysTeamMemberResource {
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzou-SysTeamMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据组
1获取DEFAULT"
,
tags
=
{
"组成员"
}
,
notes
=
"根据组1
获取DEFAULT"
)
@ApiOperation
(
value
=
"根据组
获取DEFAULT"
,
tags
=
{
"组成员"
}
,
notes
=
"根据组
获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/systeams/{systeam_id}/systeammembers/fetchdefault"
)
public
ResponseEntity
<
List
<
SysTeamMemberDTO
>>
fetchSysTeamMemberDefaultBySysTeam
(
@PathVariable
(
"systeam_id"
)
String
systeam_id
,
SysTeamMemberSearchContext
context
)
{
context
.
setN_teamid_eq
(
systeam_id
);
...
...
@@ -405,7 +405,7 @@ public class SysTeamMemberResource {
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzou-SysTeamMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据组
1查询DEFAULT"
,
tags
=
{
"组成员"
}
,
notes
=
"根据组1
查询DEFAULT"
)
@ApiOperation
(
value
=
"根据组
查询DEFAULT"
,
tags
=
{
"组成员"
}
,
notes
=
"根据组
查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/systeams/{systeam_id}/systeammembers/searchdefault"
)
public
ResponseEntity
<
Page
<
SysTeamMemberDTO
>>
searchSysTeamMemberDefaultBySysTeam
(
@PathVariable
(
"systeam_id"
)
String
systeam_id
,
@RequestBody
SysTeamMemberSearchContext
context
)
{
context
.
setN_teamid_eq
(
systeam_id
);
...
...
ibzou-provider/ibzou-provider-api/src/main/java/cn/ibizlab/api/rest/SysTeamResource.java
浏览文件 @
db51b8e5
...
...
@@ -34,7 +34,7 @@ import cn.ibizlab.core.ou.filter.SysTeamSearchContext;
import
cn.ibizlab.util.annotation.VersionCheck
;
@Slf4j
@Api
(
tags
=
{
"组
1
"
})
@Api
(
tags
=
{
"组"
})
@RestController
(
"api-systeam"
)
@RequestMapping
(
""
)
public
class
SysTeamResource
{
...
...
@@ -47,7 +47,7 @@ public class SysTeamResource {
public
SysTeamMapping
systeamMapping
;
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzou-SysTeam-Create-all')"
)
@ApiOperation
(
value
=
"新建组
1"
,
tags
=
{
"组1"
},
notes
=
"新建组1
"
)
@ApiOperation
(
value
=
"新建组
"
,
tags
=
{
"组"
},
notes
=
"新建组
"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/systeams"
)
public
ResponseEntity
<
SysTeamDTO
>
create
(
@RequestBody
SysTeamDTO
systeamdto
)
{
SysTeam
domain
=
systeamMapping
.
toDomain
(
systeamdto
);
...
...
@@ -57,7 +57,7 @@ public class SysTeamResource {
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzou-SysTeam-Create-all')"
)
@ApiOperation
(
value
=
"批量新建组
1"
,
tags
=
{
"组1"
},
notes
=
"批量新建组1
"
)
@ApiOperation
(
value
=
"批量新建组
"
,
tags
=
{
"组"
},
notes
=
"批量新建组
"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/systeams/batch"
)
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
SysTeamDTO
>
systeamdtos
)
{
systeamService
.
createBatch
(
systeamMapping
.
toDomain
(
systeamdtos
));
...
...
@@ -65,7 +65,7 @@ public class SysTeamResource {
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzou-SysTeam-Update-all')"
)
@ApiOperation
(
value
=
"更新组
1"
,
tags
=
{
"组1"
},
notes
=
"更新组1
"
)
@ApiOperation
(
value
=
"更新组
"
,
tags
=
{
"组"
},
notes
=
"更新组
"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/systeams/{systeam_id}"
)
public
ResponseEntity
<
SysTeamDTO
>
update
(
@PathVariable
(
"systeam_id"
)
String
systeam_id
,
@RequestBody
SysTeamDTO
systeamdto
)
{
SysTeam
domain
=
systeamMapping
.
toDomain
(
systeamdto
);
...
...
@@ -76,7 +76,7 @@ public class SysTeamResource {
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzou-SysTeam-Update-all')"
)
@ApiOperation
(
value
=
"批量更新组
1"
,
tags
=
{
"组1"
},
notes
=
"批量更新组1
"
)
@ApiOperation
(
value
=
"批量更新组
"
,
tags
=
{
"组"
},
notes
=
"批量更新组
"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/systeams/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
SysTeamDTO
>
systeamdtos
)
{
systeamService
.
updateBatch
(
systeamMapping
.
toDomain
(
systeamdtos
));
...
...
@@ -84,14 +84,14 @@ public class SysTeamResource {
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzou-SysTeam-Remove-all')"
)
@ApiOperation
(
value
=
"删除组
1"
,
tags
=
{
"组1"
},
notes
=
"删除组1
"
)
@ApiOperation
(
value
=
"删除组
"
,
tags
=
{
"组"
},
notes
=
"删除组
"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/systeams/{systeam_id}"
)
public
ResponseEntity
<
Boolean
>
remove
(
@PathVariable
(
"systeam_id"
)
String
systeam_id
)
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
systeamService
.
remove
(
systeam_id
));
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzou-SysTeam-Remove-all')"
)
@ApiOperation
(
value
=
"批量删除组
1"
,
tags
=
{
"组1"
},
notes
=
"批量删除组1
"
)
@ApiOperation
(
value
=
"批量删除组
"
,
tags
=
{
"组"
},
notes
=
"批量删除组
"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/systeams/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
systeamService
.
removeBatch
(
ids
);
...
...
@@ -99,7 +99,7 @@ public class SysTeamResource {
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzou-SysTeam-Get-all')"
)
@ApiOperation
(
value
=
"获取组
1"
,
tags
=
{
"组1"
},
notes
=
"获取组1
"
)
@ApiOperation
(
value
=
"获取组
"
,
tags
=
{
"组"
},
notes
=
"获取组
"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/systeams/{systeam_id}"
)
public
ResponseEntity
<
SysTeamDTO
>
get
(
@PathVariable
(
"systeam_id"
)
String
systeam_id
)
{
SysTeam
domain
=
systeamService
.
get
(
systeam_id
);
...
...
@@ -107,27 +107,27 @@ public class SysTeamResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@ApiOperation
(
value
=
"获取组
1草稿"
,
tags
=
{
"组1"
},
notes
=
"获取组1
草稿"
)
@ApiOperation
(
value
=
"获取组
草稿"
,
tags
=
{
"组"
},
notes
=
"获取组
草稿"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/systeams/getdraft"
)
public
ResponseEntity
<
SysTeamDTO
>
getDraft
()
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
systeamMapping
.
toDto
(
systeamService
.
getDraft
(
new
SysTeam
())));
}
@ApiOperation
(
value
=
"检查组
1"
,
tags
=
{
"组1"
},
notes
=
"检查组1
"
)
@ApiOperation
(
value
=
"检查组
"
,
tags
=
{
"组"
},
notes
=
"检查组
"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/systeams/checkkey"
)
public
ResponseEntity
<
Boolean
>
checkKey
(
@RequestBody
SysTeamDTO
systeamdto
)
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
systeamService
.
checkKey
(
systeamMapping
.
toDomain
(
systeamdto
)));
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzou-SysTeam-Save-all')"
)
@ApiOperation
(
value
=
"保存组
1"
,
tags
=
{
"组1"
},
notes
=
"保存组1
"
)
@ApiOperation
(
value
=
"保存组
"
,
tags
=
{
"组"
},
notes
=
"保存组
"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/systeams/save"
)
public
ResponseEntity
<
Boolean
>
save
(
@RequestBody
SysTeamDTO
systeamdto
)
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
systeamService
.
save
(
systeamMapping
.
toDomain
(
systeamdto
)));
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzou-SysTeam-Save-all')"
)
@ApiOperation
(
value
=
"批量保存组
1"
,
tags
=
{
"组1"
},
notes
=
"批量保存组1
"
)
@ApiOperation
(
value
=
"批量保存组
"
,
tags
=
{
"组"
},
notes
=
"批量保存组
"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/systeams/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
SysTeamDTO
>
systeamdtos
)
{
systeamService
.
saveBatch
(
systeamMapping
.
toDomain
(
systeamdtos
));
...
...
@@ -135,7 +135,7 @@ public class SysTeamResource {
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzou-SysTeam-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"组
1
"
}
,
notes
=
"获取DEFAULT"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"组"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/systeams/fetchdefault"
)
public
ResponseEntity
<
List
<
SysTeamDTO
>>
fetchDefault
(
SysTeamSearchContext
context
)
{
Page
<
SysTeam
>
domains
=
systeamService
.
searchDefault
(
context
)
;
...
...
@@ -148,7 +148,7 @@ public class SysTeamResource {
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzou-SysTeam-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"组
1
"
}
,
notes
=
"查询DEFAULT"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"组"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/systeams/searchdefault"
)
public
ResponseEntity
<
Page
<
SysTeamDTO
>>
searchDefault
(
@RequestBody
SysTeamSearchContext
context
)
{
Page
<
SysTeam
>
domains
=
systeamService
.
searchDefault
(
context
)
;
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录