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
39faa67e
Commit
39faa67e
authored
Dec 24, 2018
by
eddie.woo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_mysql' of
http://code.tech.tax.asia.pwcinternal.com/root/atms
into dev_mysql
parents
071e5be9
c82ec81e
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
37 additions
and
20 deletions
+37
-20
Organization.java
...o/src/main/java/pwc/taxtech/atms/entity/Organization.java
+10
-0
AreaRegionExtendsMapper.xml
.../pwc/taxtech/atms/dao/extends/AreaRegionExtendsMapper.xml
+7
-7
IndustryExtendsMapper.xml
...es/pwc/taxtech/atms/dao/extends/IndustryExtendsMapper.xml
+2
-1
RolePermissionExtendsMapper.xml
.../taxtech/atms/dao/extends/RolePermissionExtendsMapper.xml
+7
-7
TemplateExtendsMapper.xml
...es/pwc/taxtech/atms/dao/extends/TemplateExtendsMapper.xml
+1
-1
DataSourceExtendsMapper.xml
.../taxtech/atms/vat/dao/extends/DataSourceExtendsMapper.xml
+2
-1
PeriodCellTemplateConfigExtendsMapper.xml
...vat/dao/extends/PeriodCellTemplateConfigExtendsMapper.xml
+3
-1
PeriodCellTemplateExtendsMapper.xml
.../atms/vat/dao/extends/PeriodCellTemplateExtendsMapper.xml
+3
-1
PeriodDataSourceExtendsMapper.xml
...ch/atms/vat/dao/extends/PeriodDataSourceExtendsMapper.xml
+2
-1
No files found.
atms-dao/src/main/java/pwc/taxtech/atms/entity/Organization.java
View file @
39faa67e
...
...
@@ -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/AreaRegionExtendsMapper.xml
View file @
39faa67e
...
...
@@ -31,9 +31,9 @@
<select
id=
"selectAreaRegionByAreaId"
parameterType=
"string"
resultMap=
"ResultMapWithAreaAndRegion"
>
SELECT
area
R
egion.id,
area
R
egion.area_id AS AREA_REGION_AREA_ID,
area
R
egion.region_id AS AREA_REGION_REGION_ID,
area
_r
egion.id,
area
_r
egion.area_id AS AREA_REGION_AREA_ID,
area
_r
egion.region_id AS AREA_REGION_REGION_ID,
area.id AS AREA_ID,
area.parent_id AS AREA_PARENT_ID,
area.name AS AREA_NAME,
...
...
@@ -50,13 +50,13 @@
region.latitude AS REGION_LATITUDE,
region.is_active AS REGION_IS_ACTIVE
FROM
area
R
egion,
area
_r
egion,
area,
region
WHERE
area
R
egion.area_id = area.ID
AND area
R
egion.region_id = region.ID
AND area
R
egion.area_id = #{areaId}
area
_r
egion.area_id = area.ID
AND area
_r
egion.region_id = region.ID
AND area
_r
egion.area_id = #{areaId}
ORDER BY
region_id
</select>
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/dao/extends/IndustryExtendsMapper.xml
View file @
39faa67e
...
...
@@ -46,7 +46,7 @@
WHERE
A.name = "通用行业"
AND B.group_type = 2
--AND rownum =
1
LIMIT
1
</select>
</mapper>
\ No newline at end of file
atms-dao/src/main/resources/pwc/taxtech/atms/dao/extends/RolePermissionExtendsMapper.xml
View file @
39faa67e
...
...
@@ -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>
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/dao/extends/TemplateExtendsMapper.xml
View file @
39faa67e
...
...
@@ -71,7 +71,7 @@
P.template_group_id=Q.id
WHERE
p.id= #{id,jdbcType=VARCHAR}
--AND ROWNUM=
1
LIMIT
1
</select>
<select
id=
"getCountOfTemplateAndGroupByTemplateName"
parameterType=
"map"
resultType=
"java.lang.Long"
>
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/vat/dao/extends/DataSourceExtendsMapper.xml
View file @
39faa67e
...
...
@@ -310,7 +310,8 @@
ON
CELLDATA.ID = CELLDATASOURCE.CELL_DATA_ID
WHERE
CELLDATASOURCE.DATA_SOURCE_ID = #{dataSourceID,jdbcType=BIGINT} AND ROWNUM = 1
CELLDATASOURCE.DATA_SOURCE_ID = #{dataSourceID,jdbcType=BIGINT}
LIMIT 1
</select>
<!--DELETE FROM period_tax_rule_setting WHERE period=#{period,jdbcType=INTEGER};-->
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/vat/dao/extends/PeriodCellTemplateConfigExtendsMapper.xml
View file @
39faa67e
...
...
@@ -230,8 +230,9 @@
AND CT.COLUMN_INDEX = #{columnIndex,jdbcType = INTEGER}
AND CT.PERIOD = #{period,jdbcType = INTEGER}
AND CTC.DATA_SOURCE_TYPE = 2
AND CTC.PERIOD= #{period,jdbcType = INTEGER}
AND ROWNUM = 1
AND CTC.PERIOD= #{period,jdbcType = INTEGER}
AND CT.PROJECT_ID = #{projectId,jdbcType=VARCHAR}
LIMIT 1
</select>
</mapper>
\ No newline at end of file
atms-dao/src/main/resources/pwc/taxtech/atms/vat/dao/extends/PeriodCellTemplateExtendsMapper.xml
View file @
39faa67e
...
...
@@ -112,7 +112,8 @@
AND CT.PERIOD = R.PERIOD
WHERE
CT.CELL_TEMPLATE_ID = #{cellTemplateId,jdbcType=BIGINT}
AND R.ID = #{reportId,jdbcType=BIGINT} AND ROWNUM = 1
AND R.ID = #{reportId,jdbcType=BIGINT}
LIMIT 1
</select>
</mapper>
\ No newline at end of file
atms-dao/src/main/resources/pwc/taxtech/atms/vat/dao/extends/PeriodDataSourceExtendsMapper.xml
View file @
39faa67e
...
...
@@ -339,7 +339,8 @@
ON
CELLDATA.ID = CELLDATASOURCE.CELL_DATA_ID AND CELLDATA.PROJECT_ID = CELLDATASOURCE.PROJECT_ID
WHERE
CELLDATASOURCE.DATA_SOURCE_ID = #{dataSourceID,jdbcType=BIGINT} AND ROWNUM = 1
CELLDATASOURCE.DATA_SOURCE_ID = #{dataSourceID,jdbcType=BIGINT}
LIMIT 1
</select>
...
...
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