| | |
| | | package com.whyc.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.github.pagehelper.PageHelper; |
| | | import com.github.pagehelper.PageInfo; |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.dto.Statistic.BattTinfStic; |
| | | import com.whyc.factory.BattCapFactory; |
| | | import com.whyc.mapper.BattInfMapper; |
| | | import com.whyc.mapper.BatttestdataInfMapper; |
| | |
| | | import com.whyc.pojo.db_station.BattInf; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | @Service |
| | | public class BatttestdataInfService { |
| | |
| | | return 0f; |
| | | } |
| | | } |
| | | //蓄电池核容信息统计 |
| | | public Response getBattTinfStatistic(BattTinfStic stic) { |
| | | PageHelper.startPage(stic.getPageNum(), stic.getPageSize()); |
| | | List<BatttestdataInf> list=mapper.getBattTinfStatistic(stic); |
| | | PageInfo pageInfo=new PageInfo(list); |
| | | return new Response().setII(1,list.size()>0,pageInfo,"蓄电池核容信息统计"); |
| | | } |
| | | } |