|
@@ -271,6 +271,7 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
|
|
|
OrderDon orderDon = orderDonMapper.selectOne(Wrappers.lambdaQuery(OrderDon.class)
|
|
OrderDon orderDon = orderDonMapper.selectOne(Wrappers.lambdaQuery(OrderDon.class)
|
|
|
.eq(OrderDon::getRelationId, ticket.getRelationId())
|
|
.eq(OrderDon::getRelationId, ticket.getRelationId())
|
|
|
.eq(OrderDon::getUserId, ticket.getUserId())
|
|
.eq(OrderDon::getUserId, ticket.getUserId())
|
|
|
|
|
+ .eq(OrderDon::getOrderType, 1)
|
|
|
.notIn(OrderDon::getStatus, Constant.noOrderAllStatus)
|
|
.notIn(OrderDon::getStatus, Constant.noOrderAllStatus)
|
|
|
.orderByDesc(OrderDon::getId)
|
|
.orderByDesc(OrderDon::getId)
|
|
|
.last("limit 1"));
|
|
.last("limit 1"));
|