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 implements IOrderLogisticsSpreadService { @Resource private OrderLogisticsSpreadMapper orderLogisticsSpreadMapper; /** * 获取差价信息 * @param orderLogisticsId * @return * @throws Exception */ @Override public OrderLogisticsSpread query(Integer orderLogisticsId) throws Exception { return this.selectOne(new EntityWrapper().eq("orderLogisticsId", orderLogisticsId)); } }