Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzrt
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzrt
提交
51ee647c
提交
51ee647c
编写于
6月 24, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibiz4j 发布系统代码
上级
e29ccbf7
变更
29
显示空白字符变更
内嵌
并排
正在显示
29 个修改的文件
包含
98 行增加
和
28 行删除
+98
-28
config.xml
config.xml
+0
-5
Dockerfile
ibzrt-app/ibzrt-app-web/src/main/docker/Dockerfile
+1
-1
ibzrt-app-web.yaml
ibzrt-app/ibzrt-app-web/src/main/docker/ibzrt-app-web.yaml
+1
-14
DictCatalogResource.java
...rc/main/java/cn/ibizlab/api/rest/DictCatalogResource.java
+2
-0
DictOptionResource.java
...src/main/java/cn/ibizlab/api/rest/DictOptionResource.java
+4
-0
IBZDepartmentResource.java
.../main/java/cn/ibizlab/api/rest/IBZDepartmentResource.java
+4
-0
IBZDeptMemberResource.java
.../main/java/cn/ibizlab/api/rest/IBZDeptMemberResource.java
+14
-0
IBZEmployeeResource.java
...rc/main/java/cn/ibizlab/api/rest/IBZEmployeeResource.java
+8
-8
IBZOrganizationResource.java
...ain/java/cn/ibizlab/api/rest/IBZOrganizationResource.java
+2
-0
IBZPostResource.java
...pi/src/main/java/cn/ibizlab/api/rest/IBZPostResource.java
+2
-0
IBZTeamMemberResource.java
.../main/java/cn/ibizlab/api/rest/IBZTeamMemberResource.java
+12
-0
IBZTeamResource.java
...pi/src/main/java/cn/ibizlab/api/rest/IBZTeamResource.java
+2
-0
JobsInfoResource.java
...i/src/main/java/cn/ibizlab/api/rest/JobsInfoResource.java
+2
-0
JobsLockResource.java
...i/src/main/java/cn/ibizlab/api/rest/JobsLockResource.java
+2
-0
JobsLogResource.java
...pi/src/main/java/cn/ibizlab/api/rest/JobsLogResource.java
+2
-0
JobsRegistryResource.java
...c/main/java/cn/ibizlab/api/rest/JobsRegistryResource.java
+2
-0
SysAppResource.java
...api/src/main/java/cn/ibizlab/api/rest/SysAppResource.java
+2
-0
SysAuthLogResource.java
...src/main/java/cn/ibizlab/api/rest/SysAuthLogResource.java
+2
-0
SysPermissionResource.java
.../main/java/cn/ibizlab/api/rest/SysPermissionResource.java
+2
-0
SysRolePermissionResource.java
...n/java/cn/ibizlab/api/rest/SysRolePermissionResource.java
+6
-0
SysRoleResource.java
...pi/src/main/java/cn/ibizlab/api/rest/SysRoleResource.java
+2
-0
SysUserResource.java
...pi/src/main/java/cn/ibizlab/api/rest/SysUserResource.java
+2
-0
SysUserRoleResource.java
...rc/main/java/cn/ibizlab/api/rest/SysUserRoleResource.java
+6
-0
WFGroupResource.java
...pi/src/main/java/cn/ibizlab/api/rest/WFGroupResource.java
+2
-0
WFMemberResource.java
...i/src/main/java/cn/ibizlab/api/rest/WFMemberResource.java
+6
-0
WFProcessDefinitionResource.java
...java/cn/ibizlab/api/rest/WFProcessDefinitionResource.java
+2
-0
WFREModelResource.java
.../src/main/java/cn/ibizlab/api/rest/WFREModelResource.java
+2
-0
WFSystemResource.java
...i/src/main/java/cn/ibizlab/api/rest/WFSystemResource.java
+2
-0
WFUserResource.java
...api/src/main/java/cn/ibizlab/api/rest/WFUserResource.java
+2
-0
未找到文件。
config.xml
浏览文件 @
51ee647c
...
...
@@ -37,11 +37,6 @@
git clone -b master $para2 ibzrt/
export NODE_OPTIONS=--max-old-space-size=4096
cd ibzrt/
mvn clean package -Pweb
cd ibzrt-app/ibzrt-app-web
mvn -Pweb docker:build
mvn -Pweb docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/ibzrt-app-web.yaml ibzlab-rt --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
...
...
ibzrt-app/ibzrt-app-web/src/main/docker/Dockerfile
浏览文件 @
51ee647c
...
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzrt-app-web.jar
EXPOSE
3000
0
EXPOSE
808
0
ADD
ibzrt-app-web.jar /ibzrt-app-web.jar
ibzrt-app/ibzrt-app-web/src/main/docker/ibzrt-app-web.yaml
浏览文件 @
51ee647c
...
...
@@ -3,22 +3,9 @@ services:
ibzrt-app-web
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ibzrt-app-web:latest
ports
:
-
"
30000:3000
0"
-
"
8080:808
0"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.180.237
-
SERVER_PORT=30000
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.102.211:8848
-
SPRING_REDIS_HOST=172.16.100.243
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=a_A_5d9d78509
-
SPRING_DATASOURCE_PASSWORD=@6dEfb3@
-
SPRING_DATASOURCE_URL=jdbc:mysql://172.16.180.232:3306/a_A_5d9d78509?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=a_A_5d9d78509
-
NACOS=172.16.102.211:8848
deploy
:
resources
:
limits
:
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/DictCatalogResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class DictCatalogResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dictcatalogService
.
checkKey
(
dictcatalogMapping
.
toDomain
(
dictcatalogdto
)));
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-DictCatalog-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"字典"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/dictcatalogs/fetchdefault"
)
public
ResponseEntity
<
List
<
DictCatalogDTO
>>
fetchDefault
(
DictCatalogSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class DictCatalogResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-DictCatalog-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"字典"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/dictcatalogs/searchdefault"
)
public
ResponseEntity
<
Page
<
DictCatalogDTO
>>
searchDefault
(
@RequestBody
DictCatalogSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/DictOptionResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class DictOptionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-DictOption-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"字典项"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/dictoptions/fetchdefault"
)
public
ResponseEntity
<
List
<
DictOptionDTO
>>
fetchDefault
(
DictOptionSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class DictOptionResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-DictOption-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"字典项"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/dictoptions/searchdefault"
)
public
ResponseEntity
<
Page
<
DictOptionDTO
>>
searchDefault
(
@RequestBody
DictOptionSearchContext
context
)
{
...
...
@@ -247,6 +249,7 @@ public class DictOptionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-DictOption-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据字典获取DEFAULT"
,
tags
=
{
"字典项"
}
,
notes
=
"根据字典获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/dictcatalogs/{dictcatalog_id}/dictoptions/fetchdefault"
)
public
ResponseEntity
<
List
<
DictOptionDTO
>>
fetchDictOptionDefaultByDictCatalog
(
@PathVariable
(
"dictcatalog_id"
)
String
dictcatalog_id
,
DictOptionSearchContext
context
)
{
...
...
@@ -260,6 +263,7 @@ public class DictOptionResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-DictOption-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据字典查询DEFAULT"
,
tags
=
{
"字典项"
}
,
notes
=
"根据字典查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/dictcatalogs/{dictcatalog_id}/dictoptions/searchdefault"
)
public
ResponseEntity
<
Page
<
DictOptionDTO
>>
searchDictOptionDefaultByDictCatalog
(
@PathVariable
(
"dictcatalog_id"
)
String
dictcatalog_id
,
@RequestBody
DictOptionSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/IBZDepartmentResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class IBZDepartmentResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdepartmentMapping
.
toDto
(
ibzdepartmentService
.
getDraft
(
new
IBZDepartment
())));
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZDepartment-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"部门"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/ibzdepartments/fetchdefault"
)
public
ResponseEntity
<
List
<
IBZDepartmentDTO
>>
fetchDefault
(
IBZDepartmentSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class IBZDepartmentResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZDepartment-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"部门"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdepartments/searchdefault"
)
public
ResponseEntity
<
Page
<
IBZDepartmentDTO
>>
searchDefault
(
@RequestBody
IBZDepartmentSearchContext
context
)
{
...
...
@@ -247,6 +249,7 @@ public class IBZDepartmentResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdepartmentMapping
.
toDto
(
ibzdepartmentService
.
getDraft
(
domain
)));
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZDepartment-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据单位机构获取DEFAULT"
,
tags
=
{
"部门"
}
,
notes
=
"根据单位机构获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/fetchdefault"
)
public
ResponseEntity
<
List
<
IBZDepartmentDTO
>>
fetchIBZDepartmentDefaultByIBZOrganization
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
IBZDepartmentSearchContext
context
)
{
...
...
@@ -260,6 +263,7 @@ public class IBZDepartmentResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZDepartment-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据单位机构查询DEFAULT"
,
tags
=
{
"部门"
}
,
notes
=
"根据单位机构查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/searchdefault"
)
public
ResponseEntity
<
Page
<
IBZDepartmentDTO
>>
searchIBZDepartmentDefaultByIBZOrganization
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@RequestBody
IBZDepartmentSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/IBZDeptMemberResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZDeptMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"部门成员"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/ibzdeptmembers/fetchdefault"
)
public
ResponseEntity
<
List
<
IBZDeptMemberDTO
>>
fetchDefault
(
IBZDeptMemberSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class IBZDeptMemberResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZDeptMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"部门成员"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdeptmembers/searchdefault"
)
public
ResponseEntity
<
Page
<
IBZDeptMemberDTO
>>
searchDefault
(
@RequestBody
IBZDeptMemberSearchContext
context
)
{
...
...
@@ -247,6 +249,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZDeptMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据部门获取DEFAULT"
,
tags
=
{
"部门成员"
}
,
notes
=
"根据部门获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzdeptmembers/fetchdefault"
)
public
ResponseEntity
<
List
<
IBZDeptMemberDTO
>>
fetchIBZDeptMemberDefaultByIBZDepartment
(
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
IBZDeptMemberSearchContext
context
)
{
...
...
@@ -260,6 +263,7 @@ public class IBZDeptMemberResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZDeptMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据部门查询DEFAULT"
,
tags
=
{
"部门成员"
}
,
notes
=
"根据部门查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzdeptmembers/searchdefault"
)
public
ResponseEntity
<
Page
<
IBZDeptMemberDTO
>>
searchIBZDeptMemberDefaultByIBZDepartment
(
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@RequestBody
IBZDeptMemberSearchContext
context
)
{
...
...
@@ -368,6 +372,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZDeptMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据人员获取DEFAULT"
,
tags
=
{
"部门成员"
}
,
notes
=
"根据人员获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/ibzemployees/{ibzemployee_id}/ibzdeptmembers/fetchdefault"
)
public
ResponseEntity
<
List
<
IBZDeptMemberDTO
>>
fetchIBZDeptMemberDefaultByIBZEmployee
(
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
IBZDeptMemberSearchContext
context
)
{
...
...
@@ -381,6 +386,7 @@ public class IBZDeptMemberResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZDeptMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据人员查询DEFAULT"
,
tags
=
{
"部门成员"
}
,
notes
=
"根据人员查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzemployees/{ibzemployee_id}/ibzdeptmembers/searchdefault"
)
public
ResponseEntity
<
Page
<
IBZDeptMemberDTO
>>
searchIBZDeptMemberDefaultByIBZEmployee
(
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
IBZDeptMemberSearchContext
context
)
{
...
...
@@ -489,6 +495,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZDeptMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据部门人员获取DEFAULT"
,
tags
=
{
"部门成员"
}
,
notes
=
"根据部门人员获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/fetchdefault"
)
public
ResponseEntity
<
List
<
IBZDeptMemberDTO
>>
fetchIBZDeptMemberDefaultByIBZDepartmentIBZEmployee
(
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
IBZDeptMemberSearchContext
context
)
{
...
...
@@ -502,6 +509,7 @@ public class IBZDeptMemberResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZDeptMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据部门人员查询DEFAULT"
,
tags
=
{
"部门成员"
}
,
notes
=
"根据部门人员查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/searchdefault"
)
public
ResponseEntity
<
Page
<
IBZDeptMemberDTO
>>
searchIBZDeptMemberDefaultByIBZDepartmentIBZEmployee
(
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
IBZDeptMemberSearchContext
context
)
{
...
...
@@ -610,6 +618,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZDeptMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据单位机构部门获取DEFAULT"
,
tags
=
{
"部门成员"
}
,
notes
=
"根据单位机构部门获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzdeptmembers/fetchdefault"
)
public
ResponseEntity
<
List
<
IBZDeptMemberDTO
>>
fetchIBZDeptMemberDefaultByIBZOrganizationIBZDepartment
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
IBZDeptMemberSearchContext
context
)
{
...
...
@@ -623,6 +632,7 @@ public class IBZDeptMemberResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZDeptMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据单位机构部门查询DEFAULT"
,
tags
=
{
"部门成员"
}
,
notes
=
"根据单位机构部门查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzdeptmembers/searchdefault"
)
public
ResponseEntity
<
Page
<
IBZDeptMemberDTO
>>
searchIBZDeptMemberDefaultByIBZOrganizationIBZDepartment
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@RequestBody
IBZDeptMemberSearchContext
context
)
{
...
...
@@ -731,6 +741,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZDeptMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据单位机构人员获取DEFAULT"
,
tags
=
{
"部门成员"
}
,
notes
=
"根据单位机构人员获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/fetchdefault"
)
public
ResponseEntity
<
List
<
IBZDeptMemberDTO
>>
fetchIBZDeptMemberDefaultByIBZOrganizationIBZEmployee
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
IBZDeptMemberSearchContext
context
)
{
...
...
@@ -744,6 +755,7 @@ public class IBZDeptMemberResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZDeptMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据单位机构人员查询DEFAULT"
,
tags
=
{
"部门成员"
}
,
notes
=
"根据单位机构人员查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/searchdefault"
)
public
ResponseEntity
<
Page
<
IBZDeptMemberDTO
>>
searchIBZDeptMemberDefaultByIBZOrganizationIBZEmployee
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
IBZDeptMemberSearchContext
context
)
{
...
...
@@ -852,6 +864,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZDeptMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据单位机构部门人员获取DEFAULT"
,
tags
=
{
"部门成员"
}
,
notes
=
"根据单位机构部门人员获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/fetchdefault"
)
public
ResponseEntity
<
List
<
IBZDeptMemberDTO
>>
fetchIBZDeptMemberDefaultByIBZOrganizationIBZDepartmentIBZEmployee
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
IBZDeptMemberSearchContext
context
)
{
...
...
@@ -865,6 +878,7 @@ public class IBZDeptMemberResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZDeptMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据单位机构部门人员查询DEFAULT"
,
tags
=
{
"部门成员"
}
,
notes
=
"根据单位机构部门人员查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/searchdefault"
)
public
ResponseEntity
<
Page
<
IBZDeptMemberDTO
>>
searchIBZDeptMemberDefaultByIBZOrganizationIBZDepartmentIBZEmployee
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
IBZDeptMemberSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/IBZEmployeeResource.java
浏览文件 @
51ee647c
...
...
@@ -149,7 +149,7 @@ public class IBZEmployeeResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZEmployee-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZEmployee-
search
Default-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"人员"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/ibzemployees/fetchdefault"
)
public
ResponseEntity
<
List
<
IBZEmployeeDTO
>>
fetchDefault
(
IBZEmployeeSearchContext
context
)
{
...
...
@@ -162,7 +162,7 @@ public class IBZEmployeeResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZEmployee-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZEmployee-
search
Default-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"人员"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzemployees/searchdefault"
)
public
ResponseEntity
<
Page
<
IBZEmployeeDTO
>>
searchDefault
(
@RequestBody
IBZEmployeeSearchContext
context
)
{
...
...
@@ -291,7 +291,7 @@ public class IBZEmployeeResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZEmployee-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZEmployee-
search
Default-all')"
)
@ApiOperation
(
value
=
"根据部门获取DEFAULT"
,
tags
=
{
"人员"
}
,
notes
=
"根据部门获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzemployees/fetchdefault"
)
public
ResponseEntity
<
List
<
IBZEmployeeDTO
>>
fetchIBZEmployeeDefaultByIBZDepartment
(
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
IBZEmployeeSearchContext
context
)
{
...
...
@@ -305,7 +305,7 @@ public class IBZEmployeeResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZEmployee-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZEmployee-
search
Default-all')"
)
@ApiOperation
(
value
=
"根据部门查询DEFAULT"
,
tags
=
{
"人员"
}
,
notes
=
"根据部门查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzemployees/searchdefault"
)
public
ResponseEntity
<
Page
<
IBZEmployeeDTO
>>
searchIBZEmployeeDefaultByIBZDepartment
(
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@RequestBody
IBZEmployeeSearchContext
context
)
{
...
...
@@ -435,7 +435,7 @@ public class IBZEmployeeResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZEmployee-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZEmployee-
search
Default-all')"
)
@ApiOperation
(
value
=
"根据单位机构获取DEFAULT"
,
tags
=
{
"人员"
}
,
notes
=
"根据单位机构获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzemployees/fetchdefault"
)
public
ResponseEntity
<
List
<
IBZEmployeeDTO
>>
fetchIBZEmployeeDefaultByIBZOrganization
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
IBZEmployeeSearchContext
context
)
{
...
...
@@ -449,7 +449,7 @@ public class IBZEmployeeResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZEmployee-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZEmployee-
search
Default-all')"
)
@ApiOperation
(
value
=
"根据单位机构查询DEFAULT"
,
tags
=
{
"人员"
}
,
notes
=
"根据单位机构查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzemployees/searchdefault"
)
public
ResponseEntity
<
Page
<
IBZEmployeeDTO
>>
searchIBZEmployeeDefaultByIBZOrganization
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@RequestBody
IBZEmployeeSearchContext
context
)
{
...
...
@@ -579,7 +579,7 @@ public class IBZEmployeeResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZEmployee-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZEmployee-
search
Default-all')"
)
@ApiOperation
(
value
=
"根据单位机构部门获取DEFAULT"
,
tags
=
{
"人员"
}
,
notes
=
"根据单位机构部门获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzemployees/fetchdefault"
)
public
ResponseEntity
<
List
<
IBZEmployeeDTO
>>
fetchIBZEmployeeDefaultByIBZOrganizationIBZDepartment
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
IBZEmployeeSearchContext
context
)
{
...
...
@@ -593,7 +593,7 @@ public class IBZEmployeeResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZEmployee-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZEmployee-
search
Default-all')"
)
@ApiOperation
(
value
=
"根据单位机构部门查询DEFAULT"
,
tags
=
{
"人员"
}
,
notes
=
"根据单位机构部门查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzemployees/searchdefault"
)
public
ResponseEntity
<
Page
<
IBZEmployeeDTO
>>
searchIBZEmployeeDefaultByIBZOrganizationIBZDepartment
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@RequestBody
IBZEmployeeSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/IBZOrganizationResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class IBZOrganizationResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZOrganization-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"单位机构"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/ibzorganizations/fetchdefault"
)
public
ResponseEntity
<
List
<
IBZOrganizationDTO
>>
fetchDefault
(
IBZOrganizationSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class IBZOrganizationResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZOrganization-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"单位机构"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/searchdefault"
)
public
ResponseEntity
<
Page
<
IBZOrganizationDTO
>>
searchDefault
(
@RequestBody
IBZOrganizationSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/IBZPostResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class IBZPostResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZPost-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"岗位"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/ibzposts/fetchdefault"
)
public
ResponseEntity
<
List
<
IBZPostDTO
>>
fetchDefault
(
IBZPostSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class IBZPostResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZPost-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"岗位"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzposts/searchdefault"
)
public
ResponseEntity
<
Page
<
IBZPostDTO
>>
searchDefault
(
@RequestBody
IBZPostSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/IBZTeamMemberResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class IBZTeamMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZTeamMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"组成员"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/ibzteammembers/fetchdefault"
)
public
ResponseEntity
<
List
<
IBZTeamMemberDTO
>>
fetchDefault
(
IBZTeamMemberSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class IBZTeamMemberResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZTeamMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"组成员"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzteammembers/searchdefault"
)
public
ResponseEntity
<
Page
<
IBZTeamMemberDTO
>>
searchDefault
(
@RequestBody
IBZTeamMemberSearchContext
context
)
{
...
...
@@ -247,6 +249,7 @@ public class IBZTeamMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZTeamMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据人员获取DEFAULT"
,
tags
=
{
"组成员"
}
,
notes
=
"根据人员获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/ibzemployees/{ibzemployee_id}/ibzteammembers/fetchdefault"
)
public
ResponseEntity
<
List
<
IBZTeamMemberDTO
>>
fetchIBZTeamMemberDefaultByIBZEmployee
(
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
IBZTeamMemberSearchContext
context
)
{
...
...
@@ -260,6 +263,7 @@ public class IBZTeamMemberResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZTeamMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据人员查询DEFAULT"
,
tags
=
{
"组成员"
}
,
notes
=
"根据人员查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzemployees/{ibzemployee_id}/ibzteammembers/searchdefault"
)
public
ResponseEntity
<
Page
<
IBZTeamMemberDTO
>>
searchIBZTeamMemberDefaultByIBZEmployee
(
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
IBZTeamMemberSearchContext
context
)
{
...
...
@@ -368,6 +372,7 @@ public class IBZTeamMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZTeamMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据组获取DEFAULT"
,
tags
=
{
"组成员"
}
,
notes
=
"根据组获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/ibzteams/{ibzteam_id}/ibzteammembers/fetchdefault"
)
public
ResponseEntity
<
List
<
IBZTeamMemberDTO
>>
fetchIBZTeamMemberDefaultByIBZTeam
(
@PathVariable
(
"ibzteam_id"
)
String
ibzteam_id
,
IBZTeamMemberSearchContext
context
)
{
...
...
@@ -381,6 +386,7 @@ public class IBZTeamMemberResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZTeamMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据组查询DEFAULT"
,
tags
=
{
"组成员"
}
,
notes
=
"根据组查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzteams/{ibzteam_id}/ibzteammembers/searchdefault"
)
public
ResponseEntity
<
Page
<
IBZTeamMemberDTO
>>
searchIBZTeamMemberDefaultByIBZTeam
(
@PathVariable
(
"ibzteam_id"
)
String
ibzteam_id
,
@RequestBody
IBZTeamMemberSearchContext
context
)
{
...
...
@@ -489,6 +495,7 @@ public class IBZTeamMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZTeamMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据部门人员获取DEFAULT"
,
tags
=
{
"组成员"
}
,
notes
=
"根据部门人员获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzteammembers/fetchdefault"
)
public
ResponseEntity
<
List
<
IBZTeamMemberDTO
>>
fetchIBZTeamMemberDefaultByIBZDepartmentIBZEmployee
(
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
IBZTeamMemberSearchContext
context
)
{
...
...
@@ -502,6 +509,7 @@ public class IBZTeamMemberResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZTeamMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据部门人员查询DEFAULT"
,
tags
=
{
"组成员"
}
,
notes
=
"根据部门人员查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzteammembers/searchdefault"
)
public
ResponseEntity
<
Page
<
IBZTeamMemberDTO
>>
searchIBZTeamMemberDefaultByIBZDepartmentIBZEmployee
(
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
IBZTeamMemberSearchContext
context
)
{
...
...
@@ -610,6 +618,7 @@ public class IBZTeamMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZTeamMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据单位机构人员获取DEFAULT"
,
tags
=
{
"组成员"
}
,
notes
=
"根据单位机构人员获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzemployees/{ibzemployee_id}/ibzteammembers/fetchdefault"
)
public
ResponseEntity
<
List
<
IBZTeamMemberDTO
>>
fetchIBZTeamMemberDefaultByIBZOrganizationIBZEmployee
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
IBZTeamMemberSearchContext
context
)
{
...
...
@@ -623,6 +632,7 @@ public class IBZTeamMemberResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZTeamMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据单位机构人员查询DEFAULT"
,
tags
=
{
"组成员"
}
,
notes
=
"根据单位机构人员查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzemployees/{ibzemployee_id}/ibzteammembers/searchdefault"
)
public
ResponseEntity
<
Page
<
IBZTeamMemberDTO
>>
searchIBZTeamMemberDefaultByIBZOrganizationIBZEmployee
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
IBZTeamMemberSearchContext
context
)
{
...
...
@@ -731,6 +741,7 @@ public class IBZTeamMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZTeamMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据单位机构部门人员获取DEFAULT"
,
tags
=
{
"组成员"
}
,
notes
=
"根据单位机构部门人员获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzteammembers/fetchdefault"
)
public
ResponseEntity
<
List
<
IBZTeamMemberDTO
>>
fetchIBZTeamMemberDefaultByIBZOrganizationIBZDepartmentIBZEmployee
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
IBZTeamMemberSearchContext
context
)
{
...
...
@@ -744,6 +755,7 @@ public class IBZTeamMemberResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZTeamMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据单位机构部门人员查询DEFAULT"
,
tags
=
{
"组成员"
}
,
notes
=
"根据单位机构部门人员查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzteammembers/searchdefault"
)
public
ResponseEntity
<
Page
<
IBZTeamMemberDTO
>>
searchIBZTeamMemberDefaultByIBZOrganizationIBZDepartmentIBZEmployee
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
IBZTeamMemberSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/IBZTeamResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class IBZTeamResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzteamMapping
.
toDto
(
ibzteamService
.
getDraft
(
new
IBZTeam
())));
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZTeam-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"组"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/ibzteams/fetchdefault"
)
public
ResponseEntity
<
List
<
IBZTeamDTO
>>
fetchDefault
(
IBZTeamSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class IBZTeamResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-IBZTeam-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"组"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzteams/searchdefault"
)
public
ResponseEntity
<
Page
<
IBZTeamDTO
>>
searchDefault
(
@RequestBody
IBZTeamSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/JobsInfoResource.java
浏览文件 @
51ee647c
...
...
@@ -161,6 +161,7 @@ public class JobsInfoResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-JobsInfo-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"任务信息"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/jobsinfos/fetchdefault"
)
public
ResponseEntity
<
List
<
JobsInfoDTO
>>
fetchDefault
(
JobsInfoSearchContext
context
)
{
...
...
@@ -173,6 +174,7 @@ public class JobsInfoResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-JobsInfo-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"任务信息"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/jobsinfos/searchdefault"
)
public
ResponseEntity
<
Page
<
JobsInfoDTO
>>
searchDefault
(
@RequestBody
JobsInfoSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/JobsLockResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class JobsLockResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-JobsLock-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"任务锁"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/jobslocks/fetchdefault"
)
public
ResponseEntity
<
List
<
JobsLockDTO
>>
fetchDefault
(
JobsLockSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class JobsLockResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-JobsLock-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"任务锁"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/jobslocks/searchdefault"
)
public
ResponseEntity
<
Page
<
JobsLockDTO
>>
searchDefault
(
@RequestBody
JobsLockSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/JobsLogResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class JobsLogResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-JobsLog-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"任务调度日志"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/jobslogs/fetchdefault"
)
public
ResponseEntity
<
List
<
JobsLogDTO
>>
fetchDefault
(
JobsLogSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class JobsLogResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-JobsLog-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"任务调度日志"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/jobslogs/searchdefault"
)
public
ResponseEntity
<
Page
<
JobsLogDTO
>>
searchDefault
(
@RequestBody
JobsLogSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/JobsRegistryResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class JobsRegistryResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-JobsRegistry-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"任务注册信息"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/jobsregistries/fetchdefault"
)
public
ResponseEntity
<
List
<
JobsRegistryDTO
>>
fetchDefault
(
JobsRegistrySearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class JobsRegistryResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-JobsRegistry-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"任务注册信息"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/jobsregistries/searchdefault"
)
public
ResponseEntity
<
Page
<
JobsRegistryDTO
>>
searchDefault
(
@RequestBody
JobsRegistrySearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/SysAppResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class SysAppResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysappService
.
checkKey
(
sysappMapping
.
toDomain
(
sysappdto
)));
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-SysApp-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"应用"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sysapps/fetchdefault"
)
public
ResponseEntity
<
List
<
SysAppDTO
>>
fetchDefault
(
SysAppSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class SysAppResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-SysApp-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"应用"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysapps/searchdefault"
)
public
ResponseEntity
<
Page
<
SysAppDTO
>>
searchDefault
(
@RequestBody
SysAppSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/SysAuthLogResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class SysAuthLogResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-SysAuthLog-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"认证日志"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sysauthlogs/fetchdefault"
)
public
ResponseEntity
<
List
<
SysAuthLogDTO
>>
fetchDefault
(
SysAuthLogSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class SysAuthLogResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-SysAuthLog-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"认证日志"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysauthlogs/searchdefault"
)
public
ResponseEntity
<
Page
<
SysAuthLogDTO
>>
searchDefault
(
@RequestBody
SysAuthLogSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/SysPermissionResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class SysPermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-SysPermission-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"权限/资源"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/syspermissions/fetchdefault"
)
public
ResponseEntity
<
List
<
SysPermissionDTO
>>
fetchDefault
(
SysPermissionSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class SysPermissionResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-SysPermission-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"权限/资源"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/syspermissions/searchdefault"
)
public
ResponseEntity
<
Page
<
SysPermissionDTO
>>
searchDefault
(
@RequestBody
SysPermissionSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/SysRolePermissionResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class SysRolePermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-SysRolePermission-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"角色权限关系"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sysrolepermissions/fetchdefault"
)
public
ResponseEntity
<
List
<
SysRolePermissionDTO
>>
fetchDefault
(
SysRolePermissionSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class SysRolePermissionResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-SysRolePermission-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"角色权限关系"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysrolepermissions/searchdefault"
)
public
ResponseEntity
<
Page
<
SysRolePermissionDTO
>>
searchDefault
(
@RequestBody
SysRolePermissionSearchContext
context
)
{
...
...
@@ -247,6 +249,7 @@ public class SysRolePermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-SysRolePermission-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据权限/资源获取DEFAULT"
,
tags
=
{
"角色权限关系"
}
,
notes
=
"根据权限/资源获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/syspermissions/{syspermission_id}/sysrolepermissions/fetchdefault"
)
public
ResponseEntity
<
List
<
SysRolePermissionDTO
>>
fetchSysRolePermissionDefaultBySysPermission
(
@PathVariable
(
"syspermission_id"
)
String
syspermission_id
,
SysRolePermissionSearchContext
context
)
{
...
...
@@ -260,6 +263,7 @@ public class SysRolePermissionResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-SysRolePermission-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据权限/资源查询DEFAULT"
,
tags
=
{
"角色权限关系"
}
,
notes
=
"根据权限/资源查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/syspermissions/{syspermission_id}/sysrolepermissions/searchdefault"
)
public
ResponseEntity
<
Page
<
SysRolePermissionDTO
>>
searchSysRolePermissionDefaultBySysPermission
(
@PathVariable
(
"syspermission_id"
)
String
syspermission_id
,
@RequestBody
SysRolePermissionSearchContext
context
)
{
...
...
@@ -368,6 +372,7 @@ public class SysRolePermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-SysRolePermission-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据系统角色获取DEFAULT"
,
tags
=
{
"角色权限关系"
}
,
notes
=
"根据系统角色获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sysroles/{sysrole_id}/sysrolepermissions/fetchdefault"
)
public
ResponseEntity
<
List
<
SysRolePermissionDTO
>>
fetchSysRolePermissionDefaultBySysRole
(
@PathVariable
(
"sysrole_id"
)
String
sysrole_id
,
SysRolePermissionSearchContext
context
)
{
...
...
@@ -381,6 +386,7 @@ public class SysRolePermissionResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-SysRolePermission-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据系统角色查询DEFAULT"
,
tags
=
{
"角色权限关系"
}
,
notes
=
"根据系统角色查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysroles/{sysrole_id}/sysrolepermissions/searchdefault"
)
public
ResponseEntity
<
Page
<
SysRolePermissionDTO
>>
searchSysRolePermissionDefaultBySysRole
(
@PathVariable
(
"sysrole_id"
)
String
sysrole_id
,
@RequestBody
SysRolePermissionSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/SysRoleResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class SysRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysroleService
.
checkKey
(
sysroleMapping
.
toDomain
(
sysroledto
)));
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-SysRole-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"系统角色"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sysroles/fetchdefault"
)
public
ResponseEntity
<
List
<
SysRoleDTO
>>
fetchDefault
(
SysRoleSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class SysRoleResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-SysRole-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"系统角色"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysroles/searchdefault"
)
public
ResponseEntity
<
Page
<
SysRoleDTO
>>
searchDefault
(
@RequestBody
SysRoleSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/SysUserResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class SysUserResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-SysUser-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"系统用户"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sysusers/fetchdefault"
)
public
ResponseEntity
<
List
<
SysUserDTO
>>
fetchDefault
(
SysUserSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class SysUserResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-SysUser-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"系统用户"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysusers/searchdefault"
)
public
ResponseEntity
<
Page
<
SysUserDTO
>>
searchDefault
(
@RequestBody
SysUserSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/SysUserRoleResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class SysUserRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-SysUserRole-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"用户角色关系"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sysuserroles/fetchdefault"
)
public
ResponseEntity
<
List
<
SysUserRoleDTO
>>
fetchDefault
(
SysUserRoleSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class SysUserRoleResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-SysUserRole-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"用户角色关系"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysuserroles/searchdefault"
)
public
ResponseEntity
<
Page
<
SysUserRoleDTO
>>
searchDefault
(
@RequestBody
SysUserRoleSearchContext
context
)
{
...
...
@@ -247,6 +249,7 @@ public class SysUserRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-SysUserRole-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据系统角色获取DEFAULT"
,
tags
=
{
"用户角色关系"
}
,
notes
=
"根据系统角色获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sysroles/{sysrole_id}/sysuserroles/fetchdefault"
)
public
ResponseEntity
<
List
<
SysUserRoleDTO
>>
fetchSysUserRoleDefaultBySysRole
(
@PathVariable
(
"sysrole_id"
)
String
sysrole_id
,
SysUserRoleSearchContext
context
)
{
...
...
@@ -260,6 +263,7 @@ public class SysUserRoleResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-SysUserRole-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据系统角色查询DEFAULT"
,
tags
=
{
"用户角色关系"
}
,
notes
=
"根据系统角色查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysroles/{sysrole_id}/sysuserroles/searchdefault"
)
public
ResponseEntity
<
Page
<
SysUserRoleDTO
>>
searchSysUserRoleDefaultBySysRole
(
@PathVariable
(
"sysrole_id"
)
String
sysrole_id
,
@RequestBody
SysUserRoleSearchContext
context
)
{
...
...
@@ -368,6 +372,7 @@ public class SysUserRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-SysUserRole-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据系统用户获取DEFAULT"
,
tags
=
{
"用户角色关系"
}
,
notes
=
"根据系统用户获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sysusers/{sysuser_id}/sysuserroles/fetchdefault"
)
public
ResponseEntity
<
List
<
SysUserRoleDTO
>>
fetchSysUserRoleDefaultBySysUser
(
@PathVariable
(
"sysuser_id"
)
String
sysuser_id
,
SysUserRoleSearchContext
context
)
{
...
...
@@ -381,6 +386,7 @@ public class SysUserRoleResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-SysUserRole-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据系统用户查询DEFAULT"
,
tags
=
{
"用户角色关系"
}
,
notes
=
"根据系统用户查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysusers/{sysuser_id}/sysuserroles/searchdefault"
)
public
ResponseEntity
<
Page
<
SysUserRoleDTO
>>
searchSysUserRoleDefaultBySysUser
(
@PathVariable
(
"sysuser_id"
)
String
sysuser_id
,
@RequestBody
SysUserRoleSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/WFGroupResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class WFGroupResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-WFGroup-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"角色/用户组"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/wfgroups/fetchdefault"
)
public
ResponseEntity
<
List
<
WFGroupDTO
>>
fetchDefault
(
WFGroupSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class WFGroupResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-WFGroup-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"角色/用户组"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/wfgroups/searchdefault"
)
public
ResponseEntity
<
Page
<
WFGroupDTO
>>
searchDefault
(
@RequestBody
WFGroupSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/WFMemberResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class WFMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-WFMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"成员"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/wfmembers/fetchdefault"
)
public
ResponseEntity
<
List
<
WFMemberDTO
>>
fetchDefault
(
WFMemberSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class WFMemberResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-WFMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"成员"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/wfmembers/searchdefault"
)
public
ResponseEntity
<
Page
<
WFMemberDTO
>>
searchDefault
(
@RequestBody
WFMemberSearchContext
context
)
{
...
...
@@ -247,6 +249,7 @@ public class WFMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-WFMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据角色/用户组获取DEFAULT"
,
tags
=
{
"成员"
}
,
notes
=
"根据角色/用户组获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/wfgroups/{wfgroup_id}/wfmembers/fetchdefault"
)
public
ResponseEntity
<
List
<
WFMemberDTO
>>
fetchWFMemberDefaultByWFGroup
(
@PathVariable
(
"wfgroup_id"
)
String
wfgroup_id
,
WFMemberSearchContext
context
)
{
...
...
@@ -260,6 +263,7 @@ public class WFMemberResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-WFMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据角色/用户组查询DEFAULT"
,
tags
=
{
"成员"
}
,
notes
=
"根据角色/用户组查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/wfgroups/{wfgroup_id}/wfmembers/searchdefault"
)
public
ResponseEntity
<
Page
<
WFMemberDTO
>>
searchWFMemberDefaultByWFGroup
(
@PathVariable
(
"wfgroup_id"
)
String
wfgroup_id
,
@RequestBody
WFMemberSearchContext
context
)
{
...
...
@@ -368,6 +372,7 @@ public class WFMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-WFMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据用户获取DEFAULT"
,
tags
=
{
"成员"
}
,
notes
=
"根据用户获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/wfusers/{wfuser_id}/wfmembers/fetchdefault"
)
public
ResponseEntity
<
List
<
WFMemberDTO
>>
fetchWFMemberDefaultByWFUser
(
@PathVariable
(
"wfuser_id"
)
String
wfuser_id
,
WFMemberSearchContext
context
)
{
...
...
@@ -381,6 +386,7 @@ public class WFMemberResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-WFMember-searchDefault-all')"
)
@ApiOperation
(
value
=
"根据用户查询DEFAULT"
,
tags
=
{
"成员"
}
,
notes
=
"根据用户查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/wfusers/{wfuser_id}/wfmembers/searchdefault"
)
public
ResponseEntity
<
Page
<
WFMemberDTO
>>
searchWFMemberDefaultByWFUser
(
@PathVariable
(
"wfuser_id"
)
String
wfuser_id
,
@RequestBody
WFMemberSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/WFProcessDefinitionResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class WFProcessDefinitionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-WFProcessDefinition-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"流程定义"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/wfprocessdefinitions/fetchdefault"
)
public
ResponseEntity
<
List
<
WFProcessDefinitionDTO
>>
fetchDefault
(
WFProcessDefinitionSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class WFProcessDefinitionResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-WFProcessDefinition-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"流程定义"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/wfprocessdefinitions/searchdefault"
)
public
ResponseEntity
<
Page
<
WFProcessDefinitionDTO
>>
searchDefault
(
@RequestBody
WFProcessDefinitionSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/WFREModelResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class WFREModelResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
wfremodelService
.
checkKey
(
wfremodelMapping
.
toDomain
(
wfremodeldto
)));
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-WFREModel-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"流程模型"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/wfremodels/fetchdefault"
)
public
ResponseEntity
<
List
<
WFREModelDTO
>>
fetchDefault
(
WFREModelSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class WFREModelResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-WFREModel-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"流程模型"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/wfremodels/searchdefault"
)
public
ResponseEntity
<
Page
<
WFREModelDTO
>>
searchDefault
(
@RequestBody
WFREModelSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/WFSystemResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class WFSystemResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-WFSystem-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"系统"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/wfsystems/fetchdefault"
)
public
ResponseEntity
<
List
<
WFSystemDTO
>>
fetchDefault
(
WFSystemSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class WFSystemResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-WFSystem-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"系统"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/wfsystems/searchdefault"
)
public
ResponseEntity
<
Page
<
WFSystemDTO
>>
searchDefault
(
@RequestBody
WFSystemSearchContext
context
)
{
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/rest/WFUserResource.java
浏览文件 @
51ee647c
...
...
@@ -128,6 +128,7 @@ public class WFUserResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-WFUser-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"用户"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/wfusers/fetchdefault"
)
public
ResponseEntity
<
List
<
WFUserDTO
>>
fetchDefault
(
WFUserSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class WFUserResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzrt-WFUser-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"用户"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/wfusers/searchdefault"
)
public
ResponseEntity
<
Page
<
WFUserDTO
>>
searchDefault
(
@RequestBody
WFUserSearchContext
context
)
{
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录