搜索参数问题处理
This commit is contained in:
parent
a535b5c54c
commit
44e36f0bcd
@ -99,8 +99,7 @@ public class OrderSearchParams extends PageVO {
|
|||||||
|
|
||||||
//关键字查询
|
//关键字查询
|
||||||
if (StrUtil.isNotEmpty(keywords)) {
|
if (StrUtil.isNotEmpty(keywords)) {
|
||||||
wrapper.like("o.sn", keywords);
|
wrapper.like("o.sn", keywords).or().like("oi.goods_name", keywords);
|
||||||
wrapper.like("oi.goods_name", keywords);
|
|
||||||
}
|
}
|
||||||
//按卖家查询
|
//按卖家查询
|
||||||
wrapper.eq(StrUtil.equals(UserContext.getCurrentUser().getRole().name(), UserEnums.STORE.name()), "o.store_id", UserContext.getCurrentUser().getStoreId());
|
wrapper.eq(StrUtil.equals(UserContext.getCurrentUser().getRole().name(), UserEnums.STORE.name()), "o.store_id", UserContext.getCurrentUser().getStoreId());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user