|
@@ -30,7 +30,7 @@ public class FactWellServiceImpl implements FactWellService {
|
|
@Override
|
|
@Override
|
|
@SwitchDataSource(DBTypeEnum.POSTGRE)
|
|
@SwitchDataSource(DBTypeEnum.POSTGRE)
|
|
public FactWellResult getFactWellList(String wellId, String timeType){
|
|
public FactWellResult getFactWellList(String wellId, String timeType){
|
|
- if(wellId==null) return FactWellResult.gen(new ArrayList<>(), null);
|
|
|
|
|
|
+ if(wellId==null) return FactWellResult.gen(new ArrayList<>(), null, wellId);
|
|
//当前只有月份计算方式
|
|
//当前只有月份计算方式
|
|
return getMonthShowInList(wellId, null, null);
|
|
return getMonthShowInList(wellId, null, null);
|
|
}
|
|
}
|
|
@@ -83,7 +83,7 @@ public class FactWellServiceImpl implements FactWellService {
|
|
}
|
|
}
|
|
|
|
|
|
return FactWellResult.gen(supplementList(wellId, monthList, rtnList),
|
|
return FactWellResult.gen(supplementList(wellId, monthList, rtnList),
|
|
- Arrays.stream((new FactWellTimeResult[]{timeResult})).toList());
|
|
|
|
|
|
+ Arrays.stream((new FactWellTimeResult[]{timeResult})).toList(), wellId);
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|
|
@@ -122,7 +122,7 @@ public class FactWellServiceImpl implements FactWellService {
|
|
time = calendarTime.getTime();
|
|
time = calendarTime.getTime();
|
|
}
|
|
}
|
|
|
|
|
|
- return FactWellResult.gen(supplementList(wellId, dayList, rtnList), timeList);
|
|
|
|
|
|
+ return FactWellResult.gen(supplementList(wellId, dayList, rtnList), timeList, wellId);
|
|
}
|
|
}
|
|
|
|
|
|
public FactWellResult getMonthGroupList(String wellId, Date startTime, Date endTime){
|
|
public FactWellResult getMonthGroupList(String wellId, Date startTime, Date endTime){
|
|
@@ -153,7 +153,7 @@ public class FactWellServiceImpl implements FactWellService {
|
|
time = calendarTime.getTime();
|
|
time = calendarTime.getTime();
|
|
}
|
|
}
|
|
|
|
|
|
- return FactWellResult.gen(supplementList(wellId, monthList, rtnList), timeList);
|
|
|
|
|
|
+ return FactWellResult.gen(supplementList(wellId, monthList, rtnList), timeList, wellId);
|
|
}
|
|
}
|
|
|
|
|
|
public FactWellResult getYearGroupList(String wellId, Date startTime, Date endTime){
|
|
public FactWellResult getYearGroupList(String wellId, Date startTime, Date endTime){
|
|
@@ -184,7 +184,7 @@ public class FactWellServiceImpl implements FactWellService {
|
|
time = calendarTime.getTime();
|
|
time = calendarTime.getTime();
|
|
}
|
|
}
|
|
|
|
|
|
- return FactWellResult.gen(supplementList(wellId, monthList, rtnList), timeList);
|
|
|
|
|
|
+ return FactWellResult.gen(supplementList(wellId, monthList, rtnList), timeList, wellId);
|
|
}
|
|
}
|
|
|
|
|
|
public List<FactWellTimeResult> getTimeLimitList(String wellId){
|
|
public List<FactWellTimeResult> getTimeLimitList(String wellId){
|