商品模块bug修复

This commit is contained in:
Tankaikai 2025-03-11 11:37:38 +08:00
parent ff4833e270
commit e54d866e33
1 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,9 @@ public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product> impl
if (ObjUtil.isNotNull(param.getSpecId())) {
queryWrapper.eq(Product::getSpecId, param.getSpecId());
}
if (ObjUtil.isNotNull(param.getType())) {
queryWrapper.eq(Product::getType, param.getType());
}
if (StrUtil.isNotEmpty(param.getCreateBeginTime())) {
queryWrapper.ge(Product::getCreateTime, param.getCreateBeginTime());
}