fix: 只选择餐位费不允许创建订单
This commit is contained in:
parent
68a8f6d3c5
commit
873aa9fc89
|
|
@ -1064,9 +1064,10 @@ public class OrderService {
|
|||
jsonObject.put("type", "create");
|
||||
producer.cons(jsonObject.toString());
|
||||
|
||||
List<TbCashierCart> finalList = list;
|
||||
ThreadUtil.execAsync(() -> {
|
||||
ThreadUtil.sleep(5, TimeUnit.SECONDS);
|
||||
for (TbCashierCart cashierCart : list) {
|
||||
for (TbCashierCart cashierCart : finalList) {
|
||||
JSONObject objectMsg = new JSONObject();
|
||||
objectMsg.put("skuId", Integer.valueOf(cashierCart.getSkuId()));
|
||||
objectMsg.put("shopId", Integer.valueOf(cashierCart.getShopId()));
|
||||
|
|
|
|||
Loading…
Reference in New Issue