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
003d5779
Commit
003d5779
authored
Mar 22, 2019
by
chase
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
2c9a9231
083e8496
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
9 deletions
+6
-9
AnalysisServiceImpl.java
...va/pwc/taxtech/atms/service/impl/AnalysisServiceImpl.java
+2
-2
international-data-import.ctrl.js
...ternational-data-import/international-data-import.ctrl.js
+4
-7
No files found.
atms-api/src/main/java/pwc/taxtech/atms/service/impl/AnalysisServiceImpl.java
View file @
003d5779
...
...
@@ -506,7 +506,7 @@ public class AnalysisServiceImpl extends BaseService {
lists
.
add
(
model
);
}
AnalysisInternationalTaxDataExample
example
=
new
AnalysisInternationalTaxDataExample
();
example
.
createCriteria
().
andPeriodEqualTo
(
selectedPer
);
example
.
createCriteria
().
andPeriodEqualTo
(
selectedPer
)
.
andCountryEqualTo
(
country
).
andCompanyNameEqualTo
(
companyName
)
;
analysisInternationalTaxDataMapper
.
deleteByExample
(
example
);
lists
.
forEach
(
l
->{
analysisInternationalTaxDataMapper
.
insertSelective
(
l
);
...
...
@@ -554,7 +554,7 @@ public class AnalysisServiceImpl extends BaseService {
lists
.
add
(
model
);
}
AnalysisInternationalBusinessDataExample
example
=
new
AnalysisInternationalBusinessDataExample
();
example
.
createCriteria
().
andPeriodEqualTo
(
selectedPer
);
example
.
createCriteria
().
andPeriodEqualTo
(
selectedPer
)
.
andCountryEqualTo
(
country
).
andCompanyNameEqualTo
(
companyName
)
;
analysisInternationalBusinessDataMapper
.
deleteByExample
(
example
);
lists
.
forEach
(
l
->{
analysisInternationalBusinessDataMapper
.
insertSelective
(
l
);
...
...
atms-web/src/main/webapp/app/analysis/data-import/international-data-import/international-data-import.ctrl.js
View file @
003d5779
...
...
@@ -30,11 +30,8 @@
$scope
.
showTotalSecondRow
=
false
;
$scope
.
importExcelFileUrlList
=
{
taxData
:
apiInterceptor
.
webApiHostUrl
+
'/Analysis/InternationalExcelFile'
,
returnTax
:
apiInterceptor
.
webApiHostUrl
+
'/Analysis/InternationalExcelFile'
,
gmvSubsidy
:
apiInterceptor
.
webApiHostUrl
+
'/Analysis/InternationalExcelFile'
,
employeeNum
:
apiInterceptor
.
webApiHostUrl
+
'/Analysis/InternationalExcelFile'
,
driverNum
:
apiInterceptor
.
webApiHostUrl
+
'/Analysis/InternationalExcelFile'
internationalBU
:
apiInterceptor
.
webApiHostUrl
+
'/Analysis/InternationalExcelFile'
,
internationalTax
:
apiInterceptor
.
webApiHostUrl
+
'/Analysis/InternationalExcelFile'
};
$scope
.
maxTitleLength
=
constant
.
maxButtonTitleLength
;
...
...
@@ -254,10 +251,10 @@
var
url
=
""
;
switch
(
$scope
.
importType
)
{
case
100
:
url
=
$scope
.
importExcelFileUrlList
.
taxData
;
url
=
$scope
.
importExcelFileUrlList
.
internationalBU
;
break
;
case
101
:
url
=
$scope
.
importExcelFileUrlList
.
return
Tax
;
url
=
$scope
.
importExcelFileUrlList
.
international
Tax
;
break
;
default
:
break
;
...
...
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