自建台站修改ROI返回接口改为put请求

自建台站实体类去掉多余参数
This commit is contained in:
qiaoqinzheng 2024-01-16 17:08:50 +08:00
parent d1de32433e
commit e33fc8df83
2 changed files with 1 additions and 6 deletions

View File

@ -31,7 +31,7 @@ public class SelfStationController {
selfStationService.deleteSelfStationCache(sampleFileName, request); selfStationService.deleteSelfStationCache(sampleFileName, request);
} }
@PostMapping("updateROI") @PutMapping("updateROI")
@ApiOperation(value = "更新ROI范围", notes = "更新ROI范围") @ApiOperation(value = "更新ROI范围", notes = "更新ROI范围")
public Result updateROI(Integer startChannel, Integer endChannel, Integer ROINum, String sampleFileName, HttpServletRequest request) { public Result updateROI(Integer startChannel, Integer endChannel, Integer ROINum, String sampleFileName, HttpServletRequest request) {
return selfStationService.updateROI(startChannel, endChannel, ROINum, sampleFileName, request); return selfStationService.updateROI(startChannel, endChannel, ROINum, sampleFileName, request);

View File

@ -31,11 +31,6 @@ public class SelfStationData implements Serializable {
*/ */
private EnergySpectrumStruct detStruct; private EnergySpectrumStruct detStruct;
/**
* 存储公式的数组
*/
private List<Double> calParam;
/** /**
* ROI-1结果数据 * ROI-1结果数据
*/ */