package com.ard.inspection.service.impl; import java.util.List; import com.ard.common.utils.DateUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.ard.inspection.mapper.ArdPointCloudMapper; import com.ard.inspection.domain.ArdPointCloud; import com.ard.inspection.service.IArdPointCloudService; /** * 点云文件Service业务层处理 * * @author xia * @date 2026-03-03 */ @Service public class ArdPointCloudServiceImpl implements IArdPointCloudService { @Autowired private ArdPointCloudMapper ardPointCloudMapper; /** * 查询点云文件 * * @param id 点云文件主键 * @return 点云文件 */ @Override public ArdPointCloud selectArdPointCloudById(String id) { return ardPointCloudMapper.selectArdPointCloudById(id); } /** * 查询点云文件列表 * * @param ardPointCloud 点云文件 * @return 点云文件 */ @Override public List selectArdPointCloudList(ArdPointCloud ardPointCloud) { return ardPointCloudMapper.selectArdPointCloudList(ardPointCloud); } /** * 新增点云文件 * * @param ardPointCloud 点云文件 * @return 结果 */ @Override public int insertArdPointCloud(ArdPointCloud ardPointCloud) { ardPointCloud.setCreateTime(DateUtils.getNowDate()); return ardPointCloudMapper.insertArdPointCloud(ardPointCloud); } /** * 修改点云文件 * * @param ardPointCloud 点云文件 * @return 结果 */ @Override public int updateArdPointCloud(ArdPointCloud ardPointCloud) { ardPointCloud.setUpdateTime(DateUtils.getNowDate()); return ardPointCloudMapper.updateArdPointCloud(ardPointCloud); } /** * 批量删除点云文件 * * @param ids 需要删除的点云文件主键 * @return 结果 */ @Override public int deleteArdPointCloudByIds(String[] ids) { return ardPointCloudMapper.deleteArdPointCloudByIds(ids); } /** * 删除点云文件信息 * * @param id 点云文件主键 * @return 结果 */ @Override public int deleteArdPointCloudById(String id) { return ardPointCloudMapper.deleteArdPointCloudById(id); } }