|
@@ -16,9 +16,8 @@ import com.hb.proj.base.service.WellParamService;
|
|
|
import com.hb.proj.base.service.WellService;
|
|
|
import com.hb.proj.constant.SortCodeConstant;
|
|
|
import com.hb.proj.data.service.DiagramDataService;
|
|
|
-import com.hb.proj.data.service.ParamDataService;
|
|
|
-import com.hb.proj.model.SingleDataVO;
|
|
|
import com.hb.proj.model.MultiDataVO;
|
|
|
+import com.hb.proj.model.SingleDataVO;
|
|
|
import com.hb.proj.model.WellParamPO;
|
|
|
import com.hb.proj.model.WellVO;
|
|
|
import com.hb.proj.utils.RespVO;
|
|
@@ -43,8 +42,6 @@ public class DiagramDataController {
|
|
|
@Autowired
|
|
|
private DiagramDataService diagramService;
|
|
|
|
|
|
- @Autowired
|
|
|
- private ParamDataService paramDataService;
|
|
|
|
|
|
/**
|
|
|
* 分页查询图形基本数据
|
|
@@ -99,9 +96,12 @@ public class DiagramDataController {
|
|
|
}
|
|
|
DataTransUtils.convert(wparam,diagram);
|
|
|
|
|
|
+ //获取冲次,功图记录已存有冲次直接使用2023.10.10
|
|
|
WellVO well=wellService.get(wellId);
|
|
|
WellParamPO freqParam=wpService.get(wellId, SortCodeConstant.PARAM_FREQ);
|
|
|
- SingleDataVO freqPO=paramDataService.getRefFreq(freqParam.getParamId(), diagram.getGatherTime());
|
|
|
+ //SingleDataVO freqPO=paramDataService.getRefFreq(freqParam.getParamId(), diagram.getGatherTime());
|
|
|
+ SingleDataVO freqPO=new SingleDataVO();
|
|
|
+ freqPO.setDataVal(diagram.getFreq());
|
|
|
DataTransUtils.convert(freqParam, freqPO);
|
|
|
String freqDesc=freqPO!=null?(freqPO.getDispDataVal()+freqParam.getDisplayUnit()):"";
|
|
|
|