package com.zc.business.mapper; import java.util.HashMap; import java.util.List; import com.zc.business.domain.DcRoadSection; import org.apache.ibatis.annotations.Param; /** * 辖区路段Mapper接口 * * @author ruoyi * @date 2024-01-11 */ public interface DcRoadSectionMapper { /** * 查询辖区路段 * * @param id 辖区路段主键 * @return 辖区路段 */ public DcRoadSection selectDcRoadSectionById(Long id); /** * 查询辖区路段列表 * * @param dcRoadSection 辖区路段 * @return 辖区路段集合 */ List<DcRoadSection> selectDcRoadSectionList(DcRoadSection dcRoadSection); List<DcRoadSection> selectName(); /** * 新增辖区路段 * * @param dcRoadSection 辖区路段 * @return 结果 */ int insertDcRoadSection(DcRoadSection dcRoadSection); /** * 修改辖区路段 * * @param dcRoadSection 辖区路段 * @return 结果 */ int updateDcRoadSection(DcRoadSection dcRoadSection); /** * 删除辖区路段 * * @param id 辖区路段主键 * @return 结果 */ int deleteDcRoadSectionById(Long id); /** * 批量删除辖区路段 * * @param ids 需要删除的数据主键集合 * @return 结果 */ int deleteDcRoadSectionByIds(Long[] ids); //查询路线id与名称 List<HashMap<String,Object>> selectRoadList(); //查询桩号里程后的数据(路段) List<HashMap<String,Object>> selectMileage(); //查询桩号里程后的数据(桩号) List<HashMap<String,Object>> selectStakeMarkMileage(); //修改桩号归属路段id int updateStakeMarkRecord(@Param("sectionId") Long sectionId,@Param("stakeMark") String stakeMark); }