fix: 1. 台桌列表获取修改 2.优惠券优惠金额计算不准确修复
This commit is contained in:
@@ -290,7 +290,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
||||
for (TbShopTable date : tbShopTableList) {
|
||||
if (StrUtil.isBlank(date.getQrcode())) {
|
||||
date.setStatus("unbind");
|
||||
} else if (countMap.get(date.getQrcode()) < 1 && !TableStateEnum.CLEANING.getState().equals(date.getStatus())
|
||||
} else if (countMap.get(date.getQrcode()) != null && countMap.get(date.getQrcode()) < 1 && !TableStateEnum.CLEANING.getState().equals(date.getStatus())
|
||||
) {
|
||||
date.setStatus("idle");
|
||||
mpShopTableMapper.update(null, new LambdaUpdateWrapper<TbShopTable>()
|
||||
|
||||
Reference in New Issue
Block a user