DriverStockMapper.java 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. package com.template.mapper;
  2. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  3. import com.template.model.pojo.SmartUser;
  4. import com.template.model.tongji.*;
  5. import org.apache.ibatis.annotations.Param;
  6. import org.apache.poi.ss.formula.functions.T;
  7. import org.springframework.stereotype.Repository;
  8. import java.util.List;
  9. @Repository
  10. public interface DriverStockMapper extends BaseMapper<T> {
  11. // 年级统计
  12. public List<Tj> getClassTj();
  13. // 访客统计
  14. public List<Tj> getVisitorTj();
  15. // 能耗总量统计
  16. public List<TjFloat> getEnergyTj();
  17. // 每栋楼电费月统计
  18. public List<TjFloat> getEnergyMonth(@Param("date") String date,@Param("type") Integer type);
  19. // 总设备数
  20. public List<TjFloat> getTotalDevice();
  21. // 在线设备数
  22. public List<TjFloat> getOnlineDevice(@Param("date") String date);
  23. public List<MeterPage> getMeterDetail(@Param("meterType") Integer meterType);
  24. // 用户结构
  25. public List<Tj> getUserComp();
  26. // 用户汇总学生
  27. public List<userPage> getUserPage(@Param("key") String key,@Param("identityId") Integer identityId);
  28. // 教学成果
  29. public List<Tj> getScorePer(@Param("examName") String examName,@Param("updateUser") String updateUser);
  30. // 考试名称
  31. public List<Tj> getExamName();
  32. // 教师评分
  33. public List<Tj> getTeacherExam(@Param("cardNo") String cardNo);
  34. }