Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzou
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzou
提交
c006b3d8
提交
c006b3d8
编写于
5月 25, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibiz4j 部署微服务接口
上级
50f0f840
变更
4
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
48 行增加
和
48 行删除
+48
-48
IBZDepartmentResource.java
.../main/java/cn/ibizlab/api/rest/IBZDepartmentResource.java
+8
-8
IBZDeptMemberResource.java
.../main/java/cn/ibizlab/api/rest/IBZDeptMemberResource.java
+20
-20
IBZEmployeeResource.java
...rc/main/java/cn/ibizlab/api/rest/IBZEmployeeResource.java
+16
-16
IBZOrganizationResource.java
...ain/java/cn/ibizlab/api/rest/IBZOrganizationResource.java
+4
-4
未找到文件。
ibzou-provider/ibzou-provider-api/src/main/java/cn/ibizlab/api/rest/IBZDepartmentResource.java
浏览文件 @
c006b3d8
...
@@ -58,7 +58,7 @@ public class IBZDepartmentResource {
...
@@ -58,7 +58,7 @@ public class IBZDepartmentResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
ibzdepartmentMapping,#ibzdepartment
dtos})"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"IBZDepartment"
},
notes
=
"createBatch"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"IBZDepartment"
},
notes
=
"createBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdepartments/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdepartments/batch"
)
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
IBZDepartmentDTO
>
ibzdepartmentdtos
)
{
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
IBZDepartmentDTO
>
ibzdepartmentdtos
)
{
...
@@ -82,7 +82,7 @@ public class IBZDepartmentResource {
...
@@ -82,7 +82,7 @@ public class IBZDepartmentResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdepartmentService
.
save
(
ibzdepartmentMapping
.
toDomain
(
ibzdepartmentdto
)));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdepartmentService
.
save
(
ibzdepartmentMapping
.
toDomain
(
ibzdepartmentdto
)));
}
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
ibzdepartmentMapping,#ibzdepartment
dtos})"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"IBZDepartment"
},
notes
=
"SaveBatch"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"IBZDepartment"
},
notes
=
"SaveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdepartments/savebatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdepartments/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
IBZDepartmentDTO
>
ibzdepartmentdtos
)
{
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
IBZDepartmentDTO
>
ibzdepartmentdtos
)
{
...
@@ -112,7 +112,7 @@ public class IBZDepartmentResource {
...
@@ -112,7 +112,7 @@ public class IBZDepartmentResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdepartmentService
.
remove
(
ibzdepartment_id
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdepartmentService
.
remove
(
ibzdepartment_id
));
}
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
human
Mapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
ibzdepartment
Mapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"IBZDepartment"
},
notes
=
"RemoveBatch"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"IBZDepartment"
},
notes
=
"RemoveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzdepartments/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzdepartments/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
...
@@ -132,7 +132,7 @@ public class IBZDepartmentResource {
...
@@ -132,7 +132,7 @@ public class IBZDepartmentResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
ibzdepartmentMapping,#ibzdepartment
dtos})"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"IBZDepartment"
},
notes
=
"UpdateBatch"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"IBZDepartment"
},
notes
=
"UpdateBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzdepartments/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzdepartments/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
IBZDepartmentDTO
>
ibzdepartmentdtos
)
{
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
IBZDepartmentDTO
>
ibzdepartmentdtos
)
{
...
@@ -194,7 +194,7 @@ public class IBZDepartmentResource {
...
@@ -194,7 +194,7 @@ public class IBZDepartmentResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
ibzdepartmentMapping,#ibzdepartment
dtos})"
)
@ApiOperation
(
value
=
"createBatchByIBZOrganization"
,
tags
=
{
"IBZDepartment"
},
notes
=
"createBatchByIBZOrganization"
)
@ApiOperation
(
value
=
"createBatchByIBZOrganization"
,
tags
=
{
"IBZDepartment"
},
notes
=
"createBatchByIBZOrganization"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/batch"
)
public
ResponseEntity
<
Boolean
>
createBatchByIBZOrganization
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@RequestBody
List
<
IBZDepartmentDTO
>
ibzdepartmentdtos
)
{
public
ResponseEntity
<
Boolean
>
createBatchByIBZOrganization
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@RequestBody
List
<
IBZDepartmentDTO
>
ibzdepartmentdtos
)
{
...
@@ -224,7 +224,7 @@ public class IBZDepartmentResource {
...
@@ -224,7 +224,7 @@ public class IBZDepartmentResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdepartmentService
.
save
(
domain
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdepartmentService
.
save
(
domain
));
}
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
ibzdepartmentMapping,#ibzdepartment
dtos})"
)
@ApiOperation
(
value
=
"SaveBatchByIBZOrganization"
,
tags
=
{
"IBZDepartment"
},
notes
=
"SaveBatchByIBZOrganization"
)
@ApiOperation
(
value
=
"SaveBatchByIBZOrganization"
,
tags
=
{
"IBZDepartment"
},
notes
=
"SaveBatchByIBZOrganization"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/savebatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatchByIBZOrganization
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@RequestBody
List
<
IBZDepartmentDTO
>
ibzdepartmentdtos
)
{
public
ResponseEntity
<
Boolean
>
saveBatchByIBZOrganization
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@RequestBody
List
<
IBZDepartmentDTO
>
ibzdepartmentdtos
)
{
...
@@ -260,7 +260,7 @@ public class IBZDepartmentResource {
...
@@ -260,7 +260,7 @@ public class IBZDepartmentResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdepartmentService
.
remove
(
ibzdepartment_id
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdepartmentService
.
remove
(
ibzdepartment_id
));
}
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
human
Mapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
ibzdepartment
Mapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatchByIBZOrganization"
,
tags
=
{
"IBZDepartment"
},
notes
=
"RemoveBatchByIBZOrganization"
)
@ApiOperation
(
value
=
"RemoveBatchByIBZOrganization"
,
tags
=
{
"IBZDepartment"
},
notes
=
"RemoveBatchByIBZOrganization"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatchByIBZOrganization
(
@RequestBody
List
<
String
>
ids
)
{
public
ResponseEntity
<
Boolean
>
removeBatchByIBZOrganization
(
@RequestBody
List
<
String
>
ids
)
{
...
@@ -281,7 +281,7 @@ public class IBZDepartmentResource {
...
@@ -281,7 +281,7 @@ public class IBZDepartmentResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
ibzdepartmentMapping,#ibzdepartment
dtos})"
)
@ApiOperation
(
value
=
"UpdateBatchByIBZOrganization"
,
tags
=
{
"IBZDepartment"
},
notes
=
"UpdateBatchByIBZOrganization"
)
@ApiOperation
(
value
=
"UpdateBatchByIBZOrganization"
,
tags
=
{
"IBZDepartment"
},
notes
=
"UpdateBatchByIBZOrganization"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatchByIBZOrganization
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@RequestBody
List
<
IBZDepartmentDTO
>
ibzdepartmentdtos
)
{
public
ResponseEntity
<
Boolean
>
updateBatchByIBZOrganization
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@RequestBody
List
<
IBZDepartmentDTO
>
ibzdepartmentdtos
)
{
...
...
ibzou-provider/ibzou-provider-api/src/main/java/cn/ibizlab/api/rest/IBZDeptMemberResource.java
浏览文件 @
c006b3d8
...
@@ -59,7 +59,7 @@ public class IBZDeptMemberResource {
...
@@ -59,7 +59,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
ibzdeptmemberMapping,#ibzdeptmember
dtos})"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"UpdateBatch"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"UpdateBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzdeptmembers/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzdeptmembers/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
...
@@ -78,7 +78,7 @@ public class IBZDeptMemberResource {
...
@@ -78,7 +78,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
ibzdeptmemberMapping,#ibzdeptmember
dtos})"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"createBatch"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"createBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdeptmembers/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdeptmembers/batch"
)
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
...
@@ -93,7 +93,7 @@ public class IBZDeptMemberResource {
...
@@ -93,7 +93,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdeptmemberService
.
save
(
ibzdeptmemberMapping
.
toDomain
(
ibzdeptmemberdto
)));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdeptmemberService
.
save
(
ibzdeptmemberMapping
.
toDomain
(
ibzdeptmemberdto
)));
}
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
ibzdeptmemberMapping,#ibzdeptmember
dtos})"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"SaveBatch"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"SaveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdeptmembers/savebatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdeptmembers/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
...
@@ -125,7 +125,7 @@ public class IBZDeptMemberResource {
...
@@ -125,7 +125,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdeptmemberService
.
remove
(
ibzdeptmember_id
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdeptmemberService
.
remove
(
ibzdeptmember_id
));
}
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
human
Mapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
ibzdeptmember
Mapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"RemoveBatch"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"RemoveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzdeptmembers/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzdeptmembers/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
...
@@ -174,7 +174,7 @@ public class IBZDeptMemberResource {
...
@@ -174,7 +174,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
ibzdeptmemberMapping,#ibzdeptmember
dtos})"
)
@ApiOperation
(
value
=
"UpdateBatchByIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"UpdateBatchByIBZEmployee"
)
@ApiOperation
(
value
=
"UpdateBatchByIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"UpdateBatchByIBZEmployee"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatchByIBZEmployee
(
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
public
ResponseEntity
<
Boolean
>
updateBatchByIBZEmployee
(
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
...
@@ -198,7 +198,7 @@ public class IBZDeptMemberResource {
...
@@ -198,7 +198,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
ibzdeptmemberMapping,#ibzdeptmember
dtos})"
)
@ApiOperation
(
value
=
"createBatchByIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"createBatchByIBZEmployee"
)
@ApiOperation
(
value
=
"createBatchByIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"createBatchByIBZEmployee"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
public
ResponseEntity
<
Boolean
>
createBatchByIBZEmployee
(
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
public
ResponseEntity
<
Boolean
>
createBatchByIBZEmployee
(
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
...
@@ -219,7 +219,7 @@ public class IBZDeptMemberResource {
...
@@ -219,7 +219,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdeptmemberService
.
save
(
domain
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdeptmemberService
.
save
(
domain
));
}
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
ibzdeptmemberMapping,#ibzdeptmember
dtos})"
)
@ApiOperation
(
value
=
"SaveBatchByIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"SaveBatchByIBZEmployee"
)
@ApiOperation
(
value
=
"SaveBatchByIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"SaveBatchByIBZEmployee"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzemployees/{ibzemployee_id}/ibzdeptmembers/savebatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzemployees/{ibzemployee_id}/ibzdeptmembers/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatchByIBZEmployee
(
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
public
ResponseEntity
<
Boolean
>
saveBatchByIBZEmployee
(
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
...
@@ -257,7 +257,7 @@ public class IBZDeptMemberResource {
...
@@ -257,7 +257,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdeptmemberService
.
remove
(
ibzdeptmember_id
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdeptmemberService
.
remove
(
ibzdeptmember_id
));
}
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
human
Mapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
ibzdeptmember
Mapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatchByIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"RemoveBatchByIBZEmployee"
)
@ApiOperation
(
value
=
"RemoveBatchByIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"RemoveBatchByIBZEmployee"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatchByIBZEmployee
(
@RequestBody
List
<
String
>
ids
)
{
public
ResponseEntity
<
Boolean
>
removeBatchByIBZEmployee
(
@RequestBody
List
<
String
>
ids
)
{
...
@@ -308,7 +308,7 @@ public class IBZDeptMemberResource {
...
@@ -308,7 +308,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
ibzdeptmemberMapping,#ibzdeptmember
dtos})"
)
@ApiOperation
(
value
=
"UpdateBatchByIBZDepartmentIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"UpdateBatchByIBZDepartmentIBZEmployee"
)
@ApiOperation
(
value
=
"UpdateBatchByIBZDepartmentIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"UpdateBatchByIBZDepartmentIBZEmployee"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatchByIBZDepartmentIBZEmployee
(
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
public
ResponseEntity
<
Boolean
>
updateBatchByIBZDepartmentIBZEmployee
(
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
...
@@ -332,7 +332,7 @@ public class IBZDeptMemberResource {
...
@@ -332,7 +332,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
ibzdeptmemberMapping,#ibzdeptmember
dtos})"
)
@ApiOperation
(
value
=
"createBatchByIBZDepartmentIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"createBatchByIBZDepartmentIBZEmployee"
)
@ApiOperation
(
value
=
"createBatchByIBZDepartmentIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"createBatchByIBZDepartmentIBZEmployee"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
public
ResponseEntity
<
Boolean
>
createBatchByIBZDepartmentIBZEmployee
(
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
public
ResponseEntity
<
Boolean
>
createBatchByIBZDepartmentIBZEmployee
(
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
...
@@ -353,7 +353,7 @@ public class IBZDeptMemberResource {
...
@@ -353,7 +353,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdeptmemberService
.
save
(
domain
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdeptmemberService
.
save
(
domain
));
}
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
ibzdeptmemberMapping,#ibzdeptmember
dtos})"
)
@ApiOperation
(
value
=
"SaveBatchByIBZDepartmentIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"SaveBatchByIBZDepartmentIBZEmployee"
)
@ApiOperation
(
value
=
"SaveBatchByIBZDepartmentIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"SaveBatchByIBZDepartmentIBZEmployee"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/savebatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatchByIBZDepartmentIBZEmployee
(
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
public
ResponseEntity
<
Boolean
>
saveBatchByIBZDepartmentIBZEmployee
(
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
...
@@ -391,7 +391,7 @@ public class IBZDeptMemberResource {
...
@@ -391,7 +391,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdeptmemberService
.
remove
(
ibzdeptmember_id
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdeptmemberService
.
remove
(
ibzdeptmember_id
));
}
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
human
Mapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
ibzdeptmember
Mapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatchByIBZDepartmentIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"RemoveBatchByIBZDepartmentIBZEmployee"
)
@ApiOperation
(
value
=
"RemoveBatchByIBZDepartmentIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"RemoveBatchByIBZDepartmentIBZEmployee"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatchByIBZDepartmentIBZEmployee
(
@RequestBody
List
<
String
>
ids
)
{
public
ResponseEntity
<
Boolean
>
removeBatchByIBZDepartmentIBZEmployee
(
@RequestBody
List
<
String
>
ids
)
{
...
@@ -442,7 +442,7 @@ public class IBZDeptMemberResource {
...
@@ -442,7 +442,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
ibzdeptmemberMapping,#ibzdeptmember
dtos})"
)
@ApiOperation
(
value
=
"UpdateBatchByIBZOrganizationIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"UpdateBatchByIBZOrganizationIBZEmployee"
)
@ApiOperation
(
value
=
"UpdateBatchByIBZOrganizationIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"UpdateBatchByIBZOrganizationIBZEmployee"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatchByIBZOrganizationIBZEmployee
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
public
ResponseEntity
<
Boolean
>
updateBatchByIBZOrganizationIBZEmployee
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
...
@@ -466,7 +466,7 @@ public class IBZDeptMemberResource {
...
@@ -466,7 +466,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
ibzdeptmemberMapping,#ibzdeptmember
dtos})"
)
@ApiOperation
(
value
=
"createBatchByIBZOrganizationIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"createBatchByIBZOrganizationIBZEmployee"
)
@ApiOperation
(
value
=
"createBatchByIBZOrganizationIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"createBatchByIBZOrganizationIBZEmployee"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
public
ResponseEntity
<
Boolean
>
createBatchByIBZOrganizationIBZEmployee
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
public
ResponseEntity
<
Boolean
>
createBatchByIBZOrganizationIBZEmployee
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
...
@@ -487,7 +487,7 @@ public class IBZDeptMemberResource {
...
@@ -487,7 +487,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdeptmemberService
.
save
(
domain
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdeptmemberService
.
save
(
domain
));
}
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
ibzdeptmemberMapping,#ibzdeptmember
dtos})"
)
@ApiOperation
(
value
=
"SaveBatchByIBZOrganizationIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"SaveBatchByIBZOrganizationIBZEmployee"
)
@ApiOperation
(
value
=
"SaveBatchByIBZOrganizationIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"SaveBatchByIBZOrganizationIBZEmployee"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/savebatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatchByIBZOrganizationIBZEmployee
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
public
ResponseEntity
<
Boolean
>
saveBatchByIBZOrganizationIBZEmployee
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
...
@@ -525,7 +525,7 @@ public class IBZDeptMemberResource {
...
@@ -525,7 +525,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdeptmemberService
.
remove
(
ibzdeptmember_id
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdeptmemberService
.
remove
(
ibzdeptmember_id
));
}
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
human
Mapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
ibzdeptmember
Mapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatchByIBZOrganizationIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"RemoveBatchByIBZOrganizationIBZEmployee"
)
@ApiOperation
(
value
=
"RemoveBatchByIBZOrganizationIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"RemoveBatchByIBZOrganizationIBZEmployee"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatchByIBZOrganizationIBZEmployee
(
@RequestBody
List
<
String
>
ids
)
{
public
ResponseEntity
<
Boolean
>
removeBatchByIBZOrganizationIBZEmployee
(
@RequestBody
List
<
String
>
ids
)
{
...
@@ -576,7 +576,7 @@ public class IBZDeptMemberResource {
...
@@ -576,7 +576,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
ibzdeptmemberMapping,#ibzdeptmember
dtos})"
)
@ApiOperation
(
value
=
"UpdateBatchByIBZOrganizationIBZDepartmentIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"UpdateBatchByIBZOrganizationIBZDepartmentIBZEmployee"
)
@ApiOperation
(
value
=
"UpdateBatchByIBZOrganizationIBZDepartmentIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"UpdateBatchByIBZOrganizationIBZDepartmentIBZEmployee"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatchByIBZOrganizationIBZDepartmentIBZEmployee
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
public
ResponseEntity
<
Boolean
>
updateBatchByIBZOrganizationIBZDepartmentIBZEmployee
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
...
@@ -600,7 +600,7 @@ public class IBZDeptMemberResource {
...
@@ -600,7 +600,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
ibzdeptmemberMapping,#ibzdeptmember
dtos})"
)
@ApiOperation
(
value
=
"createBatchByIBZOrganizationIBZDepartmentIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"createBatchByIBZOrganizationIBZDepartmentIBZEmployee"
)
@ApiOperation
(
value
=
"createBatchByIBZOrganizationIBZDepartmentIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"createBatchByIBZOrganizationIBZDepartmentIBZEmployee"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
public
ResponseEntity
<
Boolean
>
createBatchByIBZOrganizationIBZDepartmentIBZEmployee
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
public
ResponseEntity
<
Boolean
>
createBatchByIBZOrganizationIBZDepartmentIBZEmployee
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
...
@@ -621,7 +621,7 @@ public class IBZDeptMemberResource {
...
@@ -621,7 +621,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdeptmemberService
.
save
(
domain
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdeptmemberService
.
save
(
domain
));
}
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
ibzdeptmemberMapping,#ibzdeptmember
dtos})"
)
@ApiOperation
(
value
=
"SaveBatchByIBZOrganizationIBZDepartmentIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"SaveBatchByIBZOrganizationIBZDepartmentIBZEmployee"
)
@ApiOperation
(
value
=
"SaveBatchByIBZOrganizationIBZDepartmentIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"SaveBatchByIBZOrganizationIBZDepartmentIBZEmployee"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/savebatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatchByIBZOrganizationIBZDepartmentIBZEmployee
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
public
ResponseEntity
<
Boolean
>
saveBatchByIBZOrganizationIBZDepartmentIBZEmployee
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@PathVariable
(
"ibzemployee_id"
)
String
ibzemployee_id
,
@RequestBody
List
<
IBZDeptMemberDTO
>
ibzdeptmemberdtos
)
{
...
@@ -659,7 +659,7 @@ public class IBZDeptMemberResource {
...
@@ -659,7 +659,7 @@ public class IBZDeptMemberResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdeptmemberService
.
remove
(
ibzdeptmember_id
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzdeptmemberService
.
remove
(
ibzdeptmember_id
));
}
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
human
Mapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
ibzdeptmember
Mapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatchByIBZOrganizationIBZDepartmentIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"RemoveBatchByIBZOrganizationIBZDepartmentIBZEmployee"
)
@ApiOperation
(
value
=
"RemoveBatchByIBZOrganizationIBZDepartmentIBZEmployee"
,
tags
=
{
"IBZDeptMember"
},
notes
=
"RemoveBatchByIBZOrganizationIBZDepartmentIBZEmployee"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzemployees/{ibzemployee_id}/ibzdeptmembers/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatchByIBZOrganizationIBZDepartmentIBZEmployee
(
@RequestBody
List
<
String
>
ids
)
{
public
ResponseEntity
<
Boolean
>
removeBatchByIBZOrganizationIBZDepartmentIBZEmployee
(
@RequestBody
List
<
String
>
ids
)
{
...
...
ibzou-provider/ibzou-provider-api/src/main/java/cn/ibizlab/api/rest/IBZEmployeeResource.java
浏览文件 @
c006b3d8
...
@@ -55,7 +55,7 @@ public class IBZEmployeeResource {
...
@@ -55,7 +55,7 @@ public class IBZEmployeeResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzemployeeService
.
remove
(
ibzemployee_id
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzemployeeService
.
remove
(
ibzemployee_id
));
}
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
human
Mapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
ibzemployee
Mapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"IBZEmployee"
},
notes
=
"RemoveBatch"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"IBZEmployee"
},
notes
=
"RemoveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzemployees/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzemployees/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
...
@@ -85,7 +85,7 @@ public class IBZEmployeeResource {
...
@@ -85,7 +85,7 @@ public class IBZEmployeeResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
ibzemployeeMapping,#ibzemployee
dtos})"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"IBZEmployee"
},
notes
=
"createBatch"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"IBZEmployee"
},
notes
=
"createBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzemployees/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzemployees/batch"
)
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
...
@@ -112,7 +112,7 @@ public class IBZEmployeeResource {
...
@@ -112,7 +112,7 @@ public class IBZEmployeeResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
ibzemployeeMapping,#ibzemployee
dtos})"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"IBZEmployee"
},
notes
=
"UpdateBatch"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"IBZEmployee"
},
notes
=
"UpdateBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzemployees/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzemployees/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
...
@@ -127,7 +127,7 @@ public class IBZEmployeeResource {
...
@@ -127,7 +127,7 @@ public class IBZEmployeeResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzemployeeService
.
save
(
ibzemployeeMapping
.
toDomain
(
ibzemployeedto
)));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzemployeeService
.
save
(
ibzemployeeMapping
.
toDomain
(
ibzemployeedto
)));
}
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
ibzemployeeMapping,#ibzemployee
dtos})"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"IBZEmployee"
},
notes
=
"SaveBatch"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"IBZEmployee"
},
notes
=
"SaveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzemployees/savebatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzemployees/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
...
@@ -180,7 +180,7 @@ public class IBZEmployeeResource {
...
@@ -180,7 +180,7 @@ public class IBZEmployeeResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzemployeeService
.
remove
(
ibzemployee_id
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzemployeeService
.
remove
(
ibzemployee_id
));
}
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
human
Mapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
ibzemployee
Mapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatchByIBZDepartment"
,
tags
=
{
"IBZEmployee"
},
notes
=
"RemoveBatchByIBZDepartment"
)
@ApiOperation
(
value
=
"RemoveBatchByIBZDepartment"
,
tags
=
{
"IBZEmployee"
},
notes
=
"RemoveBatchByIBZDepartment"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzemployees/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzemployees/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatchByIBZDepartment
(
@RequestBody
List
<
String
>
ids
)
{
public
ResponseEntity
<
Boolean
>
removeBatchByIBZDepartment
(
@RequestBody
List
<
String
>
ids
)
{
...
@@ -212,7 +212,7 @@ public class IBZEmployeeResource {
...
@@ -212,7 +212,7 @@ public class IBZEmployeeResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
ibzemployeeMapping,#ibzemployee
dtos})"
)
@ApiOperation
(
value
=
"createBatchByIBZDepartment"
,
tags
=
{
"IBZEmployee"
},
notes
=
"createBatchByIBZDepartment"
)
@ApiOperation
(
value
=
"createBatchByIBZDepartment"
,
tags
=
{
"IBZEmployee"
},
notes
=
"createBatchByIBZDepartment"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzemployees/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzemployees/batch"
)
public
ResponseEntity
<
Boolean
>
createBatchByIBZDepartment
(
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
public
ResponseEntity
<
Boolean
>
createBatchByIBZDepartment
(
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
...
@@ -244,7 +244,7 @@ public class IBZEmployeeResource {
...
@@ -244,7 +244,7 @@ public class IBZEmployeeResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
ibzemployeeMapping,#ibzemployee
dtos})"
)
@ApiOperation
(
value
=
"UpdateBatchByIBZDepartment"
,
tags
=
{
"IBZEmployee"
},
notes
=
"UpdateBatchByIBZDepartment"
)
@ApiOperation
(
value
=
"UpdateBatchByIBZDepartment"
,
tags
=
{
"IBZEmployee"
},
notes
=
"UpdateBatchByIBZDepartment"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzemployees/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzemployees/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatchByIBZDepartment
(
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
public
ResponseEntity
<
Boolean
>
updateBatchByIBZDepartment
(
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
...
@@ -265,7 +265,7 @@ public class IBZEmployeeResource {
...
@@ -265,7 +265,7 @@ public class IBZEmployeeResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzemployeeService
.
save
(
domain
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzemployeeService
.
save
(
domain
));
}
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
ibzemployeeMapping,#ibzemployee
dtos})"
)
@ApiOperation
(
value
=
"SaveBatchByIBZDepartment"
,
tags
=
{
"IBZEmployee"
},
notes
=
"SaveBatchByIBZDepartment"
)
@ApiOperation
(
value
=
"SaveBatchByIBZDepartment"
,
tags
=
{
"IBZEmployee"
},
notes
=
"SaveBatchByIBZDepartment"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzemployees/savebatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdepartments/{ibzdepartment_id}/ibzemployees/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatchByIBZDepartment
(
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
public
ResponseEntity
<
Boolean
>
saveBatchByIBZDepartment
(
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
...
@@ -326,7 +326,7 @@ public class IBZEmployeeResource {
...
@@ -326,7 +326,7 @@ public class IBZEmployeeResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzemployeeService
.
remove
(
ibzemployee_id
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzemployeeService
.
remove
(
ibzemployee_id
));
}
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
human
Mapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
ibzemployee
Mapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatchByIBZOrganization"
,
tags
=
{
"IBZEmployee"
},
notes
=
"RemoveBatchByIBZOrganization"
)
@ApiOperation
(
value
=
"RemoveBatchByIBZOrganization"
,
tags
=
{
"IBZEmployee"
},
notes
=
"RemoveBatchByIBZOrganization"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzemployees/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzemployees/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatchByIBZOrganization
(
@RequestBody
List
<
String
>
ids
)
{
public
ResponseEntity
<
Boolean
>
removeBatchByIBZOrganization
(
@RequestBody
List
<
String
>
ids
)
{
...
@@ -358,7 +358,7 @@ public class IBZEmployeeResource {
...
@@ -358,7 +358,7 @@ public class IBZEmployeeResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
ibzemployeeMapping,#ibzemployee
dtos})"
)
@ApiOperation
(
value
=
"createBatchByIBZOrganization"
,
tags
=
{
"IBZEmployee"
},
notes
=
"createBatchByIBZOrganization"
)
@ApiOperation
(
value
=
"createBatchByIBZOrganization"
,
tags
=
{
"IBZEmployee"
},
notes
=
"createBatchByIBZOrganization"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzemployees/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzemployees/batch"
)
public
ResponseEntity
<
Boolean
>
createBatchByIBZOrganization
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
public
ResponseEntity
<
Boolean
>
createBatchByIBZOrganization
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
...
@@ -390,7 +390,7 @@ public class IBZEmployeeResource {
...
@@ -390,7 +390,7 @@ public class IBZEmployeeResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
ibzemployeeMapping,#ibzemployee
dtos})"
)
@ApiOperation
(
value
=
"UpdateBatchByIBZOrganization"
,
tags
=
{
"IBZEmployee"
},
notes
=
"UpdateBatchByIBZOrganization"
)
@ApiOperation
(
value
=
"UpdateBatchByIBZOrganization"
,
tags
=
{
"IBZEmployee"
},
notes
=
"UpdateBatchByIBZOrganization"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzemployees/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzemployees/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatchByIBZOrganization
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
public
ResponseEntity
<
Boolean
>
updateBatchByIBZOrganization
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
...
@@ -411,7 +411,7 @@ public class IBZEmployeeResource {
...
@@ -411,7 +411,7 @@ public class IBZEmployeeResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzemployeeService
.
save
(
domain
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzemployeeService
.
save
(
domain
));
}
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
ibzemployeeMapping,#ibzemployee
dtos})"
)
@ApiOperation
(
value
=
"SaveBatchByIBZOrganization"
,
tags
=
{
"IBZEmployee"
},
notes
=
"SaveBatchByIBZOrganization"
)
@ApiOperation
(
value
=
"SaveBatchByIBZOrganization"
,
tags
=
{
"IBZEmployee"
},
notes
=
"SaveBatchByIBZOrganization"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzemployees/savebatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzemployees/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatchByIBZOrganization
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
public
ResponseEntity
<
Boolean
>
saveBatchByIBZOrganization
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
...
@@ -472,7 +472,7 @@ public class IBZEmployeeResource {
...
@@ -472,7 +472,7 @@ public class IBZEmployeeResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzemployeeService
.
remove
(
ibzemployee_id
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzemployeeService
.
remove
(
ibzemployee_id
));
}
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
human
Mapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
ibzemployee
Mapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatchByIBZOrganizationIBZDepartment"
,
tags
=
{
"IBZEmployee"
},
notes
=
"RemoveBatchByIBZOrganizationIBZDepartment"
)
@ApiOperation
(
value
=
"RemoveBatchByIBZOrganizationIBZDepartment"
,
tags
=
{
"IBZEmployee"
},
notes
=
"RemoveBatchByIBZOrganizationIBZDepartment"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzemployees/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzemployees/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatchByIBZOrganizationIBZDepartment
(
@RequestBody
List
<
String
>
ids
)
{
public
ResponseEntity
<
Boolean
>
removeBatchByIBZOrganizationIBZDepartment
(
@RequestBody
List
<
String
>
ids
)
{
...
@@ -504,7 +504,7 @@ public class IBZEmployeeResource {
...
@@ -504,7 +504,7 @@ public class IBZEmployeeResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
ibzemployeeMapping,#ibzemployee
dtos})"
)
@ApiOperation
(
value
=
"createBatchByIBZOrganizationIBZDepartment"
,
tags
=
{
"IBZEmployee"
},
notes
=
"createBatchByIBZOrganizationIBZDepartment"
)
@ApiOperation
(
value
=
"createBatchByIBZOrganizationIBZDepartment"
,
tags
=
{
"IBZEmployee"
},
notes
=
"createBatchByIBZOrganizationIBZDepartment"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzemployees/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzemployees/batch"
)
public
ResponseEntity
<
Boolean
>
createBatchByIBZOrganizationIBZDepartment
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
public
ResponseEntity
<
Boolean
>
createBatchByIBZOrganizationIBZDepartment
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
...
@@ -536,7 +536,7 @@ public class IBZEmployeeResource {
...
@@ -536,7 +536,7 @@ public class IBZEmployeeResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
ibzemployeeMapping,#ibzemployee
dtos})"
)
@ApiOperation
(
value
=
"UpdateBatchByIBZOrganizationIBZDepartment"
,
tags
=
{
"IBZEmployee"
},
notes
=
"UpdateBatchByIBZOrganizationIBZDepartment"
)
@ApiOperation
(
value
=
"UpdateBatchByIBZOrganizationIBZDepartment"
,
tags
=
{
"IBZEmployee"
},
notes
=
"UpdateBatchByIBZOrganizationIBZDepartment"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzemployees/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzemployees/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatchByIBZOrganizationIBZDepartment
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
public
ResponseEntity
<
Boolean
>
updateBatchByIBZOrganizationIBZDepartment
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
...
@@ -557,7 +557,7 @@ public class IBZEmployeeResource {
...
@@ -557,7 +557,7 @@ public class IBZEmployeeResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzemployeeService
.
save
(
domain
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzemployeeService
.
save
(
domain
));
}
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#human
dtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
ibzemployeeMapping,#ibzemployee
dtos})"
)
@ApiOperation
(
value
=
"SaveBatchByIBZOrganizationIBZDepartment"
,
tags
=
{
"IBZEmployee"
},
notes
=
"SaveBatchByIBZOrganizationIBZDepartment"
)
@ApiOperation
(
value
=
"SaveBatchByIBZOrganizationIBZDepartment"
,
tags
=
{
"IBZEmployee"
},
notes
=
"SaveBatchByIBZOrganizationIBZDepartment"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzemployees/savebatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/{ibzorganization_id}/ibzdepartments/{ibzdepartment_id}/ibzemployees/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatchByIBZOrganizationIBZDepartment
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
public
ResponseEntity
<
Boolean
>
saveBatchByIBZOrganizationIBZDepartment
(
@PathVariable
(
"ibzorganization_id"
)
String
ibzorganization_id
,
@PathVariable
(
"ibzdepartment_id"
)
String
ibzdepartment_id
,
@RequestBody
List
<
IBZEmployeeDTO
>
ibzemployeedtos
)
{
...
...
ibzou-provider/ibzou-provider-api/src/main/java/cn/ibizlab/api/rest/IBZOrganizationResource.java
浏览文件 @
c006b3d8
...
@@ -66,7 +66,7 @@ public class IBZOrganizationResource {
...
@@ -66,7 +66,7 @@ public class IBZOrganizationResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
humanMapping,#huma
ndtos})"
)
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.
ibzorganizationMapping,#ibzorganizatio
ndtos})"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"IBZOrganization"
},
notes
=
"UpdateBatch"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"IBZOrganization"
},
notes
=
"UpdateBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzorganizations/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/ibzorganizations/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
IBZOrganizationDTO
>
ibzorganizationdtos
)
{
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
IBZOrganizationDTO
>
ibzorganizationdtos
)
{
...
@@ -85,7 +85,7 @@ public class IBZOrganizationResource {
...
@@ -85,7 +85,7 @@ public class IBZOrganizationResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
humanMapping,#huma
ndtos})"
)
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.
ibzorganizationMapping,#ibzorganizatio
ndtos})"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"IBZOrganization"
},
notes
=
"createBatch"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"IBZOrganization"
},
notes
=
"createBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/batch"
)
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
IBZOrganizationDTO
>
ibzorganizationdtos
)
{
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
IBZOrganizationDTO
>
ibzorganizationdtos
)
{
...
@@ -100,7 +100,7 @@ public class IBZOrganizationResource {
...
@@ -100,7 +100,7 @@ public class IBZOrganizationResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzorganizationService
.
save
(
ibzorganizationMapping
.
toDomain
(
ibzorganizationdto
)));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzorganizationService
.
save
(
ibzorganizationMapping
.
toDomain
(
ibzorganizationdto
)));
}
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
humanMapping,#huma
ndtos})"
)
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.
ibzorganizationMapping,#ibzorganizatio
ndtos})"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"IBZOrganization"
},
notes
=
"SaveBatch"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"IBZOrganization"
},
notes
=
"SaveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/savebatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
IBZOrganizationDTO
>
ibzorganizationdtos
)
{
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
IBZOrganizationDTO
>
ibzorganizationdtos
)
{
...
@@ -116,7 +116,7 @@ public class IBZOrganizationResource {
...
@@ -116,7 +116,7 @@ public class IBZOrganizationResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzorganizationService
.
remove
(
ibzorganization_id
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
ibzorganizationService
.
remove
(
ibzorganization_id
));
}
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
huma
nMapping,this.permissionDTO,#ids})"
)
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.
ibzorganizatio
nMapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"IBZOrganization"
},
notes
=
"RemoveBatch"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"IBZOrganization"
},
notes
=
"RemoveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzorganizations/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/ibzorganizations/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录