PlatformAppDownloadMapper.java 1.12 KB
package com.glsx.mapper;

import com.glsx.model.PlatformAppDownload;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>Description:
 * <p>Project: shop
 *
 * @author wbh
 * @date 2020-12-15
 */
@Mapper
public interface PlatformAppDownloadMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PlatformAppDownload record);

    int insertOrUpdate(PlatformAppDownload record);

    int insertOrUpdateSelective(PlatformAppDownload record);

    int insertSelective(PlatformAppDownload record);

    PlatformAppDownload selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PlatformAppDownload record);

    int updateByPrimaryKey(PlatformAppDownload record);

    int updateBatch(List<PlatformAppDownload> list);

    int updateBatchSelective(List<PlatformAppDownload> list);

    int getApiCallCountAuth(@Param("customerName") String customerName);

    List<Map<String, Object>> getAppDownloadStatistic(@Param("startTime") Date startTime,
                                                      @Param("endTime") Date endTime, @Param("customerName") String customerName);
}