| | |
| | | package com.fgkj.services.Ld9; |
| | | |
| | | import com.fgkj.dto.Ld9testdatastop; |
| | | import com.fgkj.dto.ServiceModel; |
| | | import com.fgkj.mapper.impl.Ld9.Ld9testdatastopMapper; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | // import com.fgkj.dto.Ld9testdatastop; |
| | | |
| | | @Service |
| | | public class Ld9testdatastopService { |
| | | |
| | | @Autowired |
| | | private Ld9testdatastopMapper mapper;; |
| | | |
| | | |
| | | private ServiceModel model; |
| | | @Resource |
| | | private Ld9testdatastopMapper mapper; |
| | | |
| | | //历史监测容量的柱状图 |
| | | public ServiceModel serchByCondition(Object obj){ |
| | | List list=mapper.serchByCondition(obj); |
| | | public ServiceModel serchByCondition(Ld9testdatastop ld9){ |
| | | ServiceModel model = new ServiceModel(); |
| | | List list=mapper.serchByCondition(ld9); |
| | | if(list!=null&&list.size()>0){ |
| | | model.setData(list); |
| | | model.setCode(1); |
| | |
| | | } |
| | | |
| | | //根据电池组id;单体编号,test_record_count查询测试结束的信息 |
| | | public ServiceModel serchByInfo(Object obj){ |
| | | List list=mapper.serchByInfo(obj); |
| | | public ServiceModel serchByInfo(Ld9testdatastop ld9){ |
| | | ServiceModel model = new ServiceModel(); |
| | | List list=mapper.serchByInfo(ld9); |
| | | if(list!=null&&list.size()>0){ |
| | | model.setData(list); |
| | | model.setCode(1); |