Commit 55ef0164 by 吕明尚

续费订单判断

parent c3dc7589
...@@ -211,6 +211,8 @@ public class RedisTask { ...@@ -211,6 +211,8 @@ public class RedisTask {
private boolean extracted(String o, List<SOrder> sOrders, SOrder sOrder) { private boolean extracted(String o, List<SOrder> sOrders, SOrder sOrder) {
List<SOrder> sOrders1 = sOrders.stream().filter(item -> List<SOrder> sOrders1 = sOrders.stream().filter(item ->
item.getStoreId().equals(sOrder.getStoreId()) && item.getStoreId().equals(sOrder.getStoreId()) &&
//不等于
!item.getOrderNo().equals(sOrder.getOrderNo()) &&
item.getRoomId().equals(sOrder.getRoomId()) && item.getRoomId().equals(sOrder.getRoomId()) &&
item.getConsumerId().equals(sOrder.getConsumerId()) && item.getConsumerId().equals(sOrder.getConsumerId()) &&
item.getOrderType().equals(OrderTypeEnum.RENEW.getCode()) && item.getOrderType().equals(OrderTypeEnum.RENEW.getCode()) &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment