赞
踩
List<WhseStoreVo> whseStoreVos = baseStoreService.list(new QueryWrapper<BaseStore>().lambda().eq(BaseStore::getShopWarehouse, CommonConstant.store_whse.whseType).and(e -> e.like(BaseStore::getStoreId, whseInfo).or().like(BaseStore::getStoreName, whseInfo)));
如下对应sql:
SELECT * FROM task WHERE shop_warehouse = ? AND (store_id LIKE ? OR store_name LIKE ?)``
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。