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
d0455ac6
Commit
d0455ac6
authored
Mar 18, 2019
by
gary
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、fix bug
parent
e2fc00c4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
17 additions
and
22 deletions
+17
-22
ddOrgJson.json
atms-api/src/main/resources/orgImport/ddOrgJson.json
+0
-0
ddOrgJson2.json
atms-api/src/main/resources/orgImport/ddOrgJson2.json
+0
-0
ddOrgJson3.json
atms-api/src/main/resources/orgImport/ddOrgJson3.json
+0
-0
failedJson.json
atms-api/src/main/resources/orgImport/failedJson.json
+0
-0
DataInitTest.java
...test/java/pwc/taxtech/atms/service/impl/DataInitTest.java
+5
-10
AccountController.java
...va/pwc/taxtech/atms/web/controller/AccountController.java
+1
-1
extract-financial-data.ctrl.js
...ion/extract-financial-data/extract-financial-data.ctrl.js
+9
-9
extract-financial-data.html
...action/extract-financial-data/extract-financial-data.html
+1
-1
extract-financial-data.less
...action/extract-financial-data/extract-financial-data.less
+1
-1
No files found.
atms-api/src/main/resources/orgImport/ddOrgJson.json
View file @
d0455ac6
This diff is collapsed.
Click to expand it.
atms-api/src/main/resources/orgImport/ddOrgJson2.json
0 → 100644
View file @
d0455ac6
This diff is collapsed.
Click to expand it.
atms-api/src/main/resources/orgImport/ddOrgJson3.json
0 → 100644
View file @
d0455ac6
This diff is collapsed.
Click to expand it.
atms-api/src/main/resources/orgImport/failedJson.json
0 → 100644
View file @
d0455ac6
This diff is collapsed.
Click to expand it.
atms-api/src/test/java/pwc/taxtech/atms/service/impl/DataInitTest.java
View file @
d0455ac6
...
...
@@ -406,15 +406,15 @@ public class DataInitTest extends CommonIT {
*/
String
input
=
""
;
try
{
// File targetFile = new File("src/main/resources/orgImport/ddOrgJson
.json");
File
targetFile
=
new
File
(
"src/main/resources/orgImport/failedJson.json"
);
File
targetFile
=
new
File
(
"src/main/resources/orgImport/ddOrgJson2
.json"
);
//
File targetFile = new File("src/main/resources/orgImport/failedJson.json");
input
=
FileUtils
.
readFileToString
(
targetFile
,
"UTF-8"
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
//
DDSyncOrgInfo ddSyncOrgInfo = JSONObject.parseObject(input,DDSyncOrgInfo.class);
//
List<OrgSyncData> orgSyncDatas = ddSyncOrgInfo.getData();
List
<
OrgSyncData
>
orgSyncDatas
=
JSONArray
.
parseArray
(
input
,
OrgSyncData
.
class
);
DDSyncOrgInfo
ddSyncOrgInfo
=
JSONObject
.
parseObject
(
input
,
DDSyncOrgInfo
.
class
);
List
<
OrgSyncData
>
orgSyncDatas
=
ddSyncOrgInfo
.
getData
();
//
List<OrgSyncData> orgSyncDatas = JSONArray.parseArray(input,OrgSyncData.class);
orgSyncDatas
.
forEach
(
osd
->
{
OrganizationExample
example
=
new
OrganizationExample
();
example
.
createCriteria
().
andNameEqualTo
(
osd
.
getNameCN
());
...
...
@@ -442,11 +442,6 @@ public class DataInitTest extends CommonIT {
@Test
public
void
testOrg
(){
/**
* 1、taxPayNums http 滴滴oa接口同步机构的信息
* 2、逐条update,记录更新失败或未更新上的taxPayNum
* 3、失败的再次处理
*/
String
input
=
""
;
try
{
// File targetFile = new File("src/main/resources/orgImport/ddOrgJson.json");
...
...
atms-web/src/main/java/pwc/taxtech/atms/web/controller/AccountController.java
View file @
d0455ac6
...
...
@@ -208,7 +208,7 @@ public class AccountController {
response
.
addCookie
(
ddTicketCookie
);
response
.
addCookie
(
ddJumptoCookie
);
// todo 这里写死为DD的登出地址了
response
.
sendRedirect
(
"
http://mis.diditaxi.com.cn/auth/ldap/logout?app_id=2500"
);
response
.
sendRedirect
(
"http://mis.diditaxi.com.cn/auth/ldap/logout?app_id=2500"
);
}
catch
(
Exception
e
)
{
logger
.
error
(
"登出失败"
,
e
);
}
...
...
atms-web/src/main/webapp/app/dataImport/data-extraction/extract-financial-data/extract-financial-data.ctrl.js
View file @
d0455ac6
...
...
@@ -109,7 +109,7 @@
var
periodStr
=
$scope
.
UploadPeriodTime
;
dataImportService
.
callExtractFinancialData
(
$scope
.
checkedCompanyCodeList
,
periodStr
,
$scope
.
checkedFileCodeList
).
success
(
function
(
data
)
{
if
(
data
)
{
getFinancialDataStatus
();
}
});
};
...
...
@@ -123,11 +123,11 @@
}
};
var
load
ImportATStatus
InfoDatagrid
=
function
()
{
var
load
ExtractFinancial
InfoDatagrid
=
function
()
{
$scope
.
importATStatus
GridOptions
=
{
$scope
.
extractFinancial
GridOptions
=
{
bindingOptions
:
{
dataSource
:
'
ImportATStatus
GridSource'
dataSource
:
'
extractFinancial
GridSource'
},
showBorders
:
true
,
columns
:
[{
...
...
@@ -221,11 +221,11 @@
};
var
getFinancialDataStatus
=
function
()
{
vatImportService
.
displayImportLog
(
constant
.
importFileType
.
ExtractFinancialData
).
success
(
function
(
data
)
{
vatImportService
.
displayImportLog
(
$scope
.
pagingOptions
,
constant
.
importFileType
.
ExtractFinancialData
).
success
(
function
(
data
)
{
if
(
data
)
{
$scope
.
ImportATStatus
GridSource
=
data
;
for
(
var
i
=
1
;
i
<=
$scope
.
ImportATStatus
GridSource
.
length
;
i
++
)
{
$scope
.
ImportATStatus
GridSource
[
i
-
1
].
index
=
i
;
$scope
.
extractFinancial
GridSource
=
data
;
for
(
var
i
=
1
;
i
<=
$scope
.
extractFinancial
GridSource
.
length
;
i
++
)
{
$scope
.
extractFinancial
GridSource
[
i
-
1
].
index
=
i
;
}
}
});
...
...
@@ -416,7 +416,7 @@
checkUserOrganizationPermissionList
();
getUserPermission
();
initCompanyList
();
load
ImportATStatus
InfoDatagrid
();
load
ExtractFinancial
InfoDatagrid
();
initDatePicker
();
$timeout
(
function
()
{
...
...
atms-web/src/main/webapp/app/dataImport/data-extraction/extract-financial-data/extract-financial-data.html
View file @
d0455ac6
...
...
@@ -74,7 +74,7 @@
<div
class=
"dt-init-wrapper"
>
<div
class=
"dx-viewport grid-container"
>
<div
id=
"
importATStatusGridContainer"
dx-data-grid=
"importATStatus
GridOptions"
<div
id=
"
extractFinancialGridContainer"
dx-data-grid=
"extractFinancial
GridOptions"
style=
"margin-top: 30px;"
>
</div>
</div>
...
...
atms-web/src/main/webapp/app/dataImport/data-extraction/extract-financial-data/extract-financial-data.less
View file @
d0455ac6
...
...
@@ -247,7 +247,7 @@
}
}
.
importATStatus
GridContainer {
.
extractFinancial
GridContainer {
height: calc(~'100% - 30px');
overflow: hidden;
position: absolute;
...
...
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