Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cash-loan-flow-boss
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QG
cash-loan-flow-boss
Commits
10909802
Commit
10909802
authored
Sep 04, 2019
by
suntao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单操作日志
parent
9ebc7050
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
OrderController.java
...ashloanflowboss/api/order/controller/OrderController.java
+0
-4
OrderService.java
...roup/cashloanflowboss/api/order/service/OrderService.java
+7
-1
No files found.
src/main/java/cn/quantgroup/cashloanflowboss/api/order/controller/OrderController.java
View file @
10909802
package
cn
.
quantgroup
.
cashloanflowboss
.
api
.
order
.
controller
;
import
java.util.Date
;
import
cn.quantgroup.cashloanflowboss.api.optlog.entity.OptHistoryLog
;
import
cn.quantgroup.cashloanflowboss.api.optlog.service.OptHistoryLogService
;
import
cn.quantgroup.cashloanflowboss.api.order.model.ApproveVo
;
import
cn.quantgroup.cashloanflowboss.api.order.model.LendingFormModel
;
import
cn.quantgroup.cashloanflowboss.api.order.service.OrderService
;
...
...
src/main/java/cn/quantgroup/cashloanflowboss/api/order/service/OrderService.java
View file @
10909802
...
...
@@ -53,6 +53,7 @@ import org.apache.commons.collections.CollectionUtils;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.exception.ExceptionUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.data.domain.Page
;
import
org.springframework.data.domain.PageRequest
;
import
org.springframework.stereotype.Service
;
...
...
@@ -92,6 +93,8 @@ public class OrderService {
@Value
(
"${debug.model}"
)
private
Boolean
debugModel
;
@Autowired
...
...
@@ -151,7 +154,10 @@ public class OrderService {
Tuple
<
String
,
List
<
OrderVo
.
OptButton
>>
currentStatusAndButtons
=
OrderUtil
.
getCurrentStatusAndButtons
(
currentStatus
,
orderApprove
);
orderVo
.
setStatus
(
currentStatusAndButtons
.
getKey
());
if
(
debugModel
)
{
// 只有测试环境才需要订单操作
orderVo
.
setOpt
(
currentStatusAndButtons
.
getValue
());
}
orderVo
.
setMessage
(
""
);
}
else
{
orderVo
.
setMessage
(
"订单查询错误"
);
...
...
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