| New file | 
|  |  |  | 
|---|
|  |  |  | package com.dy.pipIrrGlobal.daoBa; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.pojoBa.BaMapGraph; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Mapper; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * @author ZhuBaoMin | 
|---|
|  |  |  | * @date 2024-08-13 11:26 | 
|---|
|  |  |  | * @LastEditTime 2024-08-13 11:26 | 
|---|
|  |  |  | * @Description | 
|---|
|  |  |  | */ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Mapper | 
|---|
|  |  |  | public interface BaMapGraphMapper extends BaseMapper<BaMapGraph>{ | 
|---|
|  |  |  | int deleteByPrimaryKey(Long id); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int insert(BaMapGraph record); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int insertSelective(BaMapGraph record); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | BaMapGraph selectByPrimaryKey(Long id); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int updateByPrimaryKeySelective(BaMapGraph record); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int updateByPrimaryKey(BaMapGraph record); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据片区ID删除地图图形 | 
|---|
|  |  |  | * @param blockId | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | int deleteByBlockId(Long blockId); | 
|---|
|  |  |  | } | 
|---|