mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-13 10:35:07 +08:00
Merge remote-tracking branch 'refs/remotes/yudao/develop' into develop
This commit is contained in:
@ -26,7 +26,7 @@ public class OperateLogRespDTO implements VO {
|
||||
/**
|
||||
* 用户编号
|
||||
*/
|
||||
@Trans(type = TransType.RPC, targetClassName = "cn.iocoder.yudao.module.system.dal.dataobject.user.AdminUserDO",
|
||||
@Trans(type = TransType.SIMPLE, targetClassName = "cn.iocoder.yudao.module.system.dal.dataobject.user.AdminUserDO",
|
||||
fields = "nickname", ref = "userName")
|
||||
private Long userId;
|
||||
/**
|
||||
|
@ -17,7 +17,7 @@ public enum SexEnum {
|
||||
/** 女 */
|
||||
FEMALE(2),
|
||||
/* 未知 */
|
||||
UNKNOWN(3);
|
||||
UNKNOWN(0);
|
||||
|
||||
/**
|
||||
* 性别
|
||||
|
@ -22,7 +22,7 @@ public enum OAuth2GrantTypeEnum {
|
||||
|
||||
private final String grantType;
|
||||
|
||||
public static OAuth2GrantTypeEnum getByGranType(String grantType) {
|
||||
public static OAuth2GrantTypeEnum getByGrantType(String grantType) {
|
||||
return ArrayUtil.firstMatch(o -> o.getGrantType().equals(grantType), values());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user