package com.smartor.service.impl; 
 | 
  
 | 
import com.smartor.domain.ServiceOutPath; 
 | 
import com.smartor.mapper.ServiceOutPathMapper; 
 | 
import com.smartor.service.IServiceOutPathService; 
 | 
import org.springframework.beans.factory.annotation.Autowired; 
 | 
import org.springframework.stereotype.Service; 
 | 
  
 | 
import java.util.List; 
 | 
  
 | 
/** 
 | 
 * 主键Service业务层处理 
 | 
 * 
 | 
 * @author lihu 
 | 
 * @date 2024-11-04 
 | 
 */ 
 | 
@Service 
 | 
public class ServiceOutPathServiceImpl implements IServiceOutPathService { 
 | 
    @Autowired 
 | 
    private ServiceOutPathMapper serviceOutPathMapper; 
 | 
  
 | 
    /** 
 | 
     * 查询主键 
 | 
     * 
 | 
     * @param id 主键主键 
 | 
     * @return 主键 
 | 
     */ 
 | 
    @Override 
 | 
    public ServiceOutPath selectServiceOutPathById(Long id) { 
 | 
        return serviceOutPathMapper.selectServiceOutPathById(id); 
 | 
    } 
 | 
  
 | 
    /** 
 | 
     * 查询主键列表 
 | 
     * 
 | 
     * @param serviceOutPath 主键 
 | 
     * @return 主键 
 | 
     */ 
 | 
    @Override 
 | 
    public List<ServiceOutPath> selectServiceOutPathList(ServiceOutPath serviceOutPath) { 
 | 
        return serviceOutPathMapper.selectServiceOutPathList(serviceOutPath); 
 | 
    } 
 | 
  
 | 
    /** 
 | 
     * 新增主键 
 | 
     * 
 | 
     * @param serviceOutPath 主键 
 | 
     * @return 结果 
 | 
     */ 
 | 
    @Override 
 | 
    public int insertServiceOutPath(ServiceOutPath serviceOutPath) { 
 | 
        return serviceOutPathMapper.insertServiceOutPath(serviceOutPath); 
 | 
    } 
 | 
  
 | 
    /** 
 | 
     * 修改主键 
 | 
     * 
 | 
     * @param serviceOutPath 主键 
 | 
     * @return 结果 
 | 
     */ 
 | 
    @Override 
 | 
    public int updateServiceOutPath(ServiceOutPath serviceOutPath) { 
 | 
        return serviceOutPathMapper.updateServiceOutPath(serviceOutPath); 
 | 
    } 
 | 
  
 | 
    /** 
 | 
     * 批量删除主键 
 | 
     * 
 | 
     * @param ids 需要删除的主键主键 
 | 
     * @return 结果 
 | 
     */ 
 | 
    @Override 
 | 
    public int deleteServiceOutPathByIds(Long[] ids) { 
 | 
        return serviceOutPathMapper.deleteServiceOutPathByIds(ids); 
 | 
    } 
 | 
  
 | 
    /** 
 | 
     * 删除主键信息 
 | 
     * 
 | 
     * @param id 主键主键 
 | 
     * @return 结果 
 | 
     */ 
 | 
    @Override 
 | 
    public int deleteServiceOutPathById(Long id) { 
 | 
        return serviceOutPathMapper.deleteServiceOutPathById(id); 
 | 
    } 
 | 
  
 | 
    /** 
 | 
     * 查询自增ID 
 | 
     * 
 | 
     * @return ID 
 | 
     */ 
 | 
    @Override 
 | 
    public Integer selectAutoId() { 
 | 
        return serviceOutPathMapper.selectAutoId(); 
 | 
    } 
 | 
} 
 |