Commit b97292aa authored by macro's avatar macro
Browse files

前台商品查询逻辑修改

parent 20db1fb8
......@@ -47,6 +47,7 @@ public class PmsPortalProductServiceImpl implements PmsPortalProductService {
PmsProductExample example = new PmsProductExample();
PmsProductExample.Criteria criteria = example.createCriteria();
criteria.andDeleteStatusEqualTo(0);
criteria.andPublishStatusEqualTo(1);
if (StrUtil.isNotEmpty(keyword)) {
criteria.andNameLike("%" + keyword + "%");
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment