UnionInvalidLogsMapper.java 1023 Bytes
package com.yoho.unions.dal;

import com.yoho.service.model.union.response.UnionInvalidLogsBO;
import com.yoho.unions.dal.model.UnionInvalidLogs;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UnionInvalidLogsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UnionInvalidLogs record);

    int insertSelective(UnionInvalidLogs record);

    int insertSelectiveOrUpdate(UnionInvalidLogs record);

    UnionInvalidLogs selectByPrimaryKey(Integer id);

    UnionInvalidLogs selectOneByConditions(@Param("unionType")long unionType, @Param("hour")int hour, @Param("date")int date);

    List<UnionInvalidLogsBO> selectByConditions(@Param("unionType")Long unionType, @Param("startDate")Integer startDate, @Param("endDate")Integer endDate, @Param("groupbyH")boolean groupbyH, @Param("groupbyD")boolean groupbyD);

    int updateByPrimaryKeySelective(UnionInvalidLogs record);

    int updateByPrimaryKey(UnionInvalidLogs record);

    int updateNum(UnionInvalidLogs record);
}