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.impl;
 
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.system.domain.TOrderMealGoods;
import com.ruoyi.system.mapper.TOrderMealGoodsMapper;
import com.ruoyi.system.service.TOrderMealGoodsService;
import org.springframework.stereotype.Service;
 
import java.math.BigDecimal;
import java.util.List;
 
/**
 * <p>
 * 餐饮订单商品 服务实现类
 * </p>
 *
 * @author xiaochen
 * @since 2024-08-14
 */
@Service
public class TOrderMealGoodsServiceImpl extends ServiceImpl<TOrderMealGoodsMapper, TOrderMealGoods> implements TOrderMealGoodsService {
 
    @Override
    public BigDecimal costTotal(List<Long> ids) {
        return this.baseMapper.costTotal(ids);
    }
 
    @Override
    public void deleteByOrderId(List<Long> mealIds) {
        this.baseMapper.deleteByOrderId(mealIds);
    }
}