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
c82ec81e
Commit
c82ec81e
authored
Dec 24, 2018
by
gary
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql debug
parent
fe67777b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
7 deletions
+17
-7
Organization.java
...o/src/main/java/pwc/taxtech/atms/entity/Organization.java
+10
-0
RolePermissionExtendsMapper.xml
.../taxtech/atms/dao/extends/RolePermissionExtendsMapper.xml
+7
-7
No files found.
atms-dao/src/main/java/pwc/taxtech/atms/entity/Organization.java
View file @
c82ec81e
...
...
@@ -268,6 +268,8 @@ public class Organization implements Serializable {
*/
private
String
vehicleroutinglocation
;
private
String
vehicleRoutingLocation
;
/**
*
* This field was generated by MyBatis Generator.
...
...
@@ -353,6 +355,14 @@ public class Organization implements Serializable {
private
BusinessUnit
businessUnit
;
public
String
getVehicleRoutingLocation
()
{
return
vehicleRoutingLocation
;
}
public
void
setVehicleRoutingLocation
(
String
vehicleRoutingLocation
)
{
this
.
vehicleRoutingLocation
=
vehicleRoutingLocation
;
}
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table Organization
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/dao/extends/RolePermissionExtendsMapper.xml
View file @
c82ec81e
...
...
@@ -38,8 +38,8 @@
<select
id=
"selectByRoleAndServiceTypeWithAssociation"
resultMap=
"ResultMapWithAssociation"
>
SELECT
RP
.id AS ID,
rp.roleid AS ROLE_ID,
rp
.id AS ID,
rp.role
_
id AS ROLE_ID,
rp.permission_id AS PERMISSION_ID,
r.id AS ROLE_ID,
r.name AS ROLE_NAME,
...
...
@@ -71,14 +71,14 @@
p.id = rp.permission_id
where
rp.role_id= #{roleId,jdbcType=VARCHAR}
AND
R
.service_type_id= #{serviceTypeId,jdbcType=VARCHAR}
AND
r
.service_type_id= #{serviceTypeId,jdbcType=VARCHAR}
</select>
<select
id=
"selectByRoleListAndServiceTypeWithAssociation"
resultMap=
"ResultMapWithAssociation"
>
SELECT
RP
.id AS ID,
rp.role_id,
rp.permission_id,
rp
.id AS ID,
rp.role_id
as ROLE_ID
,
rp.permission_id
as PERMISSION_ID
,
r.id AS ROLE_ID,
r.name AS ROLE_NAME,
r.description AS ROLE_DESCRIPTION,
...
...
@@ -109,7 +109,7 @@
p.id = rp.permission_id
where
r.service_type_id= #{serviceTypeId,jdbcType=VARCHAR}
AND
RP
.role_id in
AND
rp
.role_id in
<foreach
close=
")"
collection=
"roleList"
index=
"index"
item=
"roleID"
open=
"("
separator=
","
>
#{roleID}
</foreach>
...
...
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