|
@@ -75,18 +75,6 @@ public class BizObjController extends BaseController {
|
|
|
return getDataTable(list);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation("根据对象获取指标")
|
|
|
- @GetMapping("/getMetrics/{objId}")
|
|
|
- public List<BizObjMetrics> getMetrics(@ApiParam(value = "对象ID", required = true) @PathVariable("objId") Long objId) {
|
|
|
- BizObjMetrics om = new BizObjMetrics();
|
|
|
- om.setObjId(objId);
|
|
|
- List<BizObjMetrics> list = metricsService.selectBizObjMetricsList(om);
|
|
|
- list.forEach(m -> {
|
|
|
-// m.getMetricsDef().getMetricsType().equals();
|
|
|
- });
|
|
|
- return list;
|
|
|
- }
|
|
|
-
|
|
|
@ApiOperation("添加指标")
|
|
|
@GetMapping("/metrics/add/{objId}")
|
|
|
public AjaxResult metricsAdd(@ApiParam(value = "对象ID", required = true) @PathVariable("objId") Long objId, @ApiParam(value = "指标ID数组", required = true) Long[] metricsIds) {
|