This commit is contained in:
parent
0174aa15c7
commit
e45c5fcc69
|
|
@ -136,6 +136,7 @@ public class ItemService extends BaseService {
|
||||||
|
|
||||||
public List<ItemSearchVo> search(String keyword) {
|
public List<ItemSearchVo> search(String keyword) {
|
||||||
QueryWrapper<Item> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<Item> queryWrapper = new QueryWrapper<>();
|
||||||
|
queryWrapper.eq("del_flag", 0);
|
||||||
if (keyword != null && !keyword.isEmpty()) {
|
if (keyword != null && !keyword.isEmpty()) {
|
||||||
String upperKeyword = keyword.toUpperCase();
|
String upperKeyword = keyword.toUpperCase();
|
||||||
queryWrapper.like("item_name", upperKeyword);
|
queryWrapper.like("item_name", upperKeyword);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue