Commit 465a95ae authored by 李秀明's avatar 李秀明

消防运维信息接口更新

parent f6125df1
...@@ -38,8 +38,11 @@ public class ControlScreenController extends AbstractBaseController { ...@@ -38,8 +38,11 @@ public class ControlScreenController extends AbstractBaseController {
@GetMapping("/statics") @GetMapping("/statics")
@ApiOperation(value = "消防运维信息") @ApiOperation(value = "消防运维信息")
@TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false) @TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false)
public CommonResponse getStatics(@RequestParam(required = false) String companyCode) { public CommonResponse getStatics(
return CommonResponseUtil.success(iPlanTaskService.getStatics(companyCode)); @RequestParam(required = false) String companyCode,
@RequestParam(required = false) String bizOrgCode
) {
return CommonResponseUtil.success(iPlanTaskService.getStatics(companyCode, bizOrgCode));
} }
} }
...@@ -187,7 +187,7 @@ public interface IPlanTaskService { ...@@ -187,7 +187,7 @@ public interface IPlanTaskService {
*/ */
List<Map<String,Object>> firePatrolStatics(String bizOrgCode); List<Map<String,Object>> firePatrolStatics(String bizOrgCode);
List<Map<String,Object>> getStatics(String companyCode); List<Map<String,Object>> getStatics(String companyCode, String bizOrgCode);
/** /**
* 计划执行查询 * 计划执行查询
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment