xuhy
2023-08-11 3c1223bf3eb6df077b48637a7c93a93246a1a8ae
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.stylefeng.guns.modular.smallLogistics.server.impl;
 
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.stylefeng.guns.modular.smallLogistics.dao.OrderLogisticsSpreadMapper;
import com.stylefeng.guns.modular.smallLogistics.model.OrderLogisticsSpread;
import com.stylefeng.guns.modular.smallLogistics.server.IOrderLogisticsSpreadService;
import org.springframework.stereotype.Service;
 
import javax.annotation.Resource;
import java.util.Map;
 
 
@Service
public class OrderLogisticsSpreadService extends ServiceImpl<OrderLogisticsSpreadMapper, OrderLogisticsSpread> implements IOrderLogisticsSpreadService {
 
    @Resource
    private OrderLogisticsSpreadMapper orderLogisticsSpreadMapper;
 
 
    /**
     * 获取差价信息
     * @param orderLogisticsId
     * @return
     * @throws Exception
     */
    @Override
    public OrderLogisticsSpread query(Integer orderLogisticsId) throws Exception {
        return this.selectOne(new EntityWrapper<OrderLogisticsSpread>().eq("orderLogisticsId", orderLogisticsId));
    }
}