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
d3a0366f
Commit
d3a0366f
authored
Sep 24, 2019
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务管理-发票管理-开票户关闭接口修改
parent
a9f7ab14
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
InvoiceAccountApiServiceImpl.java
...ance/service/outer/impl/InvoiceAccountApiServiceImpl.java
+4
-0
No files found.
gic-platform-finance-service/src/main/java/com/gic/finance/service/outer/impl/InvoiceAccountApiServiceImpl.java
View file @
d3a0366f
...
@@ -75,6 +75,10 @@ public class InvoiceAccountApiServiceImpl implements InvoiceAccountApiService {
...
@@ -75,6 +75,10 @@ public class InvoiceAccountApiServiceImpl implements InvoiceAccountApiService {
if
(
tab
==
null
)
{
if
(
tab
==
null
)
{
return
ServiceResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
"主键有误"
);
return
ServiceResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
"主键有误"
);
}
}
TabInvoiceAccount
enableTab
=
invoiceAccountService
.
getEnable
();
if
(
enableTab
.
getInvoiceAccountId
().
intValue
()
==
id
.
intValue
())
{
return
ServiceResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
"不能关闭,必须有一个是开启状态"
);
}
InvoiceAccountDTO
dto
=
new
InvoiceAccountDTO
();
InvoiceAccountDTO
dto
=
new
InvoiceAccountDTO
();
dto
.
setInvoiceAccountId
(
id
);
dto
.
setInvoiceAccountId
(
id
);
dto
.
setStatus
(
InvoiceUseStatusEnum
.
DISABLE
.
getCode
());
dto
.
setStatus
(
InvoiceUseStatusEnum
.
DISABLE
.
getCode
());
...
...
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