-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat:用户个人视角 权限管理优化 #11138 #11215
feat:用户个人视角 权限管理优化 #11138 #11215
Conversation
3aea812
to
a2b38b0
Compare
9b4c44d
to
55169f8
Compare
799da8c
to
618e3e1
Compare
WHERE TABLE_SCHEMA = db | ||
AND TABLE_NAME = 'T_AUTH_RESOURCE_AUTHORIZATION' | ||
AND INDEX_NAME = 'HANDOVER_FROM_PROJECT_CODE_INDEX') THEN | ||
ALTER TABLE T_AUTH_RESOURCE_AUTHORIZATION ADD INDEX `HANDOVER_FROM_PROJECT_CODE_INDEX` (`HANDOVER_FROM`,`PROJECT_CODE`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ddl也应该补充
/** | ||
* 获取交接单中授权相关 | ||
* */ | ||
fun listAuthorizationsOfHandoverApplication(queryReq: HandoverDetailsQueryReq): SQLPage<HandoverAuthorizationDetailVo> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
超长
* */ | ||
override fun generateFlowNo(): String { | ||
val currentTime = DateTimeUtil.toDateTime(LocalDateTime.now(), DateTimeUtil.YYYYMMDD) | ||
val incrementedValue = redisOperation.increment(String.format(FLOW_NO_KEY, currentTime), 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
应该增加1天的过期时间,redisOperation.expire
} | ||
} | ||
// 若交接人已经在用户组内,无需交接。 | ||
authResourceGroupMemberDao.isMemberInGroup( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
需要判断被交接人权限是否已经过去
feat:用户个人视角 权限管理优化 #11138