添加是否已经选择人数字段
This commit is contained in:
@@ -46,5 +46,9 @@ public class TbShopTable implements Serializable {
|
||||
@TableField(exist = false)
|
||||
private Integer orderId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private boolean isChoseCount;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -138,6 +138,7 @@ public class ProductService {
|
||||
ShopEatTypeInfoDTO shopEatTypeInfoDTO = shopUtils.checkEatModel(code, shopInfo.getId());
|
||||
TbOrderInfo order = getCurrentOrder(shopEatTypeInfoDTO, code, shopInfo.getId());
|
||||
tbShopTable.setOrderId(order == null ? null : order.getId());
|
||||
tbShopTable.setChoseCount(order != null && (order.getSeatCount() != null));
|
||||
concurrentMap.put("shopTableInfo", tbShopTable);
|
||||
concurrentMap.put("storeInfo", shopInfo);
|
||||
concurrentMap.put("distance", distance);
|
||||
|
||||
Reference in New Issue
Block a user