|
|
@@ -2,8 +2,8 @@ package com.template.mapper;
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
import com.template.model.pojo.SmartUser;
|
|
|
-import com.template.model.tongji.Tj;
|
|
|
-import com.template.model.tongji.TjFloat;
|
|
|
+import com.template.model.tongji.*;
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
import org.apache.poi.ss.formula.functions.T;
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
|
|
@@ -21,4 +21,30 @@ public interface DriverStockMapper extends BaseMapper<T> {
|
|
|
// 能耗总量统计
|
|
|
public List<TjFloat> getEnergyTj();
|
|
|
|
|
|
+ // 每栋楼电费月统计
|
|
|
+ public List<TjFloat> getEnergyMonth(@Param("date") String date,@Param("type") Integer type);
|
|
|
+
|
|
|
+ // 总设备数
|
|
|
+ public List<TjFloat> getTotalDevice();
|
|
|
+
|
|
|
+ // 在线设备数
|
|
|
+ public List<TjFloat> getOnlineDevice(@Param("date") String date);
|
|
|
+
|
|
|
+ public List<MeterPage> getMeterDetail(@Param("meterType") Integer meterType);
|
|
|
+
|
|
|
+ // 用户结构
|
|
|
+ public List<Tj> getUserComp();
|
|
|
+
|
|
|
+ // 用户汇总学生
|
|
|
+ public List<userPage> getUserPage(@Param("key") String key,@Param("identityId") Integer identityId);
|
|
|
+
|
|
|
+ // 教学成果
|
|
|
+ public List<Tj> getScorePer(@Param("examName") String examName,@Param("updateUser") String updateUser);
|
|
|
+
|
|
|
+ // 考试名称
|
|
|
+ public List<Tj> getExamName();
|
|
|
+
|
|
|
+ // 教师评分
|
|
|
+ public List<Tj> getTeacherExam(@Param("cardNo") String cardNo);
|
|
|
+
|
|
|
}
|