| | |
| | | import com.ruoyi.system.service.TOrderMealGoodsService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | | * 餐饮订单商品 服务实现类 |
| | |
| | | @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); |
| | | } |
| | | } |