DriverStockService.java 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. package com.template.services;
  2. import com.github.pagehelper.PageInfo;
  3. import com.template.model.tongji.MeterPage;
  4. import com.template.model.tongji.Tj;
  5. import com.template.model.tongji.TjFloat;
  6. import com.template.model.tongji.userPage;
  7. import org.apache.ibatis.annotations.Param;
  8. import java.time.LocalDateTime;
  9. import java.util.List;
  10. public interface DriverStockService {
  11. // 年级统计
  12. public List<Tj> getClassTj();
  13. // 访客统计
  14. public List<Tj> getVisitorTj(LocalDateTime start,LocalDateTime end);
  15. // 能耗总量统计
  16. public List<TjFloat> getEnergyTj();
  17. // 每栋楼电费月统计
  18. public List<TjFloat> getEnergyMonth(@Param("date") String date, @Param("type") Integer type);
  19. // 近12天水电统计
  20. public List<TjFloat> getEnergyDay(@Param("date") String date,@Param("type") Integer type);
  21. // 总设备数
  22. public List<TjFloat> getTotalDevice();
  23. // 在线设备数
  24. public List<TjFloat> getOnlineDevice(@Param("date") String date);
  25. public PageInfo<MeterPage> getMeterDetail(@Param("meterType") Integer meterType);
  26. // 用户结构
  27. public List<Tj> getUserComp();
  28. // 用户汇总学生
  29. public PageInfo<userPage> getUserPage(String key,Integer identityId,String classIds);
  30. // 教学成果
  31. public List<Tj> getScorePer(@Param("examName") String examName,@Param("updateUser") String updateUser);
  32. // 考试名称
  33. public List<Tj> getExamName();
  34. // 教师评分
  35. public Tj getTeacherExam(@Param("cardNo") String cardNo);
  36. }