whycxzp
2025-03-18 f127214ad1076769c9cb4a97963ee3ad5053e970
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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<BattLithiumTestDataInf>{
    //充放电一体机测试统计
    List<BattLithiumTestDataInf> getDevTinf(@Param("uid") int uid);
    //本年
    List<BattLithiumTestDataInf> getDevTinfByYear(@Param("uid")int userId);
 
    //本月
    List<BattLithiumTestDataInf> getDevTinfByMonth(@Param("uid")int userId);
 
    //近一周(mysql中不会算上今天)
    List<BattLithiumTestDataInf> getDevTinfByWeek(@Param("uid")int userId, @Param("type")int type);
 
    //获取充放电数据
    List<BattLithiumTestDataInf> getTinfById(@Param("type")int type, @Param("devId")Integer devId);
}