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
f52eed5c
Commit
f52eed5c
authored
Apr 19, 2019
by
eddie.woo
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev_mysql' into uat_didi
parents
cef27fb2
a7a182ce
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
17 deletions
+25
-17
OperationLogTaxDocController.java
...taxtech/atms/controller/OperationLogTaxDocController.java
+2
-2
DataImportService.java
...java/pwc/taxtech/atms/service/impl/DataImportService.java
+1
-2
OperationLogTaxDocument.java
...java/pwc/taxtech/atms/entity/OperationLogTaxDocument.java
+2
-2
TaxDocument.java
...ao/src/main/java/pwc/taxtech/atms/entity/TaxDocument.java
+1
-1
cit-import-asset-list.html
...t/import/cit-import-asset-list/cit-import-asset-list.html
+4
-1
tax-document-list.ctrl.js
...ocumentManage/tax-document-list/tax-document-list.ctrl.js
+15
-9
No files found.
atms-api/src/main/java/pwc/taxtech/atms/controller/OperationLogTaxDocController.java
View file @
f52eed5c
...
...
@@ -75,12 +75,12 @@ public class OperationLogTaxDocController {
try
{
Map
<
String
,
String
>
headers
=
new
LinkedHashMap
<>();
headers
.
put
(
"id"
,
"序号"
);
headers
.
put
(
"create_time"
,
"操作时间"
);
headers
.
put
(
"operation_action"
,
"操作"
);
headers
.
put
(
"update_state"
,
"操作内容"
);
headers
.
put
(
"operation_user"
,
"操作人员"
);
headers
.
put
(
"ip"
,
"操作ip"
);
//
headers.put("ip", "操作ip");
headers
.
put
(
"comment"
,
"备注"
);
headers
.
put
(
"create_time"
,
"操作时间"
);
List
<
String
>
ids
=
operationLogTaxDocument
.
getIds
()
==
null
?
Lists
.
newArrayList
()
:
operationLogTaxDocument
.
getIds
();
List
<
OperationLogTaxDocument
>
taxDocuments
=
operationLogTaxDocService
.
selectListForLog
(
ids
);
response
.
setContentType
(
"multipart/form-data"
);
...
...
atms-api/src/main/java/pwc/taxtech/atms/service/impl/DataImportService.java
View file @
f52eed5c
...
...
@@ -1070,7 +1070,7 @@ public class DataImportService extends BaseService {
addDataImportLog
(
dataImportLogs
);
int
isSuccess
=
(
int
)
dataImportLogs
.
stream
().
filter
(
di
->
Boolean
.
TRUE
.
equals
(
di
.
getImportResult
())).
count
();
if
(
isSuccess
<
1
)
{
return
OperationResultDto
.
error
(
ErrorMessage
.
NoData
);
return
OperationResultDto
.
error
(
ErrorMessage
.
ImportNotMatch
);
}
return
OperationResultDto
.
success
();
}
catch
(
ServiceException
e
)
{
...
...
@@ -1740,7 +1740,6 @@ public class DataImportService extends BaseService {
cpr
.
setCurrency
(
getCellStringValue
(
row
.
getCell
(
12
)));
String
billNum
=
getCellStringValue
(
row
.
getCell
(
13
));
cpr
.
setBillNum
(
billNum
);
cpr
.
setCompanyCode
(
StringUtils
.
isNotEmpty
(
billNum
)
?
billNum
.
substring
(
0
,
6
)
:
""
);
cpr
.
setPaid
(
getCellBolleanValue
(
row
.
getCell
(
14
)));
cpr
.
setAmortization
(
getCellBolleanValue
(
row
.
getCell
(
15
)));
cpr
.
setPrepayments
(
getCellBolleanValue
(
row
.
getCell
(
16
)));
...
...
atms-dao/src/main/java/pwc/taxtech/atms/entity/OperationLogTaxDocument.java
View file @
f52eed5c
...
...
@@ -97,7 +97,7 @@ public class OperationLogTaxDocument implements Serializable {
*
* @mbg.generated
*/
@ExcelCell
(
index
=
6
)
//
@ExcelCell(index=6)
private
String
ip
;
/**
...
...
@@ -107,7 +107,7 @@ public class OperationLogTaxDocument implements Serializable {
*
* @mbg.generated
*/
@ExcelCell
(
index
=
7
)
@ExcelCell
(
index
=
6
)
private
String
comment
;
/**
...
...
atms-dao/src/main/java/pwc/taxtech/atms/entity/TaxDocument.java
View file @
f52eed5c
...
...
@@ -316,7 +316,7 @@ public class TaxDocument implements Serializable {
*
* @mbg.generated
*/
@ExcelCell
(
index
=
11
,
isStatus
=
"0:
未
审核,1:审核通过,-1:审核不通过"
)
@ExcelCell
(
index
=
11
,
isStatus
=
"0:
待
审核,1:审核通过,-1:审核不通过"
)
private
Integer
auditStatus
;
/**
...
...
atms-web/src/main/webapp/app/cit/import/cit-import-asset-list/cit-import-asset-list.html
View file @
f52eed5c
...
...
@@ -229,8 +229,11 @@
<
/div
>
<
/div
>
<
div
class
=
"modal-footer"
>
<!--
<
button
style
=
"margin-left: 22px;"
type
=
"button"
class
=
"btn btn-primary"
ng
-
click
=
"saveAssetGroupInfo()"
-->
<!--
ng
-
disabled
=
"!hasEditPermission"
>
{{
'Confirm'
|
translate
}}
-->
<!--
<
/button>--
>
<
button
style
=
"margin-left: 22px;"
type
=
"button"
class
=
"btn btn-primary"
ng
-
click
=
"saveAssetGroupInfo()"
ng
-
disabled
=
"!hasEditPermission"
>
{{
'Confirm'
|
translate
}}
>
{{
'Confirm'
|
translate
}}
<
/button
>
<
button
type
=
"button"
class
=
"btn btn-third"
ng
-
click
=
"cancelAsset()"
ng
-
if
=
"!isDisabled"
ng
-
disabled
=
"isDisabled"
>
{{
'ButtonCancel'
|
translate
}}
...
...
atms-web/src/main/webapp/app/taxDocumentManage/tax-document-list/tax-document-list.ctrl.js
View file @
f52eed5c
...
...
@@ -2260,15 +2260,21 @@ taxDocumentManageModule.directive('tempModule', function () {
};
$scope
.
transformAuditStatusToView
=
function
(
src
)
{
var
result
=
$translate
.
instant
(
'ApprovalStandby'
);
if
(
src
==
0
)
{
result
=
$translate
.
instant
(
'ApprovalStandby'
);
}
else
if
(
src
==
1
)
{
result
=
$translate
.
instant
(
'ApprovalPass'
);
}
else
if
(
src
==
-
1
)
{
result
=
$translate
.
instant
(
'ApprovalReject'
);
}
else
{
result
=
""
;
var
result
=
""
;
if
(
typeof
src
==
'string'
){
if
(
src
==
"待审批"
||
src
==
"审批通过"
||
src
==
"拒绝审批"
){
result
=
src
;
}
}
else
{
if
(
src
==
0
){
result
=
$translate
.
instant
(
'ApprovalStandby'
);
}
else
if
(
src
==
1
){
result
=
$translate
.
instant
(
'ApprovalPass'
);
}
else
if
(
src
==
-
1
){
result
=
$translate
.
instant
(
'ApprovalReject'
);
}
else
{
result
=
""
;
}
}
return
result
;
};
...
...
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