package com.jcdm.main.da.leakageDetection.service.impl; import java.util.List; import com.jcdm.main.da.leakageDetection.domain.DaLeakageDetection; import com.jcdm.main.da.leakageDetection.mapper.DaLeakageDetectionMapper; import com.jcdm.main.da.leakageDetection.service.IDaLeakageDetectionService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; /** * 外漏检测Service业务层处理 * * @author Yi * @date 2025-05-07 */ @Service public class DaLeakageDetectionServiceImpl implements IDaLeakageDetectionService { @Autowired private DaLeakageDetectionMapper daLeakageDetectionMapper; /** * 查询外漏检测 * * @param id 外漏检测主键 * @return 外漏检测 */ @Override public DaLeakageDetection selectDaLeakageDetectionById(Long id) { return daLeakageDetectionMapper.selectDaLeakageDetectionById(id); } /** * 查询外漏检测列表 * * @param daLeakageDetection 外漏检测 * @return 外漏检测 */ @Override public List selectDaLeakageDetectionList(DaLeakageDetection daLeakageDetection) { return daLeakageDetectionMapper.selectDaLeakageDetectionList(daLeakageDetection); } /** * 新增外漏检测 * * @param daLeakageDetection 外漏检测 * @return 结果 */ @Override public int insertDaLeakageDetection(DaLeakageDetection daLeakageDetection) { return daLeakageDetectionMapper.insertDaLeakageDetection(daLeakageDetection); } /** * 修改外漏检测 * * @param daLeakageDetection 外漏检测 * @return 结果 */ @Override public int updateDaLeakageDetection(DaLeakageDetection daLeakageDetection) { return daLeakageDetectionMapper.updateDaLeakageDetection(daLeakageDetection); } /** * 批量删除外漏检测 * * @param ids 需要删除的外漏检测主键 * @return 结果 */ @Override public int deleteDaLeakageDetectionByIds(Long[] ids) { return daLeakageDetectionMapper.deleteDaLeakageDetectionByIds(ids); } /** * 删除外漏检测信息 * * @param id 外漏检测主键 * @return 结果 */ @Override public int deleteDaLeakageDetectionById(Long id) { return daLeakageDetectionMapper.deleteDaLeakageDetectionById(id); } }