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 ?)``