zhubaomin
2025-04-09 1129cc278ec2f7f1fd3eb325b11974bd884346da
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrWaterNetworkMapper.java
New file
@@ -0,0 +1,42 @@
package com.dy.pipIrrGlobal.daoPr;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dy.pipIrrGlobal.pojoPr.PrWaterNetwork;
import com.dy.pipIrrGlobal.voPr.VoNetwork;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
 * @author ZhuBaoMin
 * @date 2024-08-27 17:14
 * @LastEditTime 2024-08-27 17:14
 * @Description
 */
@Mapper
public interface PrWaterNetworkMapper extends BaseMapper<PrWaterNetwork> {
    int deleteByPrimaryKey(Long id);
    int insert(PrWaterNetwork record);
    int insertSelective(PrWaterNetwork record);
    PrWaterNetwork selectByPrimaryKey(Long id);
    int updateByPrimaryKeySelective(PrWaterNetwork record);
    int updateByPrimaryKey(PrWaterNetwork record);
    /**
     * 清除全部管网
     */
    void clearNetworks();
    /**
     * 获取全部管网
     * @return
     */
    List<VoNetwork> getAllNewworks();
}