|
@@ -267,4 +267,10 @@ public class CompanyVoiceRoboticController extends BaseController
|
|
|
List<WorkflowExecRecordVo> records = companyVoiceRoboticService.getExecRecords(roboticId);
|
|
List<WorkflowExecRecordVo> records = companyVoiceRoboticService.getExecRecords(roboticId);
|
|
|
return R.ok().put("data", records);
|
|
return R.ok().put("data", records);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ @GetMapping("/getCurrentCompanyId")
|
|
|
|
|
+ public R getCurrentCompanyId(){
|
|
|
|
|
+ LoginUser loginUser = tokenService.getLoginUser(ServletUtils.getRequest());
|
|
|
|
|
+ return R.ok().put("companyId", loginUser.getCompany().getCompanyId());
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|