|
|
@ -26,6 +26,8 @@ import java.util.Date;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import static com.xydl.cac.entity.constants.Constants.I2BatchSize;
|
|
|
|
|
|
|
|
|
|
|
|
@Service
|
|
|
|
@Service
|
|
|
|
@Slf4j
|
|
|
|
@Slf4j
|
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
@ -263,7 +265,7 @@ public class DataServiceImpl implements DataService {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public List<Map<String, Object>> getLatestData(String tableName, Integer devId, List<ModevTypePoint> points, Date start) throws Exception {
|
|
|
|
public List<Map<String, Object>> getLatestData(String tableName, Integer devId, List<ModevTypePoint> points, Date start) throws Exception {
|
|
|
|
ConditionModel model = new ConditionModel();
|
|
|
|
ConditionModel model = new ConditionModel();
|
|
|
|
model.setPageSize(500);
|
|
|
|
model.setPageSize(I2BatchSize);
|
|
|
|
model.setPageNum(1);
|
|
|
|
model.setPageNum(1);
|
|
|
|
model.setStartTime(start);
|
|
|
|
model.setStartTime(start);
|
|
|
|
model.setExcludeStartTime(true);
|
|
|
|
model.setExcludeStartTime(true);
|
|
|
|