|
|
@ -68,6 +68,22 @@ public class PowerAxisDataVisualController { |
|
|
|
return new Result().ok(result); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 关键指标统计 for 市北大屏 |
|
|
|
* |
|
|
|
* @param form |
|
|
|
* @return com.epmet.commons.tools.utils.Result |
|
|
|
* @author LZN |
|
|
|
* @date 2022/4/23 10:20 |
|
|
|
*/ |
|
|
|
@PostMapping("axis/screen/statistics") |
|
|
|
public Result getStatisticsForScreen(@RequestBody PowerAxisStructViewFormDTO form) { |
|
|
|
form.setCustomerId("b09527201c4409e19d1dbc5e3c3429a1"); |
|
|
|
ValidatorUtils.validateEntity(form); |
|
|
|
PowerAxisStructViewResultDTO result = powerAxisStructService.getStatistics(form); |
|
|
|
return new Result().ok(result); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 动力主轴负责人详细信息 |
|
|
|
* |
|
|
@ -96,6 +112,20 @@ public class PowerAxisDataVisualController { |
|
|
|
return new Result().ok(dto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 动力主轴结构树 |
|
|
|
* |
|
|
|
* @param form |
|
|
|
* @return com.epmet.commons.tools.utils.Result |
|
|
|
* @author LZN |
|
|
|
* @date 2022/4/23 10:20 |
|
|
|
*/ |
|
|
|
@PostMapping("axis/screen/structTree") |
|
|
|
public Result getStructTreeForScreen(@RequestBody PowerAxisStructStructTreeFormDTO form) { |
|
|
|
List<PowerAxisStructTreeResultDTO> dto = powerAxisStructService.getStructTreeForScreen(form); |
|
|
|
return new Result().ok(dto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 动力主轴节点坐标集合 |
|
|
|
* |
|
|
|