whyczh
2022-01-14 b0fdddc27ea5200513625d40b69ab407ab3b7033
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
36
package com.whyc.mapper;
 
import com.whyc.dto.BattState;
import com.whyc.dto.BattMaintDealarm;
import com.whyc.pojo.BattRtstate;
import com.whyc.pojo.Battinf;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
 
@Repository
public interface BattRtstateMapper extends CustomMapper<BattRtstate> {
 
    int deleteByPrimaryKey(Long num);
 
    int insert(BattRtstate record);
 
    int insertSelective(BattRtstate record);
 
    BattRtstate selectByPrimaryKey(Long num);
 
    int updateByPrimaryKeySelective(BattRtstate record);
 
    int updateByPrimaryKey(BattRtstate record);
 
    //电池组实时情况+实时电池续航能力查询
    List<BattState> searchBattLife(@Param("binf") Battinf binf,@Param("uId") int uId);
 
    //作业管理-创建计划-创建计划
    BattRtstate getCurrentSate(int battGroupId);
 
    void searchBattLifeNow();
 
}