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
f0d4f40b
Commit
f0d4f40b
authored
Apr 02, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发票申请,返回流水单号
parent
e6777ade
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
InvoiceManageApiService.java
...java/com/gic/finance/service/InvoiceManageApiService.java
+4
-4
InvoiceManageApiServiceImpl.java
...nance/service/outer/impl/InvoiceManageApiServiceImpl.java
+4
-4
No files found.
gic-platform-finance-api/src/main/java/com/gic/finance/service/InvoiceManageApiService.java
View file @
f0d4f40b
...
...
@@ -23,9 +23,9 @@ public interface InvoiceManageApiService {
* @Description:
* @author guojuxing
* @param invoiceManageDTO
* @return com.gic.api.base.commons.ServiceResponse<java.lang.
Void>
* @return com.gic.api.base.commons.ServiceResponse<java.lang.
String> 流水单号
*/
ServiceResponse
<
Void
>
applyInvoice
(
InvoiceManageDTO
invoiceManageDTO
);
ServiceResponse
<
String
>
applyInvoice
(
InvoiceManageDTO
invoiceManageDTO
);
/**
* 应用市场开票申请
...
...
@@ -33,9 +33,9 @@ public interface InvoiceManageApiService {
* @Description:
* @author guojuxing
* @param invoiceManageDTO
* @return com.gic.api.base.commons.ServiceResponse<java.lang.
Void>
* @return com.gic.api.base.commons.ServiceResponse<java.lang.
String> 流水单号
*/
ServiceResponse
<
Void
>
applyInvoiceForApp
(
InvoiceManageDTO
invoiceManageDTO
);
ServiceResponse
<
String
>
applyInvoiceForApp
(
InvoiceManageDTO
invoiceManageDTO
);
/**
* 开票。待邮寄/邮寄
...
...
gic-platform-finance-service/src/main/java/com/gic/finance/service/outer/impl/InvoiceManageApiServiceImpl.java
View file @
f0d4f40b
...
...
@@ -38,7 +38,7 @@ public class InvoiceManageApiServiceImpl implements InvoiceManageApiService {
@Autowired
private
InvoiceAccountService
invoiceAccountService
;
public
ServiceResponse
<
Void
>
applyInvoiceInit
(
InvoiceManageDTO
invoiceManageDTO
)
{
public
ServiceResponse
<
String
>
applyInvoiceInit
(
InvoiceManageDTO
invoiceManageDTO
)
{
ServiceResponse
paramResponse
=
ValidParamsUtils
.
allCheckValidate
(
invoiceManageDTO
,
InvoiceManageDTO
.
ApplyInvoiceValid
.
class
);
if
(!
paramResponse
.
isSuccess
())
{
...
...
@@ -63,18 +63,18 @@ public class InvoiceManageApiServiceImpl implements InvoiceManageApiService {
}
invoiceManageService
.
save
(
invoiceManageDTO
);
return
ServiceResponse
.
success
();
return
ServiceResponse
.
success
(
invoiceManageDTO
.
getInvoiceApplySerial
()
);
}
@Override
public
ServiceResponse
<
Void
>
applyInvoice
(
InvoiceManageDTO
invoiceManageDTO
)
{
public
ServiceResponse
<
String
>
applyInvoice
(
InvoiceManageDTO
invoiceManageDTO
)
{
//计费中心
invoiceManageDTO
.
setInitiateType
(
InvoiceInitiateTypeConstants
.
BILLING
);
return
applyInvoiceInit
(
invoiceManageDTO
);
}
@Override
public
ServiceResponse
<
Void
>
applyInvoiceForApp
(
InvoiceManageDTO
invoiceManageDTO
)
{
public
ServiceResponse
<
String
>
applyInvoiceForApp
(
InvoiceManageDTO
invoiceManageDTO
)
{
if
(
StringUtils
.
isBlank
(
invoiceManageDTO
.
getInitiator
()))
{
return
ServiceResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
"发起人(initiator)主键不能为空"
);
}
...
...
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