IUnionLogsDAO.java 1013 Bytes
package com.yoho.unions.dal;

import org.apache.ibatis.annotations.Param;

import com.yoho.unions.dal.model.UnionLogs;



public interface IUnionLogsDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(UnionLogs record);

    int insertSelective(UnionLogs record);

    UnionLogs selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UnionLogs record);

    int updateByPrimaryKey(UnionLogs record);
    
    UnionLogs selectIOS(@Param("appId") String appId,@Param("idfa") String idfa,@Param("clientType")String clientType, @Param("unionType") int unionType);
    
    UnionLogs selectAndroid(@Param("appId")String appId,@Param("imei") String imei,@Param("clientType")String clientType, @Param("unionType") int unionType);
    
    UnionLogs selectUnionList(UnionLogs logs);
    UnionLogs selectByClientType(@Param("clientType")String clientType, @Param("idfa")String idfa, @Param("imei")String imei, @Param("unionType")int unionType);
    int updateUnionLogs(UnionLogs logs);
    
    
}