Newer
Older
huludao / src / main / java / com / newfiber / api / pc / dao / RiverManage / RiverInfoDao.java
@新烽开发者 新烽开发者 on 22 Jul 760 bytes init
package com.newfiber.api.pc.dao.RiverManage;


import com.newfiber.api.pc.model.River.RiverInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RiverInfoDao {

    int deleteByPrimaryKey(Integer id);

    int insert(RiverInfo record);

    int insertSelective(RiverInfo record);

    RiverInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RiverInfo record);

    int updateByPrimaryKeyWithBLOBs(RiverInfo record);

    int updateByPrimaryKey(RiverInfo record);

    List<RiverInfo> selectRiver(@Param("riverName") String riverName);

    /**
     * 查询16条基础河流
     * @return
     */
    List<RiverInfo> selectAllRiver();
}