|
@@ -56,6 +56,9 @@ public class DiagramDataController {
|
|
@NotBlank(message = "缺少采集参数编码") String paramCode,String action ,Date refTime){
|
|
@NotBlank(message = "缺少采集参数编码") String paramCode,String action ,Date refTime){
|
|
|
|
|
|
WellParamPO wparam=wpService.get(wellId, paramCode);
|
|
WellParamPO wparam=wpService.get(wellId, paramCode);
|
|
|
|
+ if(wparam==null) {
|
|
|
|
+ return RespVOBuilder.error("无数据");
|
|
|
|
+ }
|
|
MultiGatherPO diagram=diagramService.get(wparam.getParamId(), refTime, action);
|
|
MultiGatherPO diagram=diagramService.get(wparam.getParamId(), refTime, action);
|
|
if(diagram==null) {
|
|
if(diagram==null) {
|
|
return RespVOBuilder.error("无数据");
|
|
return RespVOBuilder.error("无数据");
|