package com.whyc.mapper; import com.whyc.pojo.db_lithium_testdata.BattLithiumTestDataInf; import org.apache.ibatis.annotations.Param; import java.util.List; public interface BattLithiumTestDataInfMapper extends CustomMapper{ //充放电一体机测试统计 List getDevTinf(@Param("uid") int uid); //本年 List getDevTinfByYear(@Param("uid")int userId); //本月 List getDevTinfByMonth(@Param("uid")int userId); //近一周(mysql中不会算上今天) List getDevTinfByWeek(@Param("uid")int userId, @Param("type")int type); //获取充放电数据 List getTinfById(@Param("type")int type, @Param("devId")Integer devId); }