|
|
@@ -98,9 +98,13 @@ public class StoreCuisineServiceImpl extends ServiceImpl<StoreCuisineMapper, Sto
|
|
|
* 获取所有单品名称(cuisine_type = 1),用于添加套餐
|
|
|
*/
|
|
|
@Override
|
|
|
- public List<StoreCuisine> getSingleName() {
|
|
|
+ public List<StoreCuisine> getSingleName(Integer storeId) {
|
|
|
return lambdaQuery()
|
|
|
.eq(StoreCuisine::getCuisineType, 1)
|
|
|
+ .eq(StoreCuisine::getStatus, 1)
|
|
|
+ .eq(StoreCuisine::getShelfStatus, 1)
|
|
|
+ .eq(StoreCuisine::getDeleteFlag, 0)
|
|
|
+ .eq(StoreCuisine::getStoreId, storeId)
|
|
|
.list();
|
|
|
}
|
|
|
|