Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
fb389b47
Commit
fb389b47
authored
Sep 28, 2018
by
sherlock
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_oracle_sherlock' into 'dev_oracle'
Dev oracle sherlock See merge request root/atms!119
parents
9ce17d43
7a647411
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
RoleController.java
...main/java/pwc/taxtech/atms/controller/RoleController.java
+3
-3
ServiceTypeDto.java
...pi/src/main/java/pwc/taxtech/atms/dto/ServiceTypeDto.java
+1
-1
RoleDtoBase.java
.../src/main/java/pwc/taxtech/atms/dto/role/RoleDtoBase.java
+1
-1
No files found.
atms-api/src/main/java/pwc/taxtech/atms/controller/RoleController.java
View file @
fb389b47
...
...
@@ -92,7 +92,7 @@ public class RoleController {
@ApiOperation
(
value
=
"删除角色下用户"
)
@RequestMapping
(
value
=
"removeUserRole"
,
method
=
RequestMethod
.
POST
)
public
@ResponseBody
Boolean
removeUserRole
(
@RequestParam
(
"userID"
)
String
userId
,
@RequestBody
List
<
String
>
roleIdList
,
@RequestParam
(
"serviceTypeI
d
"
)
String
serviceTypeId
)
{
@RequestBody
List
<
String
>
roleIdList
,
@RequestParam
(
"serviceTypeI
D
"
)
String
serviceTypeId
)
{
roleService
.
removeUserRole
(
userId
,
roleIdList
,
serviceTypeId
);
return
true
;
}
...
...
@@ -142,7 +142,7 @@ public class RoleController {
@ApiOperation
(
value
=
"Update a role info"
)
@RequestMapping
(
value
=
"update"
,
method
=
RequestMethod
.
PUT
)
public
void
updateRole
(
@RequestBody
UpdateRoleInfo
updateRole
,
@RequestParam
(
"roleI
d
"
)
String
roleId
)
{
public
void
updateRole
(
@RequestBody
UpdateRoleInfo
updateRole
,
@RequestParam
(
"roleI
D
"
)
String
roleId
)
{
roleService
.
updateRole
(
updateRole
,
roleId
);
}
...
...
@@ -157,7 +157,7 @@ public class RoleController {
@ApiOperation
(
value
=
"Need to check mapping between user and role, if yes not allow delete role"
)
@RequestMapping
(
value
=
"checkReferenceforRole"
,
method
=
RequestMethod
.
GET
)
public
Boolean
checkExistReference
(
@RequestParam
(
"roleI
d
"
)
String
roleId
)
{
public
Boolean
checkExistReference
(
@RequestParam
(
"roleI
D
"
)
String
roleId
)
{
return
roleService
.
checkUserRole
(
roleId
);
}
...
...
atms-api/src/main/java/pwc/taxtech/atms/dto/ServiceTypeDto.java
View file @
fb389b47
...
...
@@ -8,7 +8,7 @@ import java.util.List;
* @see PwC.Tax.Tech.Atms.Application.Dto\TaxAdminDto\ServiceTypeDto.cs
*/
public
class
ServiceTypeDto
{
@JsonProperty
(
"ID"
)
//
@JsonProperty("ID")
private
String
id
;
private
String
name
;
...
...
atms-api/src/main/java/pwc/taxtech/atms/dto/role/RoleDtoBase.java
View file @
fb389b47
...
...
@@ -3,7 +3,7 @@ package pwc.taxtech.atms.dto.role;
import
com.fasterxml.jackson.annotation.JsonProperty
;
public
class
RoleDtoBase
{
@JsonProperty
(
"ID"
)
//
@JsonProperty("ID")
private
String
id
;
private
String
name
;
private
String
description
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment