Commit e19e50bf by 林冲

申诉权限判断

1 parent 1faaf066
......@@ -70,10 +70,7 @@ public class StaffSalaryAppealApplyRecordService {
dto.setAppealMonth(request.getAppealMonth());
dto.setStaffPhone(request.getStaffPhone());
LoginUserInfoResponse loginUserInfo = CommonUtil.getLoginUserInfo();
Boolean isSuper = loginUserInfo.getIsSuper();
Integer loginRole = loginUserInfo.getLoginRole();
dto.setIsSuper(isSuper);
dto.setLoginRole(loginRole);
dto.setLoginPhone(loginUserInfo.getPhone());
RpcResponse<StaffSalaryAppealSummaryDTO> rpcResponse = staffSalaryAppealApplyRecordRemote.summary(dto);
return CommonUtil.convertRopResponse(rpcResponse, StaffSalaryAppealApplyRecordDTOConvert.INSTANCE::toSummaryResponse);
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!