课程详情添加购买后开始、结束时间
This commit is contained in:
@@ -295,9 +295,11 @@ public class CourseServiceImpl extends ServiceImpl<CourseDao, CourseEntity> impl
|
||||
Page<ShopProduct> resPage = null;
|
||||
LambdaQueryWrapper<ShopProduct> w = new LambdaQueryWrapper<>();
|
||||
w.like(ShopProduct::getProductName,param.get("productName"));
|
||||
if (StringUtils.isNotBlank(c.getRelationProductIds())){
|
||||
String[] productIds = c.getRelationProductIds().split(",");
|
||||
w.notIn(ShopProduct::getProductId,productIds);
|
||||
if (c != null) {
|
||||
if (StringUtils.isNotBlank(c.getRelationProductIds())){
|
||||
String[] productIds = c.getRelationProductIds().split(",");
|
||||
w.notIn(ShopProduct::getProductId,productIds);
|
||||
}
|
||||
}
|
||||
resPage = shopProductDao.selectPage(new Page<>(page, limit), w);
|
||||
return resPage;
|
||||
|
||||
Reference in New Issue
Block a user