lxw
2023-08-15 160e150009b51a39fa95d9462c3798ba28d51a09
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package com.whyc.mapper;
 
import com.whyc.pojo.BattMapInformation;
import com.whyc.pojo.BattdischargePlan;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface BattdischargePlanMapper extends CustomMapper<BattdischargePlan>{
    //查询
    List<BattdischargePlan> serchByCondition(BattdischargePlan battdischargePlan);
    //启用/延时/取消放电计划/修改放电参数
    int updatePro(@Param("list") List<BattdischargePlan> list);
 
    //校验需要添加的计划参数 放电计划处于等待启动0,放电延时1,放电计划进行中3,充电进行中5
    List<BattdischargePlan> judgePlan(BattdischargePlan plan);
 
    //创建计划-创建计划
    int addPro(@Param("list") List<BattdischargePlan> list);
 
 
    int searchByStationId(@Param("stationId") String stationId);
 
    List<BattMapInformation> findTimeoutStation();
 
    int searchNums(int uId);
 
    //监控层首页:今日放电任务统计
    List<BattdischargePlan> getPlanStaticToday(int userId);
 
    List<BattdischargePlan> getListWithBaojiGroupName();
 
    List<BattdischargePlan> getPlanCount(int userId,int year);
 
}