package com.matrix.system.hive.dao;
|
|
import java.util.Date;
|
import java.util.List;
|
import java.util.Map;
|
|
import com.matrix.core.pojo.PaginationVO;
|
import com.matrix.system.api.vo.UserAchieveVo;
|
import com.matrix.system.hive.bean.AchieveNew;
|
import org.apache.ibatis.annotations.Param;
|
|
|
/**
|
*
|
* @date 2019-03-24 16:01
|
*/
|
|
|
public interface AchieveNewDao{
|
|
public int insert(@Param("item") AchieveNew achieveNew);
|
|
public int batchInsert(@Param("list") List<AchieveNew> achieveNewList);
|
|
public int updateByMap(Map<String, Object> modifyMap);
|
|
public int updateByModel(@Param("record") AchieveNew achieveNew);
|
|
public int deleteByIds(@Param("list") List<Long> list);
|
|
public int deleteById(Long id);
|
|
public int deleteByModel(@Param("record") AchieveNew achieveNew);
|
|
|
public abstract int updateAchieveTime(@Param("record") AchieveNew paramAchieveNew);
|
|
|
public List<AchieveNew> selectInPage(@Param("record") AchieveNew achieveNew, @Param("pageVo") PaginationVO pageVo);
|
|
public List<AchieveNew> selectByModel(@Param("record") AchieveNew achieveNew);
|
|
public int selectTotalRecord(@Param("record") AchieveNew achieveNew);
|
|
public AchieveNew selectById(Long id);
|
|
public AchieveNew selectForUpdate(Long id);
|
|
public List<AchieveNew> findDayFlow(@Param("record") AchieveNew achieveNew, @Param("pageVo") PaginationVO pageVo);
|
|
public int findDayFlowTotal(@Param("record") AchieveNew achieveNew, @Param("pageVo") PaginationVO pageVo);
|
|
|
public List<AchieveNew> findSumDailyInfoNew(@Param("record") AchieveNew achieveNew, @Param("pageVo") PaginationVO pageVo);
|
|
|
List<AchieveNew> selectVipConsumeStatisticsList(@Param("record") AchieveNew achieveNew, @Param("pageVo") PaginationVO pageVo);
|
|
int selectVipConsumeStatisticsTotal(@Param("record") AchieveNew achieveNew);
|
|
UserAchieveVo selectUserAchieveByTime(@Param("startTime") Date startTime, @Param("endTime") Date endTime, @Param("userId") Long userId);
|
|
}
|