364 lines
9.6 KiB
Plaintext
364 lines
9.6 KiB
Plaintext
package com.sercurityControl.proteam.mapper;
|
|
|
|
import com.sercurityControl.proteam.domain.*;
|
|
import com.sercurityControl.proteam.domain.dto.WeathQo;
|
|
import com.sercurityControl.proteam.domain.vo.StatEntity;
|
|
import com.sercurityControl.proteam.domain.vo.WeekPlanVo;
|
|
import com.sercurityControl.proteam.dutyTask.domain.TowerVo;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* 查询首页接口
|
|
*
|
|
* @author ljl
|
|
*/
|
|
public interface HomeDataMapper {
|
|
|
|
|
|
/**
|
|
* 查询在建、停工工程数量
|
|
*
|
|
* @param isStop 是否停工
|
|
* @param orgId 建管单位ID
|
|
* @param proType 工程类型
|
|
* @return
|
|
*/
|
|
public int getProNum(@Param("orgId") String orgId, @Param("proType") String proType, @Param("isStop") String isStop);
|
|
|
|
/**
|
|
* 查询正在施工的工程数量
|
|
*
|
|
* @param workDate
|
|
* @param orgId
|
|
* @param proType
|
|
* @return
|
|
*/
|
|
public int getProNumByWork(@Param("workDate") String workDate, @Param("orgId") String orgId, @Param("proType") String proType);
|
|
|
|
/**
|
|
* 查询工程列表
|
|
*
|
|
* @param proData
|
|
* @return
|
|
*/
|
|
public List<ProData> getProList(ProData proData);
|
|
|
|
|
|
/**
|
|
* 查询计划数量
|
|
*
|
|
* @param dayPlanNum
|
|
* @return
|
|
*/
|
|
public DayPlanNum getDayPlan(DayPlanNum dayPlanNum);
|
|
|
|
/**
|
|
* 查询周计划列表
|
|
*
|
|
* @return
|
|
*/
|
|
public List<WeekRiskData> getWeekPlanList(WeekRiskData weekRiskData);
|
|
|
|
/**
|
|
* 查询风险分布数据
|
|
*
|
|
* @param riskMapData
|
|
* @return
|
|
*/
|
|
public List<RiskMapData> getRiskMap(RiskMapData riskMapData);
|
|
|
|
/**
|
|
* 查询天气分布
|
|
*
|
|
* @param currentDay
|
|
* @return
|
|
*/
|
|
public List<WeatherMapData> getWeatherMap(@Param("currentDay") String currentDay, @Param("hour") String hour);
|
|
|
|
/**
|
|
* 查询天气预警
|
|
*
|
|
* @param currentDay
|
|
* @param orgId 地市id
|
|
* @return
|
|
*/
|
|
public List<String> getWeatherAlert(@Param("currentDay") String currentDay, @Param("orgId") String orgId);
|
|
|
|
/**
|
|
* 查询天气预警
|
|
*
|
|
* @param
|
|
* @param 地市id
|
|
* @return
|
|
*/
|
|
public List<Map<String, String>> getWeatherAlertPlus(WeathQo weathQo);
|
|
|
|
/**
|
|
* 查询作业票类型数量
|
|
*
|
|
* @return
|
|
*/
|
|
public List<TicketTypeNum> getTicketNumByType(TicketTypeNum ticketTypeNum);
|
|
|
|
/**
|
|
* 查询作业票地市对比数据
|
|
*
|
|
* @param ticketCityNum
|
|
* @return
|
|
*/
|
|
public List<TicketCityNum> getTicketNumByCicty(TicketCityNum ticketCityNum);
|
|
|
|
/**
|
|
* 查询作业票列表数据
|
|
*
|
|
* @param ticketData
|
|
* @return
|
|
*/
|
|
public List<TicketData> getTicketList(TicketData ticketData);
|
|
|
|
/**
|
|
* 今日考勤统计
|
|
*
|
|
* @param currentDay
|
|
* @return
|
|
*/
|
|
public List<PersonNum> getDayAttendanceNum(@Param("currentDay") String currentDay);
|
|
|
|
/**
|
|
* 实时在场人员统计
|
|
*
|
|
* @param currentDay
|
|
* @return
|
|
*/
|
|
public List<PersonNum> getRealTimeNum(@Param("currentDay") String currentDay);
|
|
|
|
/**
|
|
* 获取考勤人员列表
|
|
*
|
|
* @param personData
|
|
* @return
|
|
*/
|
|
public List<PersonData> getPersonListByAtt(PersonData personData);
|
|
|
|
/**
|
|
* 获取在场人员列表
|
|
*
|
|
* @param personData
|
|
* @return
|
|
*/
|
|
public List<PersonData> getPersonListByZc(PersonData personData);
|
|
|
|
/**
|
|
* 根据日期获取各地市风险等级数量
|
|
*
|
|
* @param orgId
|
|
* @param date
|
|
* @return
|
|
*/
|
|
public List<RiskDay> getRiskByDate(@Param("orgId") String orgId, @Param("date") String date);
|
|
|
|
/**
|
|
* @param weekRiskData
|
|
* @return
|
|
*/
|
|
List<WeekRiskData> getWeekPlanListByTime(WeekRiskData weekRiskData);
|
|
|
|
/**
|
|
* @return java.util.List<java.lang.Integer>
|
|
* @author cw chen
|
|
* @description 日计划总数、已执行总数
|
|
* @Param proType
|
|
* @Param dayType
|
|
* @date 2023-01-10 14:15
|
|
*/
|
|
List<Integer> getDayPlanNum(@Param("proType") String proType, @Param("dayType") String dayType);
|
|
|
|
|
|
List<Integer> getNewDayPlanNum(@Param("proType") String proType, @Param("dayType") String dayType);
|
|
/**
|
|
* @return java.util.List<java.util.Map < java.lang.String, java.lang.Object>>
|
|
* @author cw chen
|
|
* @description 地市-日计划数量
|
|
* @Param proType
|
|
* @Param dayType
|
|
* @date 2023-01-10 14:17
|
|
*/
|
|
List<Map<String, Object>> getDayPlanOrgNum(@Param("proType") String proType, @Param("dayType") String dayType);
|
|
|
|
List<Map<String, Object>> getNewDayPlanOrgNum(@Param("proType") String proType, @Param("dayType") String dayType);
|
|
|
|
/**
|
|
* @return com.securityControl.common.core.web.domain.AjaxResult
|
|
* @author cw chen
|
|
* @description 地市-人员统计
|
|
* @Param orgId
|
|
* @date 2023-01-10 14:06
|
|
*/
|
|
List<Integer> getAttendanceNum(String orgId);
|
|
|
|
/**
|
|
* @return java.util.List<java.util.Map < java.lang.String, java.lang.Object>>
|
|
* @author cw chen
|
|
* @description 地市工程数量和占比
|
|
* @Param proData
|
|
* @date 2023-01-30 11:28
|
|
*/
|
|
List<Map<String, Object>> getOrgNumAndRateByPro(ProData proData);
|
|
List<Map<String, Object>> getOrgNumAndRateByProNew(ProData proData);
|
|
/**
|
|
* @return java.util.List<java.util.Map < java.lang.String, java.lang.Object>>
|
|
* @author cw chen
|
|
* @description 地市周风险数量和占比
|
|
* @Param weekRiskData
|
|
* @date 2023-01-31 9:29
|
|
*/
|
|
List<Map<String, Object>> getOrgNumAndRateByWeek(WeekRiskData weekRiskData);
|
|
|
|
/**
|
|
* @return com.securityControl.common.core.web.domain.AjaxResult
|
|
* @author cw chen
|
|
* @description 地市周风险数量和占比-二级页面
|
|
* @Param weekRiskData
|
|
* @date 2023-01-31 15:11
|
|
*/
|
|
List<Map<String, Object>> getOrgNumAndRateByWeekChild(WeekRiskData weekRiskData);
|
|
|
|
/**
|
|
* @return java.util.List<java.util.Map < java.lang.String, java.lang.Object>>
|
|
* @author cw chen
|
|
* @description 地市作业票数量和占比-二级页面
|
|
* @Param ticketData
|
|
* @date 2023-02-01 9:25
|
|
*/
|
|
List<Map<String, Object>> getOrgNumAndRateByTicket(TicketData ticketData);
|
|
|
|
/**
|
|
* @return java.util.List<java.lang.Integer>
|
|
* @author cw chen
|
|
* @description 根据工程类型和地市编码获取在建工程、在施工程、停工工程
|
|
* @Param proType
|
|
* @Param orgId
|
|
* @date 2023-03-02 16:09
|
|
*/
|
|
List<Integer> getProNumByType(@Param("proType") String proType, @Param("orgId") String orgId);
|
|
List<Integer> getNewProNumByType(@Param("proType") String proType, @Param("orgId") String orgId,@Param("year")String year);
|
|
/**
|
|
* @return java.util.List<com.sercurityControl.proteam.domain.ProData>
|
|
* @author cw chen
|
|
* @description 获取在建、在施、停工数据列表
|
|
* @Param proData
|
|
* @date 2023-03-02 17:04
|
|
*/
|
|
List<ProData> getProListByType(ProData proData);
|
|
List<ProData> getNewProListByType(ProData proData);
|
|
/**
|
|
* 按照集合去提供数据
|
|
*
|
|
* @param weekRiskData
|
|
* @return
|
|
*/
|
|
List<StatEntity> getWeekPlanDayNum(WeekRiskData weekRiskData);
|
|
|
|
/**
|
|
* 查询站班会统计
|
|
*
|
|
* @param vo
|
|
* @return
|
|
*/
|
|
List<ClassMettingStaVo> getClassMettingData(ClassMettingStaVo vo);
|
|
|
|
/**
|
|
* @param vo
|
|
* @return
|
|
*/
|
|
List<ProData> getClassMettingList(ClassMettingStaVo vo);
|
|
|
|
/**
|
|
* @return java.util.List<java.util.Map < java.lang.String, java.lang.Object>>
|
|
* @author cw chen
|
|
* @description 地市站班会数量和占比-二级页面
|
|
* @Param vo
|
|
* @date 2023-03-07 11:00
|
|
*/
|
|
List<Map<String, Object>> getOrgNumAndRateByClass(ClassMettingStaVo vo);
|
|
|
|
/**
|
|
* 查询当日站班会人员数量统计
|
|
* @param
|
|
* @return
|
|
*/
|
|
List<PersonNum> getClassPeopleNum(PersonNum person);
|
|
|
|
/**
|
|
* 站班会施工人员数据详情
|
|
* @param personData
|
|
* @return
|
|
*/
|
|
List<PersonData> getPersonList(PersonData personData);
|
|
|
|
List<PersonData> getPersonList2(PersonData personData);
|
|
|
|
/**
|
|
* 查询日计划数据
|
|
* @param dailyPlanVo
|
|
* @return
|
|
*/
|
|
List<DailyPlanVo> getDailPlanList(DailyPlanVo dailyPlanVo);
|
|
|
|
List<DailyPlanHome> getNewDailPlanList1(DailyPlanHome dailyPlanVo);
|
|
|
|
List<DailyPlanHome> getNewDailPlanList2(DailyPlanHome dailyPlanVo);
|
|
/**
|
|
* 日计划组织机构下拉选
|
|
* @param dailyPlanVo
|
|
* @return
|
|
*/
|
|
List<Map<String, Object>> getOrgNumAndRateByDailPlan(DailyPlanVo dailyPlanVo);
|
|
|
|
|
|
Map<String, Object> getWeekRiskNumByWeekTime(@Param("startTime") String startWeek,@Param("endTime") String endWeek);
|
|
|
|
/**
|
|
* @param startWeek
|
|
* @param endWeek
|
|
* @param riskLevel
|
|
* @return
|
|
*/
|
|
List<MapsValueVo> getWeekRiskByRiskLevel(@Param("startTime")String startWeek,@Param("endTime") String endWeek,@Param("riskLevel") String riskLevel);
|
|
|
|
List<WeekPlanVo> getNexWeekPro(@Param("startTime") String startWeek, @Param("endTime") String endWeek, @Param("riskLevel") String riskLevel);
|
|
|
|
/**
|
|
* 查询
|
|
* @param time
|
|
* @return
|
|
*/
|
|
Map<String, Object> getAllRiskLevelNum(@Param("time") String time);
|
|
|
|
/***
|
|
* 获取违章信息
|
|
* @param orgId
|
|
* @return
|
|
*/
|
|
Integer getWzXx(@Param("orgId")String orgId);
|
|
|
|
Integer getIsBg(@Param("orgId")String orgId,@Param("nowDay") String nowDay);
|
|
|
|
/**
|
|
* 查询杆塔信息
|
|
* @param params
|
|
* @return
|
|
*/
|
|
List<TowerVo> getGtList(TowerVo params);
|
|
|
|
/**
|
|
*
|
|
* @param ticketId
|
|
* @return
|
|
*/
|
|
List<WorkInfoVo> getWorkInfo(@Param("ticketId") String ticketId);
|
|
}
|