|
|
@@ -47,9 +47,6 @@ public class EarlyWarningController { |
|
|
|
@PostMapping("/save") |
|
|
|
@WebLog("预警规则保存") |
|
|
|
public String save(@Validated @RequestBody WflowEarlyWarningDTO dto) { |
|
|
|
Long mhUnitId = dto.getMhUnitId(); |
|
|
|
List<Long> viewChildIds = mhUnitCache.getViewChildIdsRecursion(mhUnitId); |
|
|
|
dto.setViewChildUnitIds(viewChildIds); |
|
|
|
return earlyWarningService.saveByMhUnit(dto); |
|
|
|
} |
|
|
|
|
|
|
|