xuhy
2024-10-30 660f4451c140a9da1f4bb92721a403b128dbdaf7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package com.ruoyi.system.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.TOrderMealGoods;
import org.apache.ibatis.annotations.Param;
 
import java.math.BigDecimal;
import java.util.List;
 
/**
 * <p>
 * 餐饮订单商品 服务类
 * </p>
 *
 * @author xiaochen
 * @since 2024-08-14
 */
public interface TOrderMealGoodsService extends IService<TOrderMealGoods> {
 
    /**
     * 获取商品成本
     * @param ids
     * @return
     */
    BigDecimal costTotal(List<Long> ids);
 
    /**
     * 删除
     * @param mealIds
     */
    void deleteByOrderId(List<Long> mealIds);
}