fix: 打包字段为varchar导致数据类型不统一查询数据有误
This commit is contained in:
@@ -614,7 +614,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
||||
.isNull(TbCashierCart::getPlaceNum)
|
||||
.eq(TbCashierCart::getUseType, shopEatTypeInfoDTO.getUseType())
|
||||
.eq(TbCashierCart::getStatus, "create")
|
||||
.eq(TbCashierCart::getIsGift, addCartDTO.isGift())
|
||||
.eq(TbCashierCart::getIsGift, addCartDTO.isGift() ? "true" : "false")
|
||||
.and(q -> q.eq(TbCashierCart::getMasterId, addCartDTO.getMasterId()).or().isNull(TbCashierCart::getMasterId));
|
||||
|
||||
if (addCartDTO.getCartId() != null) {
|
||||
|
||||
Reference in New Issue
Block a user