whyczh
2021-12-27 b7605191cf3b4502c20efdefd9af65954cfa8a1c
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
package com.whyc.service;
 
import com.whyc.dto.BattMaintDealarm;
import com.whyc.dto.Response;
import com.whyc.mapper.BattInfMapper;
import com.whyc.mapper.BattMaintDealarmMapper;
import com.whyc.pojo.Battinf;
import com.whyc.pojo.BatttestdataInf;
import org.springframework.stereotype.Service;
 
import javax.annotation.Resource;
import java.util.List;
 
@Service
public class BattMaintDealarmService {
    @Resource
    private BattMaintDealarmMapper mapper;
    @Resource
    private BattInfMapper battInfMapper;
 
    public Response searchLow(BattMaintDealarm bmd, int userId){
        BatttestdataInf tinf = new BatttestdataInf();
        List<Battinf> battinfList = battInfMapper.searchByTestType(tinf, userId);
        BatttestdataInf tdata = bmd.getBtestinf();
        if (battinfList!=null && battinfList.size()>0){
            for (Battinf binf:battinfList) {
 
            }
        }
 
        return null;
    }
}