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