Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
聂康
local-rnr-user
Commits
02be8110
Commit
02be8110
authored
Jun 17, 2025
by
kang.nie@inzymeits.com
Browse files
初始化代码
parent
e9f88257
Pipeline
#3111
failed with stages
in 0 seconds
Changes
259
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
local-rnr-user-server/src/main/java/com/cusc/nirvana/user/eiam/converter/RoleResourceConverter.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.eiam.converter
;
import
com.cusc.nirvana.user.eiam.dao.entity.RoleResourcePO
;
import
com.cusc.nirvana.user.eiam.dto.RoleResourceDTO
;
import
org.mapstruct.Mapper
;
import
org.mapstruct.factory.Mappers
;
import
java.util.List
;
/**
* (RoleResource)表服务接口
*
* @author yuy336
* @since 2022-01-18 19:28:50
*/
@Mapper
public
interface
RoleResourceConverter
{
RoleResourceConverter
INSTANCE
=
Mappers
.
getMapper
(
RoleResourceConverter
.
class
);
/**
* Description: do 转 dto
* <br />
* CreateDate 2021-11-18 15:21:27
*
* @author yuyi
**/
RoleResourceDTO
poToDto
(
RoleResourcePO
bean
);
/**
* Description: dto 转 do
* <br />
* CreateDate 2021-11-18 15:21:27
*
* @author yuyi
**/
RoleResourcePO
dtoToPo
(
RoleResourceDTO
bean
);
/**
* Description: do list 转 dto list
* <br />
* CreateDate 2021-11-18 15:21:27
*
* @author yuyi
**/
List
<
RoleResourceDTO
>
poListToDtoList
(
List
<
RoleResourcePO
>
list
);
}
local-rnr-user-server/src/main/java/com/cusc/nirvana/user/eiam/converter/UserConverter.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.eiam.converter
;
import
com.cusc.nirvana.user.eiam.dao.entity.UserPO
;
import
com.cusc.nirvana.user.eiam.dto.UserDTO
;
import
org.mapstruct.Mapper
;
import
org.mapstruct.factory.Mappers
;
import
java.util.List
;
/**
* 针对内部员工、生态合作伙伴、分级线下店铺等企业内部用户(User)表服务接口
*
* @author yuy336
* @since 2022-01-19 19:47:57
*/
@Mapper
public
interface
UserConverter
{
UserConverter
INSTANCE
=
Mappers
.
getMapper
(
UserConverter
.
class
);
/**
* Description: do 转 dto
* <br />
* CreateDate 2021-11-18 15:21:27
*
* @author yuyi
**/
UserDTO
poToDto
(
UserPO
bean
);
/**
* Description: dto 转 do
* <br />
* CreateDate 2021-11-18 15:21:27
*
* @author yuyi
**/
UserPO
dtoToPo
(
UserDTO
bean
);
/**
* Description: do list 转 dto list
* <br />
* CreateDate 2021-11-18 15:21:27
*
* @author yuyi
**/
List
<
UserDTO
>
poListToDtoList
(
List
<
UserPO
>
list
);
}
local-rnr-user-server/src/main/java/com/cusc/nirvana/user/eiam/converter/UserOrganConverter.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.eiam.converter
;
import
com.cusc.nirvana.user.eiam.dao.entity.UserOrganPO
;
import
com.cusc.nirvana.user.eiam.dto.UserOrganDTO
;
import
org.mapstruct.Mapper
;
import
org.mapstruct.factory.Mappers
;
import
java.util.List
;
/**
* 用户组织信息(UserOrgan)表服务接口
*
* @author yuy336
* @since 2022-01-12 15:00:02
*/
@Mapper
public
interface
UserOrganConverter
{
UserOrganConverter
INSTANCE
=
Mappers
.
getMapper
(
UserOrganConverter
.
class
);
/**
* Description: do 转 dto
* <br />
* CreateDate 2021-11-18 15:21:27
*
* @author yuyi
**/
UserOrganDTO
poToDto
(
UserOrganPO
bean
);
/**
* Description: dto 转 do
* <br />
* CreateDate 2021-11-18 15:21:27
*
* @author yuyi
**/
UserOrganPO
dtoToPo
(
UserOrganDTO
bean
);
/**
* Description: do list 转 dto list
* <br />
* CreateDate 2021-11-18 15:21:27
*
* @author yuyi
**/
List
<
UserOrganDTO
>
poListToDtoList
(
List
<
UserOrganPO
>
list
);
}
local-rnr-user-server/src/main/java/com/cusc/nirvana/user/eiam/converter/UserResourceConverter.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.eiam.converter
;
import
com.cusc.nirvana.user.eiam.dao.entity.UserResourcePO
;
import
com.cusc.nirvana.user.eiam.dto.UserResourceDTO
;
import
org.mapstruct.Mapper
;
import
org.mapstruct.factory.Mappers
;
import
java.util.List
;
/**
* 用户资源关系(UserResource)表服务接口
*
* @author yuy336
* @since 2022-01-19 13:41:03
*/
@Mapper
public
interface
UserResourceConverter
{
UserResourceConverter
INSTANCE
=
Mappers
.
getMapper
(
UserResourceConverter
.
class
);
/**
* Description: do 转 dto
* <br />
* CreateDate 2021-11-18 15:21:27
*
* @author yuyi
**/
UserResourceDTO
poToDto
(
UserResourcePO
bean
);
/**
* Description: dto 转 do
* <br />
* CreateDate 2021-11-18 15:21:27
*
* @author yuyi
**/
UserResourcePO
dtoToPo
(
UserResourceDTO
bean
);
/**
* Description: do list 转 dto list
* <br />
* CreateDate 2021-11-18 15:21:27
*
* @author yuyi
**/
List
<
UserResourceDTO
>
poListToDtoList
(
List
<
UserResourcePO
>
list
);
}
local-rnr-user-server/src/main/java/com/cusc/nirvana/user/eiam/converter/UserRoleConverter.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.eiam.converter
;
import
com.cusc.nirvana.user.eiam.dao.entity.UserRolePO
;
import
com.cusc.nirvana.user.eiam.dto.UserRoleDTO
;
import
org.mapstruct.Mapper
;
import
org.mapstruct.factory.Mappers
;
import
java.util.List
;
/**
* (UserRole)表服务接口
*
* @author yuy336
* @since 2022-01-18 13:47:12
*/
@Mapper
public
interface
UserRoleConverter
{
UserRoleConverter
INSTANCE
=
Mappers
.
getMapper
(
UserRoleConverter
.
class
);
/**
* Description: do 转 dto
* <br />
* CreateDate 2021-11-18 15:21:27
*
* @author yuyi
**/
UserRoleDTO
poToDto
(
UserRolePO
bean
);
/**
* Description: dto 转 do
* <br />
* CreateDate 2021-11-18 15:21:27
*
* @author yuyi
**/
UserRolePO
dtoToPo
(
UserRoleDTO
bean
);
/**
* Description: do list 转 dto list
* <br />
* CreateDate 2021-11-18 15:21:27
*
* @author yuyi
**/
List
<
UserRoleDTO
>
poListToDtoList
(
List
<
UserRolePO
>
list
);
}
local-rnr-user-server/src/main/java/com/cusc/nirvana/user/eiam/dao/ApplicationDao.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.eiam.dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.cusc.nirvana.user.eiam.dao.entity.ApplicationPO
;
/**
* (Application)表数据库访问层
*
* @author yuy336
* @since 2022-01-11 17:09:04
*/
public
interface
ApplicationDao
extends
BaseMapper
<
ApplicationPO
>
{
}
local-rnr-user-server/src/main/java/com/cusc/nirvana/user/eiam/dao/DataOperationLogDao.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.eiam.dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.cusc.nirvana.user.eiam.dao.entity.DataOperationLogPO
;
/**
* eiam数据操作历史(DataOperationLog)表数据库访问层
*
* @author yuy336
* @since 2022-01-12 15:02:10
*/
public
interface
DataOperationLogDao
extends
BaseMapper
<
DataOperationLogPO
>
{
}
local-rnr-user-server/src/main/java/com/cusc/nirvana/user/eiam/dao/OrganizationDao.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.eiam.dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.cusc.nirvana.user.eiam.dao.entity.OrganizationPO
;
import
com.cusc.nirvana.user.eiam.dto.UserOrganDTO
;
import
java.util.List
;
/**
* 组织机构(Organization)表数据库访问层
*
* @author yuy336
* @since 2022-01-12 14:59:30
*/
public
interface
OrganizationDao
extends
BaseMapper
<
OrganizationPO
>
{
/**
* Description: 通过用户id查询组织信息
* <br />
* CreateDate 2021-10-29 22:24:25
*
* @author yuyi
**/
List
<
OrganizationPO
>
queryOrganListByUserId
(
UserOrganDTO
bean
);
}
local-rnr-user-server/src/main/java/com/cusc/nirvana/user/eiam/dao/ResourceDao.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.eiam.dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.cusc.nirvana.user.eiam.dao.entity.ResourcePO
;
import
com.cusc.nirvana.user.eiam.dto.ResourceDTO
;
import
com.cusc.nirvana.user.eiam.dto.RoleResourceDTO
;
import
com.cusc.nirvana.user.eiam.dto.UserRoleDTO
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
import
java.util.Set
;
/**
* <p>
* Mapper 接口
* </p>
*
* @author auto-generator
* @since 2021-10-20
*/
public
interface
ResourceDao
extends
BaseMapper
<
ResourcePO
>
{
/**
* Description: 通过角色id查询资源信息
* <br />
* CreateDate 2021-10-29 22:24:25
*
* @author yuyi
**/
List
<
ResourcePO
>
queryResourceByRoleId
(
RoleResourceDTO
entity
);
/**
* Description: 批量新增资源
* <br />
* CreateDate 2021-11-04 17:35:45
*
* @author yuyi
**/
Integer
addResourceBatch
(
List
<
ResourcePO
>
resouceList
);
/**
* Description: 通过用户id查询资源信息-用户授权
* <br />
* CreateDate 2021-10-29 22:24:25
*
* @author yuyi
**/
List
<
ResourcePO
>
queryResourceUserByUserId
(
UserRoleDTO
entity
);
/**
* Description: 通过用户id查询资源信息-角色授权
* <br />
* CreateDate 2021-10-29 22:24:25
*
* @author yuyi
**/
List
<
ResourcePO
>
queryResourceRoleByUserId
(
UserRoleDTO
entity
);
/**
* Description: 通过应用id查询有效的资源code集合
* <br />
* CreateDate 2021-10-29 22:24:25
*
* @author yuyi
**/
Set
<
String
>
queryResourceCodeSet
(
@Param
(
"appId"
)
String
appId
);
/**
* 生成资源sql
*
* @param bean 实体
* @return sql集合
*/
List
<
String
>
generateResSql
(
ResourceDTO
bean
);
}
local-rnr-user-server/src/main/java/com/cusc/nirvana/user/eiam/dao/ResourceTempalteDao.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.eiam.dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.cusc.nirvana.user.eiam.dao.entity.ResourceTempaltePO
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* (ResourceTempalte)表数据库访问层
*
* @author yuy336
* @since 2022-01-11 17:34:43
*/
public
interface
ResourceTempalteDao
extends
BaseMapper
<
ResourceTempaltePO
>
{
/**
* Description: 通过租户编号和应用id查询资源id集合
* <br />
* CreateDate 2021-10-29 22:24:25
*
* @author yuyi
**/
List
<
String
>
queryResourceIdList
(
@Param
(
"appId"
)
String
appId
,
@Param
(
"roleCode"
)
String
roleCode
);
}
local-rnr-user-server/src/main/java/com/cusc/nirvana/user/eiam/dao/RoleDao.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.eiam.dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.cusc.nirvana.user.eiam.dao.entity.RolePO
;
import
com.cusc.nirvana.user.eiam.dto.RoleDTO
;
import
com.cusc.nirvana.user.eiam.dto.UserRoleDTO
;
import
java.util.List
;
/**
* <p>
* Mapper 接口
* </p>
*
* @author auto-generator
* @since 2021-10-20
*/
public
interface
RoleDao
extends
BaseMapper
<
RolePO
>
{
/**
* Description: 通过用户id查询角色信息
* <br />
* CreateDate 2021-10-29 22:24:25
*
* @author yuyi
**/
List
<
RolePO
>
queryRoleByUserId
(
UserRoleDTO
entity
);
}
local-rnr-user-server/src/main/java/com/cusc/nirvana/user/eiam/dao/RoleResourceDao.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.eiam.dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.cusc.nirvana.user.eiam.dao.entity.RoleResourcePO
;
/**
* <p>
* Mapper 接口
* </p>
*
* @author auto-generator
* @since 2021-10-20
*/
public
interface
RoleResourceDao
extends
BaseMapper
<
RoleResourcePO
>
{
}
local-rnr-user-server/src/main/java/com/cusc/nirvana/user/eiam/dao/UrlDao.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.eiam.dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.cusc.nirvana.user.eiam.dao.entity.UrlPO
;
import
com.cusc.nirvana.user.eiam.dto.EiamUrlDTO
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
import
java.util.Set
;
/**
* <p>
* ResourceUrlDao
* </p>
*
* @author auto-generator
* @since 2021-10-20
*/
public
interface
UrlDao
extends
BaseMapper
<
UrlPO
>
{
/**
* Description: 批量新增资源
* <br />
* CreateDate 2021-11-04 17:35:45
*
* @author yuyi
**/
Integer
addResourceUrlBatch
(
List
<
EiamUrlDTO
>
resouceUrlList
);
/**
* Description: 通过租户编号查询租户角色对应的url
* <br />
* CreateDate 2021-10-29 22:24:25
*
* @author yuyi
**/
Set
<
String
>
queryUrlByTenantNo
(
@Param
(
"tenantNo"
)
String
tenantNo
,
@Param
(
"appId"
)
String
appId
);
/**
* Description: 通过用户id查询用户角色对应的url
* <br />
* CreateDate 2021-10-29 22:24:25
*
* @author yuyi
**/
Set
<
String
>
queryRoleUrlByUserId
(
@Param
(
"userId"
)
String
userId
,
@Param
(
"tenantNo"
)
String
tenantNo
,
@Param
(
"appId"
)
String
appId
);
/**
* Description: 通过用户id查询用户对应的url
* <br />
* CreateDate 2021-10-29 22:24:25
*
* @author yuyi
**/
Set
<
String
>
queryUrlByUserId
(
@Param
(
"userId"
)
String
userId
,
@Param
(
"tenantNo"
)
String
tenantNo
,
@Param
(
"appId"
)
String
appId
);
}
local-rnr-user-server/src/main/java/com/cusc/nirvana/user/eiam/dao/UserDao.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.eiam.dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.cusc.nirvana.user.eiam.dao.entity.UserPO
;
import
com.cusc.nirvana.user.eiam.dto.UserDTO
;
import
com.cusc.nirvana.user.eiam.dto.UserRoleDTO
;
import
java.util.List
;
/**
* <p>
* 针对内部员工、生态合作伙伴、分级线下店铺等企业内部用户 Mapper 接口
* </p>
*
* @author auto-generator
* @since 2021-10-20
*/
public
interface
UserDao
extends
BaseMapper
<
UserPO
>
{
/**
* Description:通过角色id查询用户信息
* <br />
* CreateDate 2021-10-29 22:25:31
*
* @author yuyi
**/
List
<
UserDTO
>
queryUserByRoleId
(
UserRoleDTO
entity
);
}
local-rnr-user-server/src/main/java/com/cusc/nirvana/user/eiam/dao/UserOrganDao.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.eiam.dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.cusc.nirvana.user.eiam.dao.entity.UserOrganPO
;
/**
* 用户组织信息(UserOrgan)表数据库访问层
*
* @author yuy336
* @since 2022-01-12 15:00:02
*/
public
interface
UserOrganDao
extends
BaseMapper
<
UserOrganPO
>
{
}
local-rnr-user-server/src/main/java/com/cusc/nirvana/user/eiam/dao/UserResourceDao.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.eiam.dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.cusc.nirvana.user.eiam.dao.entity.UserResourcePO
;
/**
* 用户资源关系(UserResource)表数据库访问层
*
* @author yuy336
* @since 2022-01-19 13:41:03
*/
public
interface
UserResourceDao
extends
BaseMapper
<
UserResourcePO
>
{
}
local-rnr-user-server/src/main/java/com/cusc/nirvana/user/eiam/dao/UserRoleDao.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.eiam.dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.cusc.nirvana.user.eiam.dao.entity.UserRolePO
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* <p>
* Mapper 接口
* </p>
*
* @author auto-generator
* @since 2021-10-20
*/
public
interface
UserRoleDao
extends
BaseMapper
<
UserRolePO
>
{
/**
* Description: 通过用户id查询角色集合
* <br />
* CreateDate 2021-10-29 22:24:25
*
* @author yuyi
**/
List
<
UserRolePO
>
queryRoleListByUserId
(
@Param
(
"userId"
)
String
userId
,
@Param
(
"tenantNo"
)
String
tenantNo
,
@Param
(
"appId"
)
String
appId
);
}
local-rnr-user-server/src/main/java/com/cusc/nirvana/user/eiam/dao/entity/ApplicationPO.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.eiam.dao.entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.cusc.nirvana.user.eiam.common.BaseIamPO
;
/**
* (Application)实体类
*
* @author yuy336
* @since 2022-01-11 17:09:05
*/
@TableName
(
"eiam_application"
)
public
class
ApplicationPO
extends
BaseIamPO
{
private
static
final
long
serialVersionUID
=
-
59736937390332869L
;
/**
* 应用编码
*/
@TableField
(
"application_code"
)
private
String
applicationCode
;
/**
* 应用名称
*/
@TableField
(
"application_name"
)
private
String
applicationName
;
/**
* 访问令牌有效期(秒)
*/
@TableField
(
"access_token_term"
)
private
Integer
accessTokenTerm
;
/**
* token续期时间,单位秒,大于表示需求,小于等于0则不续期
*/
@TableField
(
"renewal_token_time"
)
private
Integer
renewalTokenTime
;
/**
* 刷新令牌有效期(秒)
*/
@TableField
(
"refresh_token_term"
)
private
Integer
refreshTokenTerm
;
/**
* 应用秘钥
*/
@TableField
(
"app_secret"
)
private
String
appSecret
;
/**
* 是否限制单设备登录
*/
@TableField
(
"is_device_login"
)
private
Integer
isDeviceLogin
;
/**
* 是否打开url鉴权
*/
@TableField
(
"open_auth"
)
private
Integer
openAuth
;
/**
* 是否强制修改密码
*/
@TableField
(
"is_force_change_pwd"
)
private
Integer
isForceChangePwd
;
/**
* 密码错误期限(秒)
*/
@TableField
(
"pws_error_lock_term"
)
private
Integer
pwsErrorLockTerm
;
/**
* 密码错误次数
*/
@TableField
(
"pws_error_lock_num"
)
private
Integer
pwsErrorLockNum
;
/**
* 密码错误锁定时长(秒)
*/
@TableField
(
"pws_error_lock_time"
)
private
Integer
pwsErrorLockTime
;
/**
* 短信验证码发送总次数限制(天)
*/
@TableField
(
"sms_total_limit"
)
private
Integer
smsTotalLimit
;
/**
* 短信验证码发送间隔限制(秒)
*/
@TableField
(
"sms_interval_limit"
)
private
Integer
smsIntervalLimit
;
/**
* 短信签名
*/
@TableField
(
"sms_signature_code"
)
private
String
smsSignatureCode
;
/**
* 短信平台key
*/
@TableField
(
"sms_platform_key"
)
private
String
smsPlatformKey
;
/**
* 状态: 0 禁用 1启用
*/
@TableField
(
"status"
)
private
Integer
status
;
/**
* 最后一次操作人
*/
@TableField
(
"operator"
)
private
String
operator
;
public
String
getApplicationCode
()
{
return
applicationCode
;
}
public
void
setApplicationCode
(
String
applicationCode
)
{
this
.
applicationCode
=
applicationCode
;
}
public
String
getApplicationName
()
{
return
applicationName
;
}
public
void
setApplicationName
(
String
applicationName
)
{
this
.
applicationName
=
applicationName
;
}
public
Integer
getAccessTokenTerm
()
{
return
accessTokenTerm
;
}
public
void
setAccessTokenTerm
(
Integer
accessTokenTerm
)
{
this
.
accessTokenTerm
=
accessTokenTerm
;
}
public
Integer
getRenewalTokenTime
()
{
return
renewalTokenTime
;
}
public
void
setRenewalTokenTime
(
Integer
renewalTokenTime
)
{
this
.
renewalTokenTime
=
renewalTokenTime
;
}
public
Integer
getRefreshTokenTerm
()
{
return
refreshTokenTerm
;
}
public
void
setRefreshTokenTerm
(
Integer
refreshTokenTerm
)
{
this
.
refreshTokenTerm
=
refreshTokenTerm
;
}
public
String
getAppSecret
()
{
return
appSecret
;
}
public
void
setAppSecret
(
String
appSecret
)
{
this
.
appSecret
=
appSecret
;
}
public
Integer
getIsDeviceLogin
()
{
return
isDeviceLogin
;
}
public
void
setIsDeviceLogin
(
Integer
isDeviceLogin
)
{
this
.
isDeviceLogin
=
isDeviceLogin
;
}
public
Integer
getOpenAuth
()
{
return
openAuth
;
}
public
void
setOpenAuth
(
Integer
openAuth
)
{
this
.
openAuth
=
openAuth
;
}
public
Integer
getIsForceChangePwd
()
{
return
isForceChangePwd
;
}
public
void
setIsForceChangePwd
(
Integer
isForceChangePwd
)
{
this
.
isForceChangePwd
=
isForceChangePwd
;
}
public
Integer
getPwsErrorLockTerm
()
{
return
pwsErrorLockTerm
;
}
public
void
setPwsErrorLockTerm
(
Integer
pwsErrorLockTerm
)
{
this
.
pwsErrorLockTerm
=
pwsErrorLockTerm
;
}
public
Integer
getPwsErrorLockNum
()
{
return
pwsErrorLockNum
;
}
public
void
setPwsErrorLockNum
(
Integer
pwsErrorLockNum
)
{
this
.
pwsErrorLockNum
=
pwsErrorLockNum
;
}
public
Integer
getPwsErrorLockTime
()
{
return
pwsErrorLockTime
;
}
public
void
setPwsErrorLockTime
(
Integer
pwsErrorLockTime
)
{
this
.
pwsErrorLockTime
=
pwsErrorLockTime
;
}
public
Integer
getSmsTotalLimit
()
{
return
smsTotalLimit
;
}
public
void
setSmsTotalLimit
(
Integer
smsTotalLimit
)
{
this
.
smsTotalLimit
=
smsTotalLimit
;
}
public
Integer
getSmsIntervalLimit
()
{
return
smsIntervalLimit
;
}
public
void
setSmsIntervalLimit
(
Integer
smsIntervalLimit
)
{
this
.
smsIntervalLimit
=
smsIntervalLimit
;
}
public
String
getSmsSignatureCode
()
{
return
smsSignatureCode
;
}
public
void
setSmsSignatureCode
(
String
smsSignatureCode
)
{
this
.
smsSignatureCode
=
smsSignatureCode
;
}
public
String
getSmsPlatformKey
()
{
return
smsPlatformKey
;
}
public
void
setSmsPlatformKey
(
String
smsPlatformKey
)
{
this
.
smsPlatformKey
=
smsPlatformKey
;
}
public
Integer
getStatus
()
{
return
status
;
}
public
void
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
}
public
String
getOperator
()
{
return
operator
;
}
public
void
setOperator
(
String
operator
)
{
this
.
operator
=
operator
;
}
}
local-rnr-user-server/src/main/java/com/cusc/nirvana/user/eiam/dao/entity/DataOperationLogPO.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.eiam.dao.entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.cusc.nirvana.user.eiam.common.BaseIamPO
;
/**
* eiam数据操作历史(DataOperationLog)实体类
*
* @author yuy336
* @since 2022-01-12 15:02:10
*/
@TableName
(
"eiam_data_operation_log"
)
public
class
DataOperationLogPO
extends
BaseIamPO
{
private
static
final
long
serialVersionUID
=
-
95672050636789737L
;
/**
* 业务主键
*/
@TableField
(
"uuid"
)
private
String
uuid
;
/**
* 业务数据主键
*/
@TableField
(
"biz_uuid"
)
private
String
bizUuid
;
/**
* 数据库表名
*/
@TableField
(
"db_table_name"
)
private
String
dbTableName
;
/**
* 数据内容(修改之前的内容)
*/
@TableField
(
"content"
)
private
String
content
;
/**
* 操作事件:描述通过哪个功能来修改
*/
@TableField
(
"opt_event"
)
private
String
optEvent
;
@TableField
(
"tenant_no"
)
private
String
tenantNo
;
public
String
getUuid
()
{
return
uuid
;
}
public
void
setUuid
(
String
uuid
)
{
this
.
uuid
=
uuid
;
}
public
String
getBizUuid
()
{
return
bizUuid
;
}
public
void
setBizUuid
(
String
bizUuid
)
{
this
.
bizUuid
=
bizUuid
;
}
public
String
getDbTableName
()
{
return
dbTableName
;
}
public
void
setDbTableName
(
String
dbTableName
)
{
this
.
dbTableName
=
dbTableName
;
}
public
String
getContent
()
{
return
content
;
}
public
void
setContent
(
String
content
)
{
this
.
content
=
content
;
}
public
String
getOptEvent
()
{
return
optEvent
;
}
public
void
setOptEvent
(
String
optEvent
)
{
this
.
optEvent
=
optEvent
;
}
public
String
getTenantNo
()
{
return
tenantNo
;
}
public
void
setTenantNo
(
String
tenantNo
)
{
this
.
tenantNo
=
tenantNo
;
}
}
local-rnr-user-server/src/main/java/com/cusc/nirvana/user/eiam/dao/entity/OrganizationPO.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.eiam.dao.entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.cusc.nirvana.user.eiam.common.BaseIamPO
;
/**
* 组织机构(Organization)实体类
*
* @author yuy336
* @since 2022-01-12 14:59:30
*/
@TableName
(
"eiam_organization"
)
public
class
OrganizationPO
extends
BaseIamPO
{
private
static
final
long
serialVersionUID
=
594976575784937958L
;
/**
* 业务主键
*/
@TableField
(
"uuid"
)
private
String
uuid
;
/**
* 组织场景 0 默认
*/
@TableField
(
"organ_scene"
)
private
String
organScene
;
/**
* 组织编码
*/
@TableField
(
"organ_code"
)
private
String
organCode
;
/**
* 组织姓名
*/
@TableField
(
"organ_name"
)
private
String
organName
;
/**
* 组织类型 1 集团 2 公司 3部门 4 组
*/
@TableField
(
"organ_type"
)
private
Integer
organType
;
/**
* 上级组织
*/
@TableField
(
"parent_id"
)
private
String
parentId
;
/**
* 组织描述
*/
@TableField
(
"comment"
)
private
String
comment
;
/**
* 外部id
*/
@TableField
(
"third_party_id"
)
private
String
thirdPartyId
;
/**
* 所属省
*/
@TableField
(
"province"
)
private
String
province
;
/**
* 所属市
*/
@TableField
(
"city"
)
private
String
city
;
/**
* 所属区县
*/
@TableField
(
"district"
)
private
String
district
;
/**
* 展示顺序,数字越大越靠前
*/
@TableField
(
"display_sort"
)
private
Integer
displaySort
;
/**
* 状态: 0 禁用 1启用
*/
@TableField
(
"status"
)
private
Integer
status
;
/**
* 租户编号
*/
@TableField
(
"tenant_no"
)
private
String
tenantNo
;
/**
* 业务类型,由业务系统定义。如车企、经销商等
*/
@TableField
(
"biz_type"
)
private
Integer
bizType
;
/**
* 业务类型,由业务系统定义。如车企、经销商等
*/
@TableField
(
"query_code"
)
private
String
queryCode
;
/**
* 最后一次操作人
*/
@TableField
(
"operator"
)
private
String
operator
;
/**
* 统一社会信用代码
*/
@TableField
(
"unique_code"
)
private
String
uniqueCode
;
/**
* 组织简称
*/
@TableField
(
"organ_simple_name"
)
private
String
organSimpleName
;
public
String
getUuid
()
{
return
uuid
;
}
public
void
setUuid
(
String
uuid
)
{
this
.
uuid
=
uuid
;
}
public
String
getOrganCode
()
{
return
organCode
;
}
public
void
setOrganCode
(
String
organCode
)
{
this
.
organCode
=
organCode
;
}
public
String
getOrganName
()
{
return
organName
;
}
public
void
setOrganName
(
String
organName
)
{
this
.
organName
=
organName
;
}
public
Integer
getOrganType
()
{
return
organType
;
}
public
void
setOrganType
(
Integer
organType
)
{
this
.
organType
=
organType
;
}
public
String
getParentId
()
{
return
parentId
;
}
public
void
setParentId
(
String
parentId
)
{
this
.
parentId
=
parentId
;
}
public
String
getComment
()
{
return
comment
;
}
public
void
setComment
(
String
comment
)
{
this
.
comment
=
comment
;
}
public
String
getThirdPartyId
()
{
return
thirdPartyId
;
}
public
void
setThirdPartyId
(
String
thirdPartyId
)
{
this
.
thirdPartyId
=
thirdPartyId
;
}
public
String
getProvince
()
{
return
province
;
}
public
void
setProvince
(
String
province
)
{
this
.
province
=
province
;
}
public
String
getCity
()
{
return
city
;
}
public
void
setCity
(
String
city
)
{
this
.
city
=
city
;
}
public
String
getDistrict
()
{
return
district
;
}
public
void
setDistrict
(
String
district
)
{
this
.
district
=
district
;
}
public
Integer
getDisplaySort
()
{
return
displaySort
;
}
public
void
setDisplaySort
(
Integer
displaySort
)
{
this
.
displaySort
=
displaySort
;
}
public
Integer
getStatus
()
{
return
status
;
}
public
void
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
}
public
String
getTenantNo
()
{
return
tenantNo
;
}
public
void
setTenantNo
(
String
tenantNo
)
{
this
.
tenantNo
=
tenantNo
;
}
public
String
getOperator
()
{
return
operator
;
}
public
void
setOperator
(
String
operator
)
{
this
.
operator
=
operator
;
}
public
String
getOrganScene
()
{
return
organScene
;
}
public
void
setOrganScene
(
String
organScene
)
{
this
.
organScene
=
organScene
;
}
public
Integer
getBizType
()
{
return
bizType
;
}
public
void
setBizType
(
Integer
bizType
)
{
this
.
bizType
=
bizType
;
}
public
String
getQueryCode
()
{
return
queryCode
;
}
public
void
setQueryCode
(
String
queryCode
)
{
this
.
queryCode
=
queryCode
;
}
public
String
getUniqueCode
()
{
return
uniqueCode
;
}
public
void
setUniqueCode
(
String
uniqueCode
)
{
this
.
uniqueCode
=
uniqueCode
;
}
public
String
getOrganSimpleName
()
{
return
organSimpleName
;
}
public
void
setOrganSimpleName
(
String
organSimpleName
)
{
this
.
organSimpleName
=
organSimpleName
;
}
}
Prev
1
…
6
7
8
9
10
11
12
13
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment