| New file | 
|  |  |  | 
|---|
|  |  |  | package com.dy.pipIrrGlobal.daoPr; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.pojoPr.PrWaterPrice; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Mapper; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * @author ZhuBaoMin | 
|---|
|  |  |  | * @date 2024-05-24 9:28 | 
|---|
|  |  |  | * @LastEditTime 2024-05-24 9:28 | 
|---|
|  |  |  | * @Description | 
|---|
|  |  |  | */ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Mapper | 
|---|
|  |  |  | public interface PrWaterPriceMapper extends BaseMapper<PrWaterPrice> { | 
|---|
|  |  |  | int deleteByPrimaryKey(Long id); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int insert(PrWaterPrice record); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int insertSelective(PrWaterPrice record); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | PrWaterPrice selectByPrimaryKey(Long id); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int updateByPrimaryKeySelective(PrWaterPrice record); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int updateByPrimaryKey(PrWaterPrice record); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 获取水价 | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | Double getPrice(); | 
|---|
|  |  |  | } | 
|---|