Commit c7bf42a9 by 吴一龙

fix use operatorId

parent cb90d125
...@@ -94,6 +94,6 @@ public class StudioAxfApplyRequest { ...@@ -94,6 +94,6 @@ public class StudioAxfApplyRequest {
@ApiModelProperty(value = "员工ID", required = true) @ApiModelProperty(value = "员工ID", required = true)
@NotNull(message = "员工ID不能为空") @NotNull(message = "员工ID不能为空")
private Long bizAccountId; private Long operatorId;
} }
...@@ -84,8 +84,8 @@ public class AxfConvert { ...@@ -84,8 +84,8 @@ public class AxfConvert {
apply.setState(AxfStateEnums.INIT.getCode()); apply.setState(AxfStateEnums.INIT.getCode());
apply.setChannelNo(AxfConst.CHANNEL_NO); apply.setChannelNo(AxfConst.CHANNEL_NO);
apply.setApplyType(AxfConst.OPEN); apply.setApplyType(AxfConst.OPEN);
apply.setOpId(request.getBizAccountId()); apply.setOpId(request.getOperatorId());
apply.setOpName(adminFunc.apply(request.getBizAccountId())); apply.setOpName(adminFunc.apply(request.getOperatorId()));
apply.setStudioName(studioFunc.apply(request.getStudioId())); apply.setStudioName(studioFunc.apply(request.getStudioId()));
apply.setSalt(salt); apply.setSalt(salt);
apply.setCreateTime(new Date()); apply.setCreateTime(new Date());
......
...@@ -243,7 +243,7 @@ public class AxfServiceImpl implements AxfService { ...@@ -243,7 +243,7 @@ public class AxfServiceImpl implements AxfService {
StudioVO studio = studioRpcService.getStudio(params.getStudioId()); StudioVO studio = studioRpcService.getStudio(params.getStudioId());
return null == studio ? "" : studio.getName(); return null == studio ? "" : studio.getName();
}, adminId -> { }, adminId -> {
AdminVO admin = studioRpcService.getAdmin(params.getBizAccountId()); AdminVO admin = studioRpcService.getAdmin(params.getOperatorId());
return null == admin ? "" : admin.getName(); return null == admin ? "" : admin.getName();
}); });
......
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