package com.whyc.service;
|
|
import com.whyc.pojo.db_batt_testdata.BatttestdataId;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
|
import java.util.List;
|
|
@Service
|
public class BatttestdataIdService {
|
@Autowired
|
private SubTablePageInfoService subTablePageInfoService;
|
|
//找这次放电的最后一笔数据
|
public List<BatttestdataId> getLastDataByBattgroupId(Integer battgroupId, Integer testRecordCount, Integer recordNum) {
|
List<BatttestdataId> list=subTablePageInfoService.getLastDataByBattgroupId(battgroupId, testRecordCount, recordNum);
|
return list;
|
}
|
}
|