Newer
Older
huludao / src / main / java / com / newfiber / api / pc / dao / RiverManage / RiverPicsDao.java
package com.newfiber.api.pc.dao.RiverManage;

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

import java.util.List;

/**
 * @author wmj
 * @Date: 2017/12/19 14:29
 * @description 河道图片接口
 */
@Repository
public interface RiverPicsDao {

    int addRiverPics(@Param("riverPicsNo") String riverPicsNo,
                     @Param("riverPicsName") String riverPicsName,
                     @Param("riverPicsAddress") String riverPicsAddress,
                     @Param("createUserNo") String createUserNo);

    int updateRiverPics(@Param("riverPicsNo") String riverPicsNo,
                        @Param("riverPicsName") String riverPicsName,
                        @Param("riverPicsAddress") String riverPicsAddress,
                        @Param("createUserNo") String createUserNo);

    int deleteRiverPics(@Param("list") List<String> list);

    List<RiverPics> selectRiverPicsList(@Param("riverPicsNo") String riverPicsNo);

    int countRiverPics(@Param("riverPicsNo") String riverPicsNo);

    int batchInsert(@Param("riverPics") List<RiverPics> riverPics);

    int batchUpdate(@Param("riverPicsNo")String riverPicsNo,@Param("serial") List<Integer> serial);

    int insert(RiverPics riverPics);

    List<RiverPics> batchSelect(@Param("riverPics") List<String> riverPics);
}