|
@@ -2,7 +2,6 @@ package com.bizmatics.mhfire.service.impl;
|
|
|
|
|
|
import com.bizmatics.mhfire.persistence.mapper.SiAeAllMapper;
|
|
|
import com.bizmatics.mhfire.service.SiAeAllService;
|
|
|
-import com.bizmatics.mhfire.persistence.mapper.vo.SiAeAllRequest;
|
|
|
import com.bizmatics.mhfire.service.vo.SiAeAllVO;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
@@ -21,9 +20,9 @@ public class SiAeAllServiceImpl implements SiAeAllService {
|
|
|
@Autowired
|
|
|
private SiAeAllMapper siAeAllMapper;
|
|
|
@Override
|
|
|
- public List<SiAeAllVO> getAeAllCollect(SiAeAllRequest siAeAllRequest) {
|
|
|
+ public List<SiAeAllVO> getAeAllCollect(String startTime,String endTime) {
|
|
|
List<SiAeAllVO> allVoS = new ArrayList<>();
|
|
|
- Map<String, Integer> aeAllCollect = siAeAllMapper.selectAeAllCollect(siAeAllRequest);
|
|
|
+ Map<String, Integer> aeAllCollect = siAeAllMapper.selectAeAllCollect(startTime,endTime);
|
|
|
//TODO 获取同比和环比时间
|
|
|
for (String type:aeAllCollect.keySet()) {
|
|
|
SiAeAllVO siAeAllVO = new SiAeAllVO();
|