下单数量

This commit is contained in:
2025-12-17 14:17:58 +08:00
parent ecd6412b24
commit ccb13f3653
2 changed files with 5 additions and 0 deletions

View File

@@ -186,6 +186,7 @@ public class GbOrderServiceImpl extends ServiceImpl<GbOrderMapper, GbOrder> impl
record.setUserId(param.getUserId());
record.setWareId(param.getParamId());
record.setCreateTime(LocalDateTime.now());
record.setNum(param.getNumber());
record.setPayAmount(param.getPrice());
record.setStatus("待支付");
record.setOrderNo(CzgRandomUtils.randomNumber(OrderNoPrefixEnum.GBO, 12, false));