批量删除套餐、菜品起售停售(TODO)

This commit is contained in:
slhaf
2024-09-12 20:55:15 +08:00
parent e223fbb1a8
commit a65c9e0c69
11 changed files with 115 additions and 5 deletions

View File

@@ -8,6 +8,8 @@ import com.sky.enumeration.OperationType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;
@Mapper
public interface SetmealMapper {
@@ -23,4 +25,9 @@ public interface SetmealMapper {
@AutoFill(OperationType.INSERT)
void insert(Setmeal setmeal);
@Select("select * from setmeal where id = #{id}")
Setmeal selectById(Long id);
void deleteBatch(List<Long> ids);
}