package com.nq.dao; import com.nq.pojo.FundsSecuritiesInfo; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Mapper; import org.springframework.stereotype.Repository; import java.util.List; /** * 配资证券信息 * @author lr * @date 2020/07/24 */ @Mapper @Repository public interface FundsSecuritiesInfoMapper { /** * [新增] * @author lr * @date 2020/07/24 **/ int insert(FundsSecuritiesInfo fundsSecuritiesInfo); /** * [刪除] * @author lr * @date 2020/07/24 **/ int delete(int id); /** * [更新] * @author lr * @date 2020/07/24 **/ int update(FundsSecuritiesInfo fundsSecuritiesInfo); /** * [查询] 根据主键 id 查询 * @author lr * @date 2020/07/24 **/ FundsSecuritiesInfo load(int id); /** * [查询] 分页查询 * @author lr * @date 2020/07/24 **/ List pageList(@Param("pageNum") int pageNum,@Param("pageSize") int pageSize,@Param("keyword") String keyword); /** * [查询] 分页查询 count * @author lr * @date 2020/07/24 **/ int pageListCount(int offset,int pagesize); /** * [查询] 查询可用的证券信息 * @author lr * @date 2020/07/24 **/ List getEnabledList(); }