Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
1885f40c
Commit
1885f40c
authored
Dec 03, 2020
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改保险
parent
0555e901
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
OrderPageVO.java
.../java/com/xxfc/platform/order/pojo/order/OrderPageVO.java
+2
-0
BaseOrderController.java
...ava/com/xxfc/platform/order/rest/BaseOrderController.java
+9
-0
No files found.
xx-order/xx-order-api/src/main/java/com/xxfc/platform/order/pojo/order/OrderPageVO.java
View file @
1885f40c
...
...
@@ -76,6 +76,8 @@ public class OrderPageVO extends BaseOrder {
private
List
<
OrderItem
>
items
;
private
List
<
OrderPersonInsurance
>
insurances
;
public
void
setQrcodeStr
(
String
prefix
)
{
this
.
qrcodeStr
=
prefix
+
"?"
+
TYPE
+
getType
()+
"&"
+
NO
+
getNo
();
}
...
...
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/rest/BaseOrderController.java
View file @
1885f40c
...
...
@@ -60,6 +60,7 @@ import java.util.Map;
import
java.util.stream.Collectors
;
import
static
com
.
github
.
wxiaoqi
.
security
.
common
.
constant
.
CommonConstants
.
SYS_TRUE
;
import
static
com
.
xxfc
.
platform
.
order
.
entity
.
BaseOrder
.
INSURE_STATUS_NOT
;
import
static
com
.
xxfc
.
platform
.
order
.
entity
.
BaseOrder
.
ORDER_TYPE_VEHICLE
;
import
static
com
.
xxfc
.
platform
.
universal
.
constant
.
DictionaryKey
.
APP_ORDER
;
import
static
com
.
xxfc
.
platform
.
universal
.
constant
.
DictionaryKey
.
RENT_PERSON_INSURANCE
;
...
...
@@ -113,6 +114,9 @@ public class BaseOrderController extends CommonBaseController implements UserRes
@Autowired
OrderDepositRefundRecordBiz
orderDepositRefundRecordBiz
;
@Autowired
OrderPersonInsuranceBiz
orderPersonInsuranceBiz
;
@Override
public
UserFeign
getUserFeign
()
{
return
userFeign
;
...
...
@@ -260,6 +264,11 @@ public class BaseOrderController extends CommonBaseController implements UserRes
}
log
.
info
(
"no:"
+
no
+
",时间戳:"
+
System
.
currentTimeMillis
());
OrderPageVO
orderPageVO
=
page
.
getData
().
get
(
0
);
if
(
INSURE_STATUS_NOT
!=
orderPageVO
.
getInsureStatus
())
{
orderPageVO
.
setInsurances
(
orderPersonInsuranceBiz
.
selectList
(
new
OrderPersonInsurance
(){{
setOrderId
(
orderPageVO
.
getId
());
}}));
}
orderPageVO
.
setQrcodeStr
(
qrcodePrefix
);
orderPageVO
.
setItems
(
orderItemBiz
.
selectList
(
new
OrderItem
(){{
setOrderId
(
orderPageVO
.
getId
());
...
...
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