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
7916047e
Commit
7916047e
authored
Jan 10, 2020
by
jiaorz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发票
parent
02d4f8c3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
1 deletion
+9
-1
QueryOrderDTO.java
...ava/com/xxfc/platform/order/pojo/order/QueryOrderDTO.java
+2
-0
OrderVehicleCrosstownBiz.java
...com/xxfc/platform/order/biz/OrderVehicleCrosstownBiz.java
+1
-1
BaseOrderController.java
...ava/com/xxfc/platform/order/rest/BaseOrderController.java
+3
-0
BaseOrderMapper.xml
...rder-server/src/main/resources/mapper/BaseOrderMapper.xml
+3
-0
No files found.
xx-order/xx-order-api/src/main/java/com/xxfc/platform/order/pojo/order/QueryOrderDTO.java
View file @
7916047e
...
...
@@ -46,4 +46,6 @@ public class QueryOrderDTO extends PageParam {
private
String
orderIds
;
private
Integer
refundStatus
;
}
\ No newline at end of file
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/OrderVehicleCrosstownBiz.java
View file @
7916047e
...
...
@@ -127,7 +127,7 @@ public class OrderVehicleCrosstownBiz extends BaseBiz<OrderVehicaleCrosstownMapp
if
(
value
.
getType
()!=
1
){
Example
example
=
new
Example
(
OrderAccount
.
class
);
//获取退还部分押金和剩余押金的记录
example
.
createCriteria
().
andEqualTo
(
"orderId"
,
value
.
getOrderId
()).
andIn
(
"accountType"
,
Lists
.
newArrayList
(
AccountTypeEnum
.
OUT_PART_DEPOSIT
.
getCode
(),
AccountTypeEnum
.
OUT_RESIDUE_DEPOSIT
.
getCode
()));
example
.
createCriteria
().
andEqualTo
(
"orderId"
,
value
.
getOrderId
()).
andIn
(
"accountType"
,
Lists
.
newArrayList
(
AccountTypeEnum
.
OUT_PART_DEPOSIT
.
getCode
(),
AccountTypeEnum
.
OUT_RESIDUE_DEPOSIT
.
getCode
()))
.
andEqualTo
(
"accountStatus"
,
1
)
;
List
<
OrderAccount
>
orderAccounts
=
orderAccountBiz
.
selectByExample
(
example
);
if
(
CollectionUtil
.
isEmpty
(
orderAccounts
))
{
value
.
setActualDeposit
(
"定损中"
);
...
...
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/rest/BaseOrderController.java
View file @
7916047e
...
...
@@ -190,6 +190,9 @@ public class BaseOrderController extends CommonBaseController implements UserRes
}
//dto.setCrtUser(Integer.valueOf(BaseContextHandler.getUserID()));
dto
.
setUserId
(
Integer
.
valueOf
(
BaseContextHandler
.
getUserID
()));
if
(
dto
.
getType
()
==
OrderTypeEnum
.
RENT_VEHICLE
.
getCode
())
{
dto
.
setRefundStatus
(
3
);
}
Query
query
=
new
Query
(
dto
);
PageDataVO
<
OrderPageVO
>
pages
=
PageDataVO
.
pageInfo
(
query
,
()
->
baseOrderBiz
.
pageByParm
(
query
.
getSuper
()));
pages
.
getData
().
parallelStream
().
forEach
(
data
->
{
...
...
xx-order/xx-order-server/src/main/resources/mapper/BaseOrderMapper.xml
View file @
7916047e
...
...
@@ -71,6 +71,9 @@
<if
test=
"invoiceStatus != null"
>
and invoice_status = #{invoiceStatus}
</if>
<if
test=
"refundStatus != null"
>
and refund_status = #{refundStatus}
</if>
<if
test=
"hasMemberRight != null"
>
and has_member_right = #{hasMemberRight}
</if>
...
...
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