Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-finance
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
base_platform_enterprise
gic-platform-finance
Commits
1fecf428
Commit
1fecf428
authored
Nov 08, 2019
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加日志操作
parent
35d40109
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
InvoiceManageApiServiceImpl.java
...nance/service/outer/impl/InvoiceManageApiServiceImpl.java
+2
-2
No files found.
gic-platform-finance-service/src/main/java/com/gic/finance/service/outer/impl/InvoiceManageApiServiceImpl.java
View file @
1fecf428
...
@@ -153,7 +153,7 @@ public class InvoiceManageApiServiceImpl implements InvoiceManageApiService {
...
@@ -153,7 +153,7 @@ public class InvoiceManageApiServiceImpl implements InvoiceManageApiService {
}
}
@Override
@Override
public
ServiceResponse
<
Void
>
cancelInvoice
(
Integer
invoiceManageId
)
{
public
ServiceResponse
<
String
>
cancelInvoice
(
Integer
invoiceManageId
)
{
TabInvoiceManage
tabInvoiceManage
=
invoiceManageService
.
getById
(
invoiceManageId
);
TabInvoiceManage
tabInvoiceManage
=
invoiceManageService
.
getById
(
invoiceManageId
);
if
(
tabInvoiceManage
==
null
)
{
if
(
tabInvoiceManage
==
null
)
{
return
ServiceResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
"发票管理主键有误"
);
return
ServiceResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
"发票管理主键有误"
);
...
@@ -162,7 +162,7 @@ public class InvoiceManageApiServiceImpl implements InvoiceManageApiService {
...
@@ -162,7 +162,7 @@ public class InvoiceManageApiServiceImpl implements InvoiceManageApiService {
invoiceManageDTO
.
setInvoiceManageId
(
invoiceManageId
);
invoiceManageDTO
.
setInvoiceManageId
(
invoiceManageId
);
invoiceManageDTO
.
setInvoiceStatus
(
InvoiceStatusEnum
.
CANCEL
.
getCode
());
invoiceManageDTO
.
setInvoiceStatus
(
InvoiceStatusEnum
.
CANCEL
.
getCode
());
invoiceManageService
.
update
(
invoiceManageDTO
);
invoiceManageService
.
update
(
invoiceManageDTO
);
return
ServiceResponse
.
success
();
return
ServiceResponse
.
success
(
tabInvoiceManage
.
getInvoiceApplySerial
()
);
}
}
@Override
@Override
...
...
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