菜单优化
This commit is contained in:
@@ -73,11 +73,9 @@ public class OrderUtil {
|
||||
String wxId = getWxidFromJdid(orderRowList.get(0).getUnionId().toString());
|
||||
StringBuilder content = new StringBuilder();
|
||||
content.append("批量订单:\n\r ").append(" 共 ").append(orderRowList.size()).append("单 \r");
|
||||
List<OrderRow> filterList = orderRowList.stream().filter(orderRow -> orderRow.getValidCode() == 16
|
||||
|| orderRow.getValidCode() == 17
|
||||
|| orderRow.getValidCode() == 15
|
||||
|| orderRow.getValidCode() == 13).toList();
|
||||
content.append("移除取消的订单(保留状态 13 15 16 17), 共 ").append(filterList.size()).append("单: \n\r");
|
||||
List<OrderRow> filterList = orderRowList.stream().filter(orderRow -> orderRow.getValidCode() !=2
|
||||
&& orderRow.getValidCode() != 4).toList();
|
||||
content.append("移除 拆单(2)取消(3)的订单, 共 ").append(filterList.size()).append("单: \n\r");
|
||||
for (OrderRow orderRow : filterList) {
|
||||
String oldValidCode = redisTemplate.opsForValue().get(ORDER_ROW_KEY + orderRow.getId());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user