Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
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-enterprise
Commits
f95ee36a
Commit
f95ee36a
authored
Jun 01, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
051c8f99
7e79cf17
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
15 deletions
+14
-15
ApprovalCallBackDTO.java
...main/java/com/gic/enterprise/dto/ApprovalCallBackDTO.java
+1
-1
OutPayDTO.java
...e-api/src/main/java/com/gic/enterprise/dto/OutPayDTO.java
+1
-1
BillingOrderApiServcImpl.java
...terprise/service/outer/impl/BillingOrderApiServcImpl.java
+12
-13
No files found.
gic-platform-enterprise-api/src/main/java/com/gic/enterprise/dto/ApprovalCallBackDTO.java
View file @
f95ee36a
...
...
@@ -28,7 +28,7 @@ public class ApprovalCallBackDTO implements Serializable {
private
Integer
enterpriseId
;
private
String
errorCode
;
private
String
errorCodeRes
;
@NotNull
(
message
=
"审批时间不能为空, 格式为
YYYY
MMdd"
,
groups
=
ApprovalValid
.
class
)
@NotNull
(
message
=
"审批时间不能为空, 格式为
yyyy
MMdd"
,
groups
=
ApprovalValid
.
class
)
private
String
timeEnd
;
private
String
prepayId
;
...
...
gic-platform-enterprise-api/src/main/java/com/gic/enterprise/dto/OutPayDTO.java
View file @
f95ee36a
...
...
@@ -62,7 +62,7 @@ public class OutPayDTO implements Serializable {
@NotNull
(
message
=
"购买类型不能为空"
,
groups
=
{
SavePrePay
.
class
,
ConfirmPay
.
class
})
private
Integer
buyProductType
;
/**
* 交易开始时间, 格式为
YYYY
MMddHHmmss
* 交易开始时间, 格式为
yyyy
MMddHHmmss
*/
@NotBlank
(
message
=
"交易起始时间不能为空"
,
groups
=
{
SavePrePay
.
class
})
private
String
timeStart
;
...
...
gic-platform-enterprise-service/src/main/java/com/gic/enterprise/service/outer/impl/BillingOrderApiServcImpl.java
View file @
f95ee36a
package
com
.
gic
.
enterprise
.
service
.
outer
.
impl
;
import
java.text.ParseException
;
import
java.text.SimpleDateFormat
;
import
java.util.Calendar
;
import
java.util.Date
;
import
org.apache.logging.log4j.LogManager
;
import
org.apache.logging.log4j.Logger
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.context.annotation.Lazy
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
com.alibaba.fastjson.JSON
;
import
com.gic.api.base.commons.Page
;
import
com.gic.api.base.commons.ServiceResponse
;
...
...
@@ -29,6 +17,17 @@ import com.gic.enterprise.response.EnterpriseServiceResponse;
import
com.gic.enterprise.service.*
;
import
com.gic.finance.service.TransferAccountsApprovalApiService
;
import
com.github.pagehelper.PageHelper
;
import
org.apache.logging.log4j.LogManager
;
import
org.apache.logging.log4j.Logger
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.context.annotation.Lazy
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.text.ParseException
;
import
java.text.SimpleDateFormat
;
import
java.util.Calendar
;
import
java.util.Date
;
@Service
(
"billingOrderApiService"
)
public
class
BillingOrderApiServcImpl
implements
BillingOrderApiService
{
...
...
@@ -114,7 +113,7 @@ public class BillingOrderApiServcImpl implements BillingOrderApiService {
}
}
outPayDTO
.
setBuyType
(
BuyTypeEnum
.
BUY_SHORT_MESSAGE_PACKAGE
.
getCode
());
outPayDTO
.
setTimeStart
(
new
SimpleDateFormat
(
"
YYYY
MMddHHmmss"
).
format
(
new
Date
()));
outPayDTO
.
setTimeStart
(
new
SimpleDateFormat
(
"
yyyy
MMddHHmmss"
).
format
(
new
Date
()));
outPayDTO
.
setOrderSerialNumber
(
order
.
getSerialNumber
());
outPayDTO
.
setPayType
(
payType
);
outPayDTO
.
setAuthCode
(
authCode
);
...
...
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