Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzuaa
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzuaa
提交
7d8c8f40
提交
7d8c8f40
编写于
5月 25, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibiz4j 发布系统代码
上级
2fc2ef66
变更
24
显示空白字符变更
内嵌
并排
正在显示
24 个修改的文件
包含
190 行增加
和
136 行删除
+190
-136
app-wf-approval.less
app_web/src/components/app-wf-approval/app-wf-approval.less
+6
-6
app-wf-approval.vue
app_web/src/components/app-wf-approval/app-wf-approval.vue
+63
-66
entity-service.ts
app_web/src/service/entity-service.ts
+1
-1
main-grid.less
app_web/src/widgets/sys-auth-log/main-grid/main-grid.less
+4
-0
main-form-base.vue
...b/src/widgets/sys-permission/main-form/main-form-base.vue
+10
-0
main-grid.less
app_web/src/widgets/sys-permission/main-grid/main-grid.less
+4
-0
main-form-base.vue
.../widgets/sys-role-permission/main-form/main-form-base.vue
+10
-0
main-grid.less
.../src/widgets/sys-role-permission/main-grid/main-grid.less
+4
-0
main-form-base.vue
app_web/src/widgets/sys-role/main-form/main-form-base.vue
+10
-0
main-grid.less
app_web/src/widgets/sys-role/main-grid/main-grid.less
+4
-0
main-form-base.vue
...eb/src/widgets/sys-user-role/main-form/main-form-base.vue
+10
-0
main-grid.less
app_web/src/widgets/sys-user-role/main-grid/main-grid.less
+4
-0
main-form-base.vue
app_web/src/widgets/sys-user/main-form/main-form-base.vue
+10
-0
main-grid.less
app_web/src/widgets/sys-user/main-grid/main-grid.less
+4
-0
config.xml
config.xml
+0
-5
Dockerfile
...a-provider/ibzuaa-provider-api/src/main/docker/Dockerfile
+1
-1
ibzuaa-provider-api.yaml
...uaa-provider-api/src/main/docker/ibzuaa-provider-api.yaml
+1
-13
SysAuthLogResource.java
...src/main/java/cn/ibizlab/api/rest/SysAuthLogResource.java
+4
-4
SysPSSystemResource.java
...rc/main/java/cn/ibizlab/api/rest/SysPSSystemResource.java
+4
-4
SysPermissionResource.java
.../main/java/cn/ibizlab/api/rest/SysPermissionResource.java
+4
-4
SysRolePermissionResource.java
...n/java/cn/ibizlab/api/rest/SysRolePermissionResource.java
+12
-12
SysRoleResource.java
...pi/src/main/java/cn/ibizlab/api/rest/SysRoleResource.java
+4
-4
SysUserResource.java
...pi/src/main/java/cn/ibizlab/api/rest/SysUserResource.java
+4
-4
SysUserRoleResource.java
...rc/main/java/cn/ibizlab/api/rest/SysUserRoleResource.java
+12
-12
未找到文件。
app_web/src/components/app-wf-approval/app-wf-approval.less
浏览文件 @
7d8c8f40
.app-wf-approval{
width:
400px
;
width:
100%
;
.app-wf-approval-header{
width: 100%;
text-align: center;
background: #
9acdf5
;
background: #
e5eaef
;
height: 32px;
line-height: 32px;
font-size: 16px;
...
...
@@ -15,7 +15,7 @@
.app-wf-approval-bottom{
width: 100%;
text-align: center;
background: #
9acdf5
;
background: #
e5eaef
;
height: 32px;
line-height: 32px;
font-size: 16px;
...
...
@@ -32,11 +32,12 @@
font-size: 16px;
border-bottom: 1px solid #565656;
.approval-content-item-left{
width:
30%
;
width:
130px
;
padding: 8px;
text-align: center;
}
.approval-content-item-right{
width:
70%
;
width:
calc(100% - 130px)
;
border-left:1px solid #565656;
.approval-content-item-wait{
padding: 0px 4px;
...
...
@@ -79,7 +80,6 @@
}
}
.approval-content-item-memo{
border-top:1px solid #565656;
padding: 0px 4px;
.el-textarea__inner{
border: 0px !important;
...
...
app_web/src/components/app-wf-approval/app-wf-approval.vue
浏览文件 @
7d8c8f40
...
...
@@ -4,7 +4,7 @@
<span
class=
"approval-header-left"
>
{{
data
.
startTime
}}
</span>
<span>
{{
data
.
startUserName
}}
提交
</span>
</div>
<div
class=
"app-wf-approval-content"
v-if=
"data.usertasks.length >0"
>
<div
class=
"app-wf-approval-content"
v-if=
"data.usertasks
&& data.usertasks
.length >0"
>
<div
class=
"approval-content-item"
v-for=
"(usertask,index) in data.usertasks"
:key=
"index"
>
<div
class=
"approval-content-item-left"
>
{{
usertask
.
userTaskName
}}
...
...
@@ -24,8 +24,8 @@
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"approval-content-item-memo"
v
-
if
=
"usertask.userTaskId ===
'tid-2-c60d498abacb47b510e0aa9d64a55e57'
"
>
<
el
-
input
type
=
"textarea"
:
rows
=
"2"
v
-
model
=
"input
"
placeholder
=
"请输入内容"
><
/el-input
>
<
div
class
=
"approval-content-item-memo"
v
-
if
=
"usertask.userTaskId ===
viewparams.userTaskId
"
>
<
el
-
input
type
=
"textarea"
v
-
model
=
"initmemo"
:
rows
=
"2"
@
blur
=
"handleBlur
"
placeholder
=
"请输入内容"
><
/el-input
>
<
/div
>
<
/div
>
<
/div
>
...
...
@@ -36,80 +36,77 @@
<
/div
>
<
/template
>
<
script
lang
=
'ts'
>
import
{
Vue
,
Component
}
from
'vue-property-decorator'
;
import
{
Vue
,
Component
,
Prop
,
Model
}
from
'vue-property-decorator'
;
@
Component
({
}
)
export
default
class
AppWFApproval
extends
Vue
{
public
input
:
any
=
""
;
/**
* 双向绑定值
*
* @memberof AppWFApproval
*/
@
Model
(
'change'
)
value
!
:
string
;
/**
* 数据
*
* @memberof AppWFApproval
*/
public
data
:
any
=
{
}
;
/**
*
传入数据
*
初始化memo
*
* @memberof AppWFApproval
*/
public
data
:
any
=
{
"id"
:
"40833204-9be4-11ea-9c94-0242130d84ce"
,
"name"
:
null
,
"processDefinitionKey"
:
null
,
"processDefinitionName"
:
null
,
"businessKey"
:
"DC20200522022"
,
"startTime"
:
"2020-05-22 12:25:22"
,
"endTime"
:
null
,
"startUserId"
:
"001-004_0001"
,
"startUserName"
:
"隆俊杰"
,
"usertasks"
:
[{
"userTaskId"
:
"tid-1-1f3eda90105907e25e6f2e8c0f82b903"
,
"userTaskName"
:
"管理员审批"
,
"processDefinitionKey"
:
null
,
"processDefinitionName"
:
null
,
"identitylinks"
:
[],
"comments"
:
[{
"id"
:
"44eddf40-9be4-11ea-9c94-0242130d84ce"
,
"author"
:
"001-004_0001"
,
"authorName"
:
"隆俊杰"
,
"fullMessage"
:
""
,
"time"
:
"2020-05-22 12:25:29"
,
"type"
:
"审批不通过"
,
"taskId"
:
"40844383-9be4-11ea-9c94-0242130d84ce"
,
"processInstanceId"
:
"40833204-9be4-11ea-9c94-0242130d84ce"
,
"processInstanceBusinessKey"
:
"DC20200522022"
}
,
{
"id"
:
"b39cfc68-9be4-11ea-9c94-0242130d84ce"
,
"author"
:
"450000-000"
,
"authorName"
:
"ibzadmin"
,
"fullMessage"
:
""
,
"time"
:
"2020-05-22 12:28:35"
,
"type"
:
"审批不通过"
,
"taskId"
:
"a6c57ad1-9be4-11ea-9c94-0242130d84ce"
,
"processInstanceId"
:
"40833204-9be4-11ea-9c94-0242130d84ce"
,
"processInstanceBusinessKey"
:
"DC20200522022"
}
]
}
,
{
"userTaskId"
:
"tid-2-c60d498abacb47b510e0aa9d64a55e57"
,
"userTaskName"
:
"被驳回"
,
"processDefinitionKey"
:
null
,
"processDefinitionName"
:
null
,
"identitylinks"
:
[{
"id"
:
"001-004_0001"
,
"firstname"
:
null
,
"displayname"
:
"隆俊杰"
}
],
"comments"
:
[{
"id"
:
"a6c21f6e-9be4-11ea-9c94-0242130d84ce"
,
"author"
:
"001-004_0001"
,
"authorName"
:
"隆俊杰"
,
"fullMessage"
:
""
,
"time"
:
"2020-05-22 12:28:14"
,
"type"
:
"提交"
,
"taskId"
:
"44f09e63-9be4-11ea-9c94-0242130d84ce"
,
"processInstanceId"
:
"40833204-9be4-11ea-9c94-0242130d84ce"
,
"processInstanceBusinessKey"
:
"DC20200522022"
}
]
}
]
}
;
public
initmemo
:
string
=
""
;
/**
* 传入数据服务
*
* @memberof AppWFApproval
*/
@
Prop
()
public
service
:
any
;
/**
* 上下文
*
* @memberof AppWFApproval
*/
@
Prop
()
public
context
:
any
;
/**
* 视图参数
*
* @memberof AppWFApproval
*/
@
Prop
()
public
viewparams
:
any
;
/**
* 初始化数据
*
* @memberof AppWFApproval
*/
public
created
(){
if
(
this
.
service
){
this
.
service
.
GetWFHistory
(
this
.
context
).
then
((
res
:
any
)
=>
{
if
(
res
&&
(
res
.
status
===
200
)){
this
.
data
=
res
.
data
;
}
}
)
}
}
/**
* 抛出wfprocmemo
*
* @memberof AppWFApproval
*/
public
handleBlur
(
$event
:
any
){
this
.
$emit
(
'change'
,
$event
.
target
.
value
);
}
}
<
/script
>
...
...
app_web/src/service/entity-service.ts
浏览文件 @
7d8c8f40
...
...
@@ -775,7 +775,7 @@ export default class EntityService {
* @memberof EntityService
*/
public
async
GetWFHistory
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
return
Http
.
getInstance
().
get
(
`/
${
this
.
SYSTEMNAME
}
-app-
${
this
.
APPNAME
}
/
${
this
.
APPDENAME
}
/
${
context
[
this
.
APPLYDEKEY
]}
/process-instances/alls/history`
);
return
Http
.
getInstance
().
get
(
`/
wfcore/
${
this
.
SYSTEMNAME
}
-app-
${
this
.
APPNAME
}
/
${
this
.
APPDENAME
}
/
${
context
[
this
.
APPLYDEKEY
]}
/process-instances/alls/history`
);
}
/**
...
...
app_web/src/widgets/sys-auth-log/main-grid/main-grid.less
浏览文件 @
7d8c8f40
...
...
@@ -25,6 +25,10 @@
overflow: hidden;
word-break: break-all;
}
.el-table-column--selection .cell {
padding-left: 0px;
padding-right: 0px;
}
.app-column-link, .app-format-data{
display: inline;
}
...
...
app_web/src/widgets/sys-permission/main-form/main-form-base.vue
浏览文件 @
7d8c8f40
...
...
@@ -142,6 +142,12 @@ export default class MainBase extends Vue implements ControlInterface {
}
/**
* 工作流审批意见控件绑定值
*
* @memberof Main
*/
public
srfwfmemo
:
string
=
""
;
/**
* 获取多项数据
...
...
@@ -1305,6 +1311,10 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
this
.
viewparams
){
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
}
// 强制补充srfwfmemo
if
(
this
.
srfwfmemo
){
Object
.
assign
(
arg
,{
srfwfmemo
:
this
.
srfwfmemo
});
}
const
result
:
Promise
<
any
>
=
this
.
service
.
wfsubmit
(
_this
.
WFSubmitAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
arg
,
this
.
showBusyIndicator
,
localdata
);
result
.
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
...
...
app_web/src/widgets/sys-permission/main-grid/main-grid.less
浏览文件 @
7d8c8f40
...
...
@@ -25,6 +25,10 @@
overflow: hidden;
word-break: break-all;
}
.el-table-column--selection .cell {
padding-left: 0px;
padding-right: 0px;
}
.app-column-link, .app-format-data{
display: inline;
}
...
...
app_web/src/widgets/sys-role-permission/main-form/main-form-base.vue
浏览文件 @
7d8c8f40
...
...
@@ -194,6 +194,12 @@ export default class MainBase extends Vue implements ControlInterface {
}
/**
* 工作流审批意见控件绑定值
*
* @memberof Main
*/
public
srfwfmemo
:
string
=
""
;
/**
* 获取多项数据
...
...
@@ -1426,6 +1432,10 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
this
.
viewparams
){
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
}
// 强制补充srfwfmemo
if
(
this
.
srfwfmemo
){
Object
.
assign
(
arg
,{
srfwfmemo
:
this
.
srfwfmemo
});
}
const
result
:
Promise
<
any
>
=
this
.
service
.
wfsubmit
(
_this
.
WFSubmitAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
arg
,
this
.
showBusyIndicator
,
localdata
);
result
.
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
...
...
app_web/src/widgets/sys-role-permission/main-grid/main-grid.less
浏览文件 @
7d8c8f40
...
...
@@ -25,6 +25,10 @@
overflow: hidden;
word-break: break-all;
}
.el-table-column--selection .cell {
padding-left: 0px;
padding-right: 0px;
}
.app-column-link, .app-format-data{
display: inline;
}
...
...
app_web/src/widgets/sys-role/main-form/main-form-base.vue
浏览文件 @
7d8c8f40
...
...
@@ -233,6 +233,12 @@ export default class MainBase extends Vue implements ControlInterface {
}
/**
* 工作流审批意见控件绑定值
*
* @memberof Main
*/
public
srfwfmemo
:
string
=
""
;
/**
* 获取多项数据
...
...
@@ -1436,6 +1442,10 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
this
.
viewparams
){
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
}
// 强制补充srfwfmemo
if
(
this
.
srfwfmemo
){
Object
.
assign
(
arg
,{
srfwfmemo
:
this
.
srfwfmemo
});
}
const
result
:
Promise
<
any
>
=
this
.
service
.
wfsubmit
(
_this
.
WFSubmitAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
arg
,
this
.
showBusyIndicator
,
localdata
);
result
.
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
...
...
app_web/src/widgets/sys-role/main-grid/main-grid.less
浏览文件 @
7d8c8f40
...
...
@@ -25,6 +25,10 @@
overflow: hidden;
word-break: break-all;
}
.el-table-column--selection .cell {
padding-left: 0px;
padding-right: 0px;
}
.app-column-link, .app-format-data{
display: inline;
}
...
...
app_web/src/widgets/sys-user-role/main-form/main-form-base.vue
浏览文件 @
7d8c8f40
...
...
@@ -207,6 +207,12 @@ export default class MainBase extends Vue implements ControlInterface {
}
/**
* 工作流审批意见控件绑定值
*
* @memberof Main
*/
public
srfwfmemo
:
string
=
""
;
/**
* 获取多项数据
...
...
@@ -1439,6 +1445,10 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
this
.
viewparams
){
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
}
// 强制补充srfwfmemo
if
(
this
.
srfwfmemo
){
Object
.
assign
(
arg
,{
srfwfmemo
:
this
.
srfwfmemo
});
}
const
result
:
Promise
<
any
>
=
this
.
service
.
wfsubmit
(
_this
.
WFSubmitAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
arg
,
this
.
showBusyIndicator
,
localdata
);
result
.
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
...
...
app_web/src/widgets/sys-user-role/main-grid/main-grid.less
浏览文件 @
7d8c8f40
...
...
@@ -25,6 +25,10 @@
overflow: hidden;
word-break: break-all;
}
.el-table-column--selection .cell {
padding-left: 0px;
padding-right: 0px;
}
.app-column-link, .app-format-data{
display: inline;
}
...
...
app_web/src/widgets/sys-user/main-form/main-form-base.vue
浏览文件 @
7d8c8f40
...
...
@@ -178,6 +178,12 @@ export default class MainBase extends Vue implements ControlInterface {
}
/**
* 工作流审批意见控件绑定值
*
* @memberof Main
*/
public
srfwfmemo
:
string
=
""
;
/**
* 获取多项数据
...
...
@@ -1344,6 +1350,10 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
this
.
viewparams
){
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
}
// 强制补充srfwfmemo
if
(
this
.
srfwfmemo
){
Object
.
assign
(
arg
,{
srfwfmemo
:
this
.
srfwfmemo
});
}
const
result
:
Promise
<
any
>
=
this
.
service
.
wfsubmit
(
_this
.
WFSubmitAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
arg
,
this
.
showBusyIndicator
,
localdata
);
result
.
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
...
...
app_web/src/widgets/sys-user/main-grid/main-grid.less
浏览文件 @
7d8c8f40
...
...
@@ -25,6 +25,10 @@
overflow: hidden;
word-break: break-all;
}
.el-table-column--selection .cell {
padding-left: 0px;
padding-right: 0px;
}
.app-column-link, .app-format-data{
display: inline;
}
...
...
config.xml
浏览文件 @
7d8c8f40
...
...
@@ -37,11 +37,6 @@
git clone -b master $para2 ibzuaa/
export NODE_OPTIONS=--max-old-space-size=4096
cd ibzuaa/
mvn clean package -Papi
cd ibzuaa-provider/ibzuaa-provider-api
mvn -Papi docker:build
mvn -Papi docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/ibzuaa-provider-api.yaml ibzlab-rt --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
...
...
ibzuaa-provider/ibzuaa-provider-api/src/main/docker/Dockerfile
浏览文件 @
7d8c8f40
...
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzuaa-provider-api.jar
EXPOSE
40002
EXPOSE
8081
ADD
ibzuaa-provider-api.jar /ibzuaa-provider-api.jar
ibzuaa-provider/ibzuaa-provider-api/src/main/docker/ibzuaa-provider-api.yaml
浏览文件 @
7d8c8f40
...
...
@@ -3,21 +3,9 @@ services:
ibzuaa-provider-api
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ibzuaa-provider-api:latest
ports
:
-
"
40002:40002
"
-
"
8081:8081
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.180.237
-
SERVER_PORT=40002
-
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
deploy
:
mode
:
replicated
replicas
:
1
...
...
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SysAuthLogResource.java
浏览文件 @
7d8c8f40
...
...
@@ -66,7 +66,7 @@ public class SysAuthLogResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
sysauthlogMapping,#sysauthlog
dtos})"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"SysAuthLog"
},
notes
=
"UpdateBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sysauthlogs/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
SysAuthLogDTO
>
sysauthlogdtos
)
{
...
...
@@ -82,7 +82,7 @@ public class SysAuthLogResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysauthlogService
.
remove
(
sysauthlog_id
));
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
human
Mapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
sysauthlog
Mapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"SysAuthLog"
},
notes
=
"RemoveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sysauthlogs/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
...
...
@@ -101,7 +101,7 @@ public class SysAuthLogResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
sysauthlogMapping,#sysauthlog
dtos})"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"SysAuthLog"
},
notes
=
"createBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysauthlogs/batch"
)
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
SysAuthLogDTO
>
sysauthlogdtos
)
{
...
...
@@ -132,7 +132,7 @@ public class SysAuthLogResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysauthlogService
.
save
(
sysauthlogMapping
.
toDomain
(
sysauthlogdto
)));
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
sysauthlogMapping,#sysauthlog
dtos})"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"SysAuthLog"
},
notes
=
"SaveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysauthlogs/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
SysAuthLogDTO
>
sysauthlogdtos
)
{
...
...
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SysPSSystemResource.java
浏览文件 @
7d8c8f40
...
...
@@ -74,7 +74,7 @@ public class SysPSSystemResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
syspssystemMapping,#syspssystem
dtos})"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"SysPSSystem"
},
notes
=
"createBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/syspssystems/batch"
)
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
SysPSSystemDTO
>
syspssystemdtos
)
{
...
...
@@ -97,7 +97,7 @@ public class SysPSSystemResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
syspssystemService
.
remove
(
syspssystem_id
));
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
human
Mapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
syspssystem
Mapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"SysPSSystem"
},
notes
=
"RemoveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/syspssystems/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
...
...
@@ -112,7 +112,7 @@ public class SysPSSystemResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
syspssystemService
.
save
(
syspssystemMapping
.
toDomain
(
syspssystemdto
)));
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
syspssystemMapping,#syspssystem
dtos})"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"SysPSSystem"
},
notes
=
"SaveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/syspssystems/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
SysPSSystemDTO
>
syspssystemdtos
)
{
...
...
@@ -132,7 +132,7 @@ public class SysPSSystemResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
syspssystemMapping,#syspssystem
dtos})"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"SysPSSystem"
},
notes
=
"UpdateBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/syspssystems/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
SysPSSystemDTO
>
syspssystemdtos
)
{
...
...
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SysPermissionResource.java
浏览文件 @
7d8c8f40
...
...
@@ -54,7 +54,7 @@ public class SysPermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
syspermissionService
.
save
(
syspermissionMapping
.
toDomain
(
syspermissiondto
)));
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#huma
ndtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
syspermissionMapping,#syspermissio
ndtos})"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"SysPermission"
},
notes
=
"SaveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/syspermissions/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
SysPermissionDTO
>
syspermissiondtos
)
{
...
...
@@ -77,7 +77,7 @@ public class SysPermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
syspermissionService
.
remove
(
syspermission_id
));
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
huma
nMapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
syspermissio
nMapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"SysPermission"
},
notes
=
"RemoveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/syspermissions/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
...
...
@@ -97,7 +97,7 @@ public class SysPermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#huma
ndtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
syspermissionMapping,#syspermissio
ndtos})"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"SysPermission"
},
notes
=
"UpdateBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/syspermissions/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
SysPermissionDTO
>
syspermissiondtos
)
{
...
...
@@ -116,7 +116,7 @@ public class SysPermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#huma
ndtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
syspermissionMapping,#syspermissio
ndtos})"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"SysPermission"
},
notes
=
"createBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/syspermissions/batch"
)
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
SysPermissionDTO
>
syspermissiondtos
)
{
...
...
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SysRolePermissionResource.java
浏览文件 @
7d8c8f40
...
...
@@ -64,7 +64,7 @@ public class SysRolePermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysrolepermissionService
.
remove
(
sysrolepermission_id
));
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
huma
nMapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
sysrolepermissio
nMapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"SysRolePermission"
},
notes
=
"RemoveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sysrolepermissions/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
...
...
@@ -90,7 +90,7 @@ public class SysRolePermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#huma
ndtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
sysrolepermissionMapping,#sysrolepermissio
ndtos})"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"SysRolePermission"
},
notes
=
"createBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysrolepermissions/batch"
)
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
SysRolePermissionDTO
>
sysrolepermissiondtos
)
{
...
...
@@ -112,7 +112,7 @@ public class SysRolePermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysrolepermissionService
.
save
(
sysrolepermissionMapping
.
toDomain
(
sysrolepermissiondto
)));
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#huma
ndtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
sysrolepermissionMapping,#sysrolepermissio
ndtos})"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"SysRolePermission"
},
notes
=
"SaveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysrolepermissions/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
SysRolePermissionDTO
>
sysrolepermissiondtos
)
{
...
...
@@ -132,7 +132,7 @@ public class SysRolePermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#huma
ndtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
sysrolepermissionMapping,#sysrolepermissio
ndtos})"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"SysRolePermission"
},
notes
=
"UpdateBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sysrolepermissions/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
SysRolePermissionDTO
>
sysrolepermissiondtos
)
{
...
...
@@ -178,7 +178,7 @@ public class SysRolePermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysrolepermissionService
.
remove
(
sysrolepermission_id
));
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
huma
nMapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
sysrolepermissio
nMapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatchBySysPermission"
,
tags
=
{
"SysRolePermission"
},
notes
=
"RemoveBatchBySysPermission"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/syspermissions/{syspermission_id}/sysrolepermissions/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatchBySysPermission
(
@RequestBody
List
<
String
>
ids
)
{
...
...
@@ -207,7 +207,7 @@ public class SysRolePermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#huma
ndtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
sysrolepermissionMapping,#sysrolepermissio
ndtos})"
)
@ApiOperation
(
value
=
"createBatchBySysPermission"
,
tags
=
{
"SysRolePermission"
},
notes
=
"createBatchBySysPermission"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/syspermissions/{syspermission_id}/sysrolepermissions/batch"
)
public
ResponseEntity
<
Boolean
>
createBatchBySysPermission
(
@PathVariable
(
"syspermission_id"
)
String
syspermission_id
,
@RequestBody
List
<
SysRolePermissionDTO
>
sysrolepermissiondtos
)
{
...
...
@@ -235,7 +235,7 @@ public class SysRolePermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysrolepermissionService
.
save
(
domain
));
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#huma
ndtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
sysrolepermissionMapping,#sysrolepermissio
ndtos})"
)
@ApiOperation
(
value
=
"SaveBatchBySysPermission"
,
tags
=
{
"SysRolePermission"
},
notes
=
"SaveBatchBySysPermission"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/syspermissions/{syspermission_id}/sysrolepermissions/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatchBySysPermission
(
@PathVariable
(
"syspermission_id"
)
String
syspermission_id
,
@RequestBody
List
<
SysRolePermissionDTO
>
sysrolepermissiondtos
)
{
...
...
@@ -260,7 +260,7 @@ public class SysRolePermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#huma
ndtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
sysrolepermissionMapping,#sysrolepermissio
ndtos})"
)
@ApiOperation
(
value
=
"UpdateBatchBySysPermission"
,
tags
=
{
"SysRolePermission"
},
notes
=
"UpdateBatchBySysPermission"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/syspermissions/{syspermission_id}/sysrolepermissions/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatchBySysPermission
(
@PathVariable
(
"syspermission_id"
)
String
syspermission_id
,
@RequestBody
List
<
SysRolePermissionDTO
>
sysrolepermissiondtos
)
{
...
...
@@ -312,7 +312,7 @@ public class SysRolePermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysrolepermissionService
.
remove
(
sysrolepermission_id
));
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
huma
nMapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
sysrolepermissio
nMapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatchBySysRole"
,
tags
=
{
"SysRolePermission"
},
notes
=
"RemoveBatchBySysRole"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sysroles/{sysrole_id}/sysrolepermissions/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatchBySysRole
(
@RequestBody
List
<
String
>
ids
)
{
...
...
@@ -341,7 +341,7 @@ public class SysRolePermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#huma
ndtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
sysrolepermissionMapping,#sysrolepermissio
ndtos})"
)
@ApiOperation
(
value
=
"createBatchBySysRole"
,
tags
=
{
"SysRolePermission"
},
notes
=
"createBatchBySysRole"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysroles/{sysrole_id}/sysrolepermissions/batch"
)
public
ResponseEntity
<
Boolean
>
createBatchBySysRole
(
@PathVariable
(
"sysrole_id"
)
String
sysrole_id
,
@RequestBody
List
<
SysRolePermissionDTO
>
sysrolepermissiondtos
)
{
...
...
@@ -369,7 +369,7 @@ public class SysRolePermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysrolepermissionService
.
save
(
domain
));
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#huma
ndtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
sysrolepermissionMapping,#sysrolepermissio
ndtos})"
)
@ApiOperation
(
value
=
"SaveBatchBySysRole"
,
tags
=
{
"SysRolePermission"
},
notes
=
"SaveBatchBySysRole"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysroles/{sysrole_id}/sysrolepermissions/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatchBySysRole
(
@PathVariable
(
"sysrole_id"
)
String
sysrole_id
,
@RequestBody
List
<
SysRolePermissionDTO
>
sysrolepermissiondtos
)
{
...
...
@@ -394,7 +394,7 @@ public class SysRolePermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#huma
ndtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
sysrolepermissionMapping,#sysrolepermissio
ndtos})"
)
@ApiOperation
(
value
=
"UpdateBatchBySysRole"
,
tags
=
{
"SysRolePermission"
},
notes
=
"UpdateBatchBySysRole"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sysroles/{sysrole_id}/sysrolepermissions/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatchBySysRole
(
@PathVariable
(
"sysrole_id"
)
String
sysrole_id
,
@RequestBody
List
<
SysRolePermissionDTO
>
sysrolepermissiondtos
)
{
...
...
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SysRoleResource.java
浏览文件 @
7d8c8f40
...
...
@@ -54,7 +54,7 @@ public class SysRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysroleService
.
save
(
sysroleMapping
.
toDomain
(
sysroledto
)));
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
sysroleMapping,#sysrole
dtos})"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"SysRole"
},
notes
=
"SaveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysroles/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
SysRoleDTO
>
sysroledtos
)
{
...
...
@@ -74,7 +74,7 @@ public class SysRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
sysroleMapping,#sysrole
dtos})"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"SysRole"
},
notes
=
"UpdateBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sysroles/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
SysRoleDTO
>
sysroledtos
)
{
...
...
@@ -93,7 +93,7 @@ public class SysRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
sysroleMapping,#sysrole
dtos})"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"SysRole"
},
notes
=
"createBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysroles/batch"
)
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
SysRoleDTO
>
sysroledtos
)
{
...
...
@@ -118,7 +118,7 @@ public class SysRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysroleService
.
remove
(
sysrole_id
));
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
human
Mapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
sysrole
Mapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"SysRole"
},
notes
=
"RemoveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sysroles/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
...
...
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SysUserResource.java
浏览文件 @
7d8c8f40
...
...
@@ -55,7 +55,7 @@ public class SysUserResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysuserService
.
remove
(
sysuser_id
));
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
human
Mapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
sysuser
Mapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"SysUser"
},
notes
=
"RemoveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sysusers/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
...
...
@@ -75,7 +75,7 @@ public class SysUserResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
sysuserMapping,#sysuser
dtos})"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"SysUser"
},
notes
=
"UpdateBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sysusers/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
SysUserDTO
>
sysuserdtos
)
{
...
...
@@ -106,7 +106,7 @@ public class SysUserResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysuserService
.
save
(
sysuserMapping
.
toDomain
(
sysuserdto
)));
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
sysuserMapping,#sysuser
dtos})"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"SysUser"
},
notes
=
"SaveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysusers/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
SysUserDTO
>
sysuserdtos
)
{
...
...
@@ -132,7 +132,7 @@ public class SysUserResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
sysuserMapping,#sysuser
dtos})"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"SysUser"
},
notes
=
"createBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysusers/batch"
)
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
SysUserDTO
>
sysuserdtos
)
{
...
...
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SysUserRoleResource.java
浏览文件 @
7d8c8f40
...
...
@@ -73,7 +73,7 @@ public class SysUserRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
sysuserroleMapping,#sysuserrole
dtos})"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"SysUserRole"
},
notes
=
"UpdateBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sysuserroles/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
SysUserRoleDTO
>
sysuserroledtos
)
{
...
...
@@ -89,7 +89,7 @@ public class SysUserRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysuserroleService
.
remove
(
sysuserrole_id
));
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
human
Mapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
sysuserrole
Mapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"SysUserRole"
},
notes
=
"RemoveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sysuserroles/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
...
...
@@ -108,7 +108,7 @@ public class SysUserRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
sysuserroleMapping,#sysuserrole
dtos})"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"SysUserRole"
},
notes
=
"createBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysuserroles/batch"
)
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
SysUserRoleDTO
>
sysuserroledtos
)
{
...
...
@@ -132,7 +132,7 @@ public class SysUserRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysuserroleService
.
save
(
sysuserroleMapping
.
toDomain
(
sysuserroledto
)));
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
sysuserroleMapping,#sysuserrole
dtos})"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"SysUserRole"
},
notes
=
"SaveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysuserroles/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
SysUserRoleDTO
>
sysuserroledtos
)
{
...
...
@@ -190,7 +190,7 @@ public class SysUserRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
sysuserroleMapping,#sysuserrole
dtos})"
)
@ApiOperation
(
value
=
"UpdateBatchBySysRole"
,
tags
=
{
"SysUserRole"
},
notes
=
"UpdateBatchBySysRole"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sysroles/{sysrole_id}/sysuserroles/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatchBySysRole
(
@PathVariable
(
"sysrole_id"
)
String
sysrole_id
,
@RequestBody
List
<
SysUserRoleDTO
>
sysuserroledtos
)
{
...
...
@@ -210,7 +210,7 @@ public class SysUserRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysuserroleService
.
remove
(
sysuserrole_id
));
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
human
Mapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
sysuserrole
Mapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatchBySysRole"
,
tags
=
{
"SysUserRole"
},
notes
=
"RemoveBatchBySysRole"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sysroles/{sysrole_id}/sysuserroles/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatchBySysRole
(
@RequestBody
List
<
String
>
ids
)
{
...
...
@@ -230,7 +230,7 @@ public class SysUserRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
sysuserroleMapping,#sysuserrole
dtos})"
)
@ApiOperation
(
value
=
"createBatchBySysRole"
,
tags
=
{
"SysUserRole"
},
notes
=
"createBatchBySysRole"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysroles/{sysrole_id}/sysuserroles/batch"
)
public
ResponseEntity
<
Boolean
>
createBatchBySysRole
(
@PathVariable
(
"sysrole_id"
)
String
sysrole_id
,
@RequestBody
List
<
SysUserRoleDTO
>
sysuserroledtos
)
{
...
...
@@ -260,7 +260,7 @@ public class SysUserRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysuserroleService
.
save
(
domain
));
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
sysuserroleMapping,#sysuserrole
dtos})"
)
@ApiOperation
(
value
=
"SaveBatchBySysRole"
,
tags
=
{
"SysUserRole"
},
notes
=
"SaveBatchBySysRole"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysroles/{sysrole_id}/sysuserroles/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatchBySysRole
(
@PathVariable
(
"sysrole_id"
)
String
sysrole_id
,
@RequestBody
List
<
SysUserRoleDTO
>
sysuserroledtos
)
{
...
...
@@ -324,7 +324,7 @@ public class SysUserRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
sysuserroleMapping,#sysuserrole
dtos})"
)
@ApiOperation
(
value
=
"UpdateBatchBySysUser"
,
tags
=
{
"SysUserRole"
},
notes
=
"UpdateBatchBySysUser"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sysusers/{sysuser_id}/sysuserroles/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatchBySysUser
(
@PathVariable
(
"sysuser_id"
)
String
sysuser_id
,
@RequestBody
List
<
SysUserRoleDTO
>
sysuserroledtos
)
{
...
...
@@ -344,7 +344,7 @@ public class SysUserRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysuserroleService
.
remove
(
sysuserrole_id
));
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
human
Mapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
sysuserrole
Mapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatchBySysUser"
,
tags
=
{
"SysUserRole"
},
notes
=
"RemoveBatchBySysUser"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sysusers/{sysuser_id}/sysuserroles/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatchBySysUser
(
@RequestBody
List
<
String
>
ids
)
{
...
...
@@ -364,7 +364,7 @@ public class SysUserRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
sysuserroleMapping,#sysuserrole
dtos})"
)
@ApiOperation
(
value
=
"createBatchBySysUser"
,
tags
=
{
"SysUserRole"
},
notes
=
"createBatchBySysUser"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysusers/{sysuser_id}/sysuserroles/batch"
)
public
ResponseEntity
<
Boolean
>
createBatchBySysUser
(
@PathVariable
(
"sysuser_id"
)
String
sysuser_id
,
@RequestBody
List
<
SysUserRoleDTO
>
sysuserroledtos
)
{
...
...
@@ -394,7 +394,7 @@ public class SysUserRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysuserroleService
.
save
(
domain
));
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
sysuserroleMapping,#sysuserrole
dtos})"
)
@ApiOperation
(
value
=
"SaveBatchBySysUser"
,
tags
=
{
"SysUserRole"
},
notes
=
"SaveBatchBySysUser"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysusers/{sysuser_id}/sysuserroles/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatchBySysUser
(
@PathVariable
(
"sysuser_id"
)
String
sysuser_id
,
@RequestBody
List
<
SysUserRoleDTO
>
sysuserroledtos
)
{
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录