whyclxw
2024-07-01 db23586fd744582cd8ee237c34ff29d9277009ee
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
package com.whyc.service;
 
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.whyc.dto.Response;
import com.whyc.mapper.BattTestInfDataMapper;
import com.whyc.pojo.BattTestInfData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import java.util.List;
 
@Service
public class BattTestInfDataService {
    @Autowired(required = false)
    private BattTestInfDataMapper mapper;
 
    @Autowired
    private SubTableService service;
 
    //根据充放电记录查询单体放电历史详情
    public Response getTDataHis(int binfId, int testRecordCount) {
        List<BattTestInfData> list=service.getTDataHis(binfId,testRecordCount);
        return new Response().setII(1,list!=null,list,"根据充放电记录查询单体放电历史详情");
    }
}