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
c7939ead
Commit
c7939ead
authored
Jun 23, 2018
by
frank.xa.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fixed issue] change the database to new style
parent
ef2478a6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
10 deletions
+11
-10
TaxRuleSettingMapper.java
.../main/java/pwc/taxtech/atms/dao/TaxRuleSettingMapper.java
+11
-10
TaxPayerReportRuleMapper.xml
...sources/pwc/taxtech/atms/dao/TaxPayerReportRuleMapper.xml
+0
-0
No files found.
atms-api/src/main/java/pwc/taxtech/atms/dao/TaxRuleSettingMapper.java
View file @
c7939ead
...
...
@@ -108,17 +108,17 @@ public interface TaxRuleSettingMapper extends MyMapper {
int
updateByPrimaryKey
(
TaxRuleSetting
record
);
@Select
(
"select trs.
GroupName,trs.ID,trs.IsDefault,trs.Name,trs.TaxBase,trs.TaxRate*100 as TaxRate,trso.OrganizationID
"
+
" from
TaxRuleS
etting trs "
+
"left join
TaxRuleSettingOrganization trso on trs.ID=trso.TaxSettingID
"
)
@Select
(
"select trs.
group_name,trs.id,trs.is_default,trs.name,trs.tax_base,trs.tax_rate*100 as tax_rate,trso.organization_id
"
+
" from
tax_rule_s
etting trs "
+
"left join
tax_rule_setting_organization trso on trs.id=trso.tax_setting_id
"
)
@Results
({
@Result
(
id
=
true
,
column
=
"
ID
"
,
property
=
"ID"
),
@Result
(
column
=
"
GroupN
ame"
,
property
=
"GroupName"
),
@Result
(
column
=
"
IsD
efault"
,
property
=
"IsDefault"
),
@Result
(
column
=
"
N
ame"
,
property
=
"Name"
),
@Result
(
column
=
"
TaxB
ase"
,
property
=
"TaxBase"
),
@Result
(
column
=
"
TaxR
ate"
,
property
=
"TaxRate"
),
@Result
(
column
=
"
OrganizationID
"
,
property
=
"OrganizationID"
),
@Result
(
id
=
true
,
column
=
"
id
"
,
property
=
"ID"
),
@Result
(
column
=
"
group_n
ame"
,
property
=
"GroupName"
),
@Result
(
column
=
"
is_d
efault"
,
property
=
"IsDefault"
),
@Result
(
column
=
"
n
ame"
,
property
=
"Name"
),
@Result
(
column
=
"
tax_b
ase"
,
property
=
"TaxBase"
),
@Result
(
column
=
"
tax_r
ate"
,
property
=
"TaxRate"
),
@Result
(
column
=
"
organization_id
"
,
property
=
"OrganizationID"
),
})
List
<
TaxRuleSettingDto
>
GetTaxRuleSetting
();
}
\ No newline at end of file
atms-api/src/main/resources/pwc/taxtech/atms/dao/TaxPayerReportRuleMapper.xml
View file @
c7939ead
This diff is collapsed.
Click to expand it.
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