sql 问题

This commit is contained in:
2025-12-17 14:06:04 +08:00
parent 9fcdef412e
commit 78c75ffd2f

View File

@@ -121,7 +121,7 @@ public class GbOrderServiceImpl extends ServiceImpl<GbOrderMapper, GbOrder> impl
ware.setShopAddress(shopInfo.getAddress());
}
List<GbWareOrderVO> orderIngResult = new ArrayList<>();
List<GbWareOrderVO> orderIng = listAs(query().eq(GbOrder::getId, wareId)
List<GbWareOrderVO> orderIng = listAs(query().eq(GbOrder::getWareId, wareId)
.eq(GbOrder::getShopId, shopId)
.eq(GbOrder::getStatus, "ing")
.orderBy(GbOrder::getGroupEndTime).desc()
@@ -237,6 +237,7 @@ public class GbOrderServiceImpl extends ServiceImpl<GbOrderMapper, GbOrder> impl
return;
}
record.setIsDel(YesNoEnum.NO.value());
record.setStatus("待成团");
record.setPayOrderId(payOrderId);
record.setPayTime(LocalDateTime.now());
record.setVerifyCode(CzgRandomUtils.randomNumber(12, true));