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 list=service.getTDataHis(binfId,testRecordCount); return new Response().setII(1,list!=null,list,"根据充放电记录查询单体放电历史详情"); } }