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
de9017ae
Commit
de9017ae
authored
May 07, 2019
by
weizhikai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、导入分发导入文件后取消文件名;2、数据日志记录分页
parent
14c21be7
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
35 additions
and
13 deletions
+35
-13
DataImportService.java
...java/pwc/taxtech/atms/service/impl/DataImportService.java
+3
-6
import-adjust-table.ctrl.js
...ls/import/import-adjust-table/import-adjust-table.ctrl.js
+2
-0
import-balance-sheet.ctrl.js
.../import/import-balance-sheet/import-balance-sheet.ctrl.js
+2
-0
import-cash-flow.ctrl.js
...controls/import/import-cash-flow/import-cash-flow.ctrl.js
+2
-0
import-certified-invoices-list.ctrl.js
...fied-invoices-list/import-certified-invoices-list.ctrl.js
+1
-0
import-cit-bs-prc-adjust.ctrl.js
...import-cit-bs-prc-adjust/import-cit-bs-prc-adjust.ctrl.js
+2
-0
import-cit-draft-account-mapping.ctrl.js
...-account-mapping/import-cit-draft-account-mapping.ctrl.js
+2
-0
import-cit-eam-assets-disposal.ctrl.js
...am-assets-disposal/import-cit-eam-assets-disposal.ctrl.js
+2
-0
import-cit-journal-adjust.ctrl.js
...port-cit-journal-adjust/import-cit-journal-adjust.ctrl.js
+2
-1
import-cit-profit-prc-adjust.ctrl.js
...it-profit-prc-adjust/import-cit-profit-prc-adjust.ctrl.js
+2
-0
import-cit-salary-advance.ctrl.js
...port-cit-salary-advance/import-cit-salary-advance.ctrl.js
+2
-2
import-cit-trial-balance.ctrl.js
...import-cit-trial-balance/import-cit-trial-balance.ctrl.js
+2
-0
import-coupa-purchasing-report.ctrl.js
...-purchasing-report/import-coupa-purchasing-report.ctrl.js
+2
-0
import-invoice-record.ctrl.js
...mport/import-invoice-record/import-invoice-record.ctrl.js
+2
-1
import-profit-loss.ctrl.js
...rols/import/import-profit-loss/import-profit-loss.ctrl.js
+2
-0
import-red-letter-info-table.ctrl.js
...ed-letter-info-table/import-red-letter-info-table.ctrl.js
+2
-0
import-log.ctrl.js
...n/webapp/app/dataImport/log/import-log/import-log.ctrl.js
+0
-1
import-log.html
...main/webapp/app/dataImport/log/import-log/import-log.html
+2
-2
import-log.less
...main/webapp/app/dataImport/log/import-log/import-log.less
+1
-0
No files found.
atms-api/src/main/java/pwc/taxtech/atms/service/impl/DataImportService.java
View file @
de9017ae
...
@@ -1766,11 +1766,8 @@ public class DataImportService extends BaseService {
...
@@ -1766,11 +1766,8 @@ public class DataImportService extends BaseService {
if
(!
""
.
equals
(
value
))
{
if
(!
""
.
equals
(
value
))
{
rlit
.
setRedLetterInvoiceInfoTableNum
(
new
BigDecimal
(
value
.
toString
()).
toPlainString
());
rlit
.
setRedLetterInvoiceInfoTableNum
(
new
BigDecimal
(
value
.
toString
()).
toPlainString
());
}
}
rlit
.
setPeriod
(
periodDate
);
rlit
.
setPeriod
(
DateUtils
.
dateToPeriod
(
row
.
getCell
(
3
).
getDateCellValue
()));
try
{
rlit
.
setFillInDate
(
row
.
getCell
(
3
).
getDateCellValue
());
rlit
.
setFillInDate
(
row
.
getCell
(
1
).
getDateCellValue
());
}
catch
(
Exception
e
){
}
rlit
.
setSalesTaxNumber
(
getCellStringValue
(
row
.
getCell
(
4
)));
rlit
.
setSalesTaxNumber
(
getCellStringValue
(
row
.
getCell
(
4
)));
rlit
.
setSalespersonName
(
getCellStringValue
(
row
.
getCell
(
5
)));
rlit
.
setSalespersonName
(
getCellStringValue
(
row
.
getCell
(
5
)));
rlit
.
setTotalAmount
(
getCellBigDecimalValue
(
row
.
getCell
(
6
),
evaluator
));
rlit
.
setTotalAmount
(
getCellBigDecimalValue
(
row
.
getCell
(
6
),
evaluator
));
...
@@ -2199,7 +2196,6 @@ public class DataImportService extends BaseService {
...
@@ -2199,7 +2196,6 @@ public class DataImportService extends BaseService {
DataImportLogExample
example
=
new
DataImportLogExample
();
DataImportLogExample
example
=
new
DataImportLogExample
();
DataImportLogExample
.
Criteria
criteria
=
example
.
createCriteria
();
DataImportLogExample
.
Criteria
criteria
=
example
.
createCriteria
();
Page
page
=
PageHelper
.
startPage
(
param
.
getPageInfo
().
getPageIndex
(),
param
.
getPageInfo
().
getPageSize
());
List
<
String
>
orgIds
=
organizationService
.
getMyOrgList
().
stream
().
map
(
OrgSelectDto:
:
getId
).
collect
(
Collectors
.
toList
());
List
<
String
>
orgIds
=
organizationService
.
getMyOrgList
().
stream
().
map
(
OrgSelectDto:
:
getId
).
collect
(
Collectors
.
toList
());
//财务数据抽取展示抽取记录除了admin能查看所有操作人员的操作,其余人员只能看到本身的
//财务数据抽取展示抽取记录除了admin能查看所有操作人员的操作,其余人员只能看到本身的
String
uid
=
authUserHelper
.
getCurrentUserId
();
String
uid
=
authUserHelper
.
getCurrentUserId
();
...
@@ -2210,6 +2206,7 @@ public class DataImportService extends BaseService {
...
@@ -2210,6 +2206,7 @@ public class DataImportService extends BaseService {
criteria
.
andOrganizationIdIn
(
orgIds
).
andCreateTimeBetween
(
strDate
,
endDate
).
andOperatorEqualTo
(
authUserHelper
.
getCurrentAuditor
().
get
());
criteria
.
andOrganizationIdIn
(
orgIds
).
andCreateTimeBetween
(
strDate
,
endDate
).
andOperatorEqualTo
(
authUserHelper
.
getCurrentAuditor
().
get
());
}
}
example
.
setOrderByClause
(
"update_time desc"
);
example
.
setOrderByClause
(
"update_time desc"
);
Page
page
=
PageHelper
.
startPage
(
param
.
getPageInfo
().
getPageIndex
(),
param
.
getPageInfo
().
getPageSize
());
PageInfo
<
DataImportLogDto
>
pageInfo
=
new
PageInfo
<>(
dataImportLogMapper
.
selectByExample
(
example
).
stream
()
PageInfo
<
DataImportLogDto
>
pageInfo
=
new
PageInfo
<>(
dataImportLogMapper
.
selectByExample
(
example
).
stream
()
.
map
(
o
->
beanUtil
.
copyProperties
(
o
,
new
DataImportLogDto
())).
collect
(
Collectors
.
toList
()));
.
map
(
o
->
beanUtil
.
copyProperties
(
o
,
new
DataImportLogDto
())).
collect
(
Collectors
.
toList
()));
pageInfo
.
setTotal
(
page
.
getTotal
());
pageInfo
.
setTotal
(
page
.
getTotal
());
...
...
atms-web/src/main/webapp/app/common/controls/import/import-adjust-table/import-adjust-table.ctrl.js
View file @
de9017ae
...
@@ -767,6 +767,8 @@
...
@@ -767,6 +767,8 @@
withCredentials
:
true
withCredentials
:
true
}).
then
(
function
(
resp
)
{
}).
then
(
function
(
resp
)
{
var
ret
=
resp
.
data
;
var
ret
=
resp
.
data
;
$scope
.
fileName
=
''
;
$scope
.
importExcelFile
=
null
;
$
(
'#busy-indicator-container'
).
hide
();
$
(
'#busy-indicator-container'
).
hide
();
deferred
.
resolve
();
deferred
.
resolve
();
if
(
ret
.
result
)
{
if
(
ret
.
result
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-balance-sheet/import-balance-sheet.ctrl.js
View file @
de9017ae
...
@@ -741,6 +741,8 @@
...
@@ -741,6 +741,8 @@
withCredentials
:
true
withCredentials
:
true
}).
then
(
function
(
resp
)
{
}).
then
(
function
(
resp
)
{
var
ret
=
resp
.
data
;
var
ret
=
resp
.
data
;
$scope
.
fileName
=
''
;
$scope
.
importExcelFile
=
null
;
$
(
'#busy-indicator-container'
).
hide
();
$
(
'#busy-indicator-container'
).
hide
();
deferred
.
resolve
();
deferred
.
resolve
();
if
(
ret
.
result
)
{
if
(
ret
.
result
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-cash-flow/import-cash-flow.ctrl.js
View file @
de9017ae
...
@@ -744,6 +744,8 @@
...
@@ -744,6 +744,8 @@
withCredentials
:
true
withCredentials
:
true
}).
then
(
function
(
resp
)
{
}).
then
(
function
(
resp
)
{
var
ret
=
resp
.
data
;
var
ret
=
resp
.
data
;
$scope
.
fileName
=
''
;
$scope
.
importExcelFile
=
null
;
$
(
'#busy-indicator-container'
).
hide
();
$
(
'#busy-indicator-container'
).
hide
();
deferred
.
resolve
();
deferred
.
resolve
();
if
(
ret
.
result
)
{
if
(
ret
.
result
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-certified-invoices-list/import-certified-invoices-list.ctrl.js
View file @
de9017ae
...
@@ -186,6 +186,7 @@
...
@@ -186,6 +186,7 @@
}).
then
(
function
(
resp
)
{
}).
then
(
function
(
resp
)
{
var
ret
=
resp
.
data
;
var
ret
=
resp
.
data
;
$scope
.
fileName
=
''
;
$scope
.
fileName
=
''
;
$scope
.
importExcelFile
=
null
;
$
(
'#busy-indicator-container'
).
hide
();
$
(
'#busy-indicator-container'
).
hide
();
deferred
.
resolve
();
deferred
.
resolve
();
if
(
ret
.
result
)
{
if
(
ret
.
result
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-cit-bs-prc-adjust/import-cit-bs-prc-adjust.ctrl.js
View file @
de9017ae
...
@@ -169,6 +169,8 @@
...
@@ -169,6 +169,8 @@
withCredentials
:
true
withCredentials
:
true
}).
then
(
function
(
data
)
{
}).
then
(
function
(
data
)
{
var
resp
=
data
.
data
;
var
resp
=
data
.
data
;
$scope
.
fileName
=
''
;
$scope
.
importExcelFile
=
null
;
$
(
'#busy-indicator-container'
).
hide
();
$
(
'#busy-indicator-container'
).
hide
();
deferred
.
resolve
();
deferred
.
resolve
();
if
(
resp
.
data
||
resp
.
result
)
{
if
(
resp
.
data
||
resp
.
result
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-cit-draft-account-mapping/import-cit-draft-account-mapping.ctrl.js
View file @
de9017ae
...
@@ -161,6 +161,8 @@
...
@@ -161,6 +161,8 @@
withCredentials
:
true
withCredentials
:
true
}).
then
(
function
(
data
)
{
}).
then
(
function
(
data
)
{
var
resp
=
data
.
data
;
var
resp
=
data
.
data
;
$scope
.
fileName
=
''
;
$scope
.
importExcelFile
=
null
;
$
(
'#busy-indicator-container'
).
hide
();
$
(
'#busy-indicator-container'
).
hide
();
deferred
.
resolve
();
deferred
.
resolve
();
if
(
resp
.
data
||
resp
.
result
)
{
if
(
resp
.
data
||
resp
.
result
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-cit-eam-assets-disposal/import-cit-eam-assets-disposal.ctrl.js
View file @
de9017ae
...
@@ -160,6 +160,8 @@
...
@@ -160,6 +160,8 @@
withCredentials
:
true
withCredentials
:
true
}).
then
(
function
(
data
)
{
}).
then
(
function
(
data
)
{
var
resp
=
data
.
data
;
var
resp
=
data
.
data
;
$scope
.
fileName
=
''
;
$scope
.
importExcelFile
=
null
;
$
(
'#busy-indicator-container'
).
hide
();
$
(
'#busy-indicator-container'
).
hide
();
deferred
.
resolve
();
deferred
.
resolve
();
if
(
resp
.
data
||
resp
.
result
)
{
if
(
resp
.
data
||
resp
.
result
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-cit-journal-adjust/import-cit-journal-adjust.ctrl.js
View file @
de9017ae
...
@@ -173,7 +173,8 @@
...
@@ -173,7 +173,8 @@
withCredentials
:
true
withCredentials
:
true
}).
then
(
function
(
data
)
{
}).
then
(
function
(
data
)
{
var
resp
=
data
.
data
;
var
resp
=
data
.
data
;
$scope
.
fileName
=
''
;
$scope
.
importExcelFile
=
null
;
$
(
'#busy-indicator-container'
).
hide
();
$
(
'#busy-indicator-container'
).
hide
();
deferred
.
resolve
();
deferred
.
resolve
();
if
(
resp
.
result
)
{
if
(
resp
.
result
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-cit-profit-prc-adjust/import-cit-profit-prc-adjust.ctrl.js
View file @
de9017ae
...
@@ -169,6 +169,8 @@
...
@@ -169,6 +169,8 @@
withCredentials
:
true
withCredentials
:
true
}).
then
(
function
(
data
)
{
}).
then
(
function
(
data
)
{
var
resp
=
data
.
data
;
var
resp
=
data
.
data
;
$scope
.
fileName
=
''
;
$scope
.
importExcelFile
=
null
;
$
(
'#busy-indicator-container'
).
hide
();
$
(
'#busy-indicator-container'
).
hide
();
deferred
.
resolve
();
deferred
.
resolve
();
if
(
resp
.
data
||
resp
.
result
)
{
if
(
resp
.
data
||
resp
.
result
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-cit-salary-advance/import-cit-salary-advance.ctrl.js
View file @
de9017ae
...
@@ -192,9 +192,9 @@
...
@@ -192,9 +192,9 @@
__RequestVerificationToken
:
token
,
__RequestVerificationToken
:
token
,
withCredentials
:
true
withCredentials
:
true
}).
then
(
function
(
data
)
{
}).
then
(
function
(
data
)
{
$scope
.
importExcelFile
=
null
;
$scope
.
fileName
=
null
;
var
resp
=
data
.
data
;
var
resp
=
data
.
data
;
$scope
.
fileName
=
''
;
$scope
.
importExcelFile
=
null
;
$
(
'#busy-indicator-container'
).
hide
();
$
(
'#busy-indicator-container'
).
hide
();
deferred
.
resolve
();
deferred
.
resolve
();
if
(
resp
.
result
)
{
if
(
resp
.
result
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-cit-trial-balance/import-cit-trial-balance.ctrl.js
View file @
de9017ae
...
@@ -172,6 +172,8 @@
...
@@ -172,6 +172,8 @@
withCredentials
:
true
withCredentials
:
true
}).
then
(
function
(
data
)
{
}).
then
(
function
(
data
)
{
$scope
.
fileNameShow
=
false
;
$scope
.
fileNameShow
=
false
;
$scope
.
fileName
=
''
;
$scope
.
importExcelFile
=
null
;
$
(
'#busy-indicator-container'
).
hide
();
$
(
'#busy-indicator-container'
).
hide
();
var
resp
=
data
.
data
;
var
resp
=
data
.
data
;
deferred
.
resolve
();
deferred
.
resolve
();
...
...
atms-web/src/main/webapp/app/common/controls/import/import-coupa-purchasing-report/import-coupa-purchasing-report.ctrl.js
View file @
de9017ae
...
@@ -209,6 +209,8 @@
...
@@ -209,6 +209,8 @@
withCredentials
:
true
withCredentials
:
true
}).
then
(
function
(
resp
)
{
}).
then
(
function
(
resp
)
{
var
ret
=
resp
.
data
;
var
ret
=
resp
.
data
;
$scope
.
fileName
=
''
;
$scope
.
importExcelFile
=
null
;
$
(
'#busy-indicator-container'
).
hide
();
$
(
'#busy-indicator-container'
).
hide
();
deferred
.
resolve
();
deferred
.
resolve
();
if
(
ret
.
result
)
{
if
(
ret
.
result
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-invoice-record/import-invoice-record.ctrl.js
View file @
de9017ae
...
@@ -192,7 +192,8 @@
...
@@ -192,7 +192,8 @@
withCredentials
:
true
withCredentials
:
true
}).
then
(
function
(
resp
)
{
}).
then
(
function
(
resp
)
{
var
ret
=
resp
.
data
;
var
ret
=
resp
.
data
;
$scope
.
fileName
=
''
;
$scope
.
importExcelFile
=
null
;
$
(
'#busy-indicator-container'
).
hide
();
$
(
'#busy-indicator-container'
).
hide
();
deferred
.
resolve
();
deferred
.
resolve
();
if
(
ret
.
result
)
{
if
(
ret
.
result
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-profit-loss/import-profit-loss.ctrl.js
View file @
de9017ae
...
@@ -195,6 +195,8 @@
...
@@ -195,6 +195,8 @@
withCredentials
:
true
withCredentials
:
true
}).
then
(
function
(
resp
)
{
}).
then
(
function
(
resp
)
{
var
ret
=
resp
.
data
;
var
ret
=
resp
.
data
;
$scope
.
fileName
=
''
;
$scope
.
importExcelFile
=
null
;
$
(
'#busy-indicator-container'
).
hide
();
$
(
'#busy-indicator-container'
).
hide
();
deferred
.
resolve
();
deferred
.
resolve
();
if
(
ret
.
result
)
{
if
(
ret
.
result
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-red-letter-info-table/import-red-letter-info-table.ctrl.js
View file @
de9017ae
...
@@ -194,6 +194,8 @@
...
@@ -194,6 +194,8 @@
withCredentials
:
true
withCredentials
:
true
}).
then
(
function
(
resp
)
{
}).
then
(
function
(
resp
)
{
var
ret
=
resp
.
data
;
var
ret
=
resp
.
data
;
$scope
.
fileName
=
''
;
$scope
.
importExcelFile
=
null
;
$
(
'#busy-indicator-container'
).
hide
();
$
(
'#busy-indicator-container'
).
hide
();
deferred
.
resolve
();
deferred
.
resolve
();
if
(
ret
.
result
)
{
if
(
ret
.
result
)
{
...
...
atms-web/src/main/webapp/app/dataImport/log/import-log/import-log.ctrl.js
View file @
de9017ae
...
@@ -154,7 +154,6 @@
...
@@ -154,7 +154,6 @@
width
:
518
,
width
:
518
,
visible
:
true
visible
:
true
},
},
height
:
'99%'
,
headerFilter
:
{
headerFilter
:
{
visible
:
false
,
visible
:
false
,
texts
:
{
texts
:
{
...
...
atms-web/src/main/webapp/app/dataImport/log/import-log/import-log.html
View file @
de9017ae
...
@@ -20,10 +20,10 @@
...
@@ -20,10 +20,10 @@
<div
id=
"importLogGridContainer"
dx-data-grid=
"importLogGridOptions"
<div
id=
"importLogGridContainer"
dx-data-grid=
"importLogGridOptions"
style=
"margin-top: 30px;"
>
style=
"margin-top: 30px;"
>
</div>
</div>
<
!--<
div class="page-footer">
<div
class=
"page-footer"
>
<ack-pagination
page-options=
"pagingOptions"
<ack-pagination
page-options=
"pagingOptions"
refresh-table=
"refreshConfigGrid()"
></ack-pagination>
refresh-table=
"refreshConfigGrid()"
></ack-pagination>
</div>
-->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
atms-web/src/main/webapp/app/dataImport/log/import-log/import-log.less
View file @
de9017ae
...
@@ -175,6 +175,7 @@
...
@@ -175,6 +175,7 @@
}
}
.dt-init-wrapper {
.dt-init-wrapper {
margin: 60px 0;
max-width: 99%;
max-width: 99%;
height: calc(100% - 200px);
height: calc(100% - 200px);
position: relative;
position: relative;
...
...
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