Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-auth
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
base_platform_enterprise
gic-platform-auth
Commits
bcaf60f4
Commit
bcaf60f4
authored
Jun 11, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' into 'master'
Developer See merge request
!12
parents
4f933859
4296d25e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
190 additions
and
25 deletions
+190
-25
CollaboratorApiService.java
...ain/java/com/gic/auth/service/CollaboratorApiService.java
+2
-1
MenuApiService.java
...pi/src/main/java/com/gic/auth/service/MenuApiService.java
+23
-3
pom.xml
gic-platform-auth-service/pom.xml
+5
-0
TabSysMenuMapper.java
...c/main/java/com/gic/auth/dao/mapper/TabSysMenuMapper.java
+4
-2
MenuService.java
...rvice/src/main/java/com/gic/auth/service/MenuService.java
+4
-2
MenuServiceImpl.java
.../main/java/com/gic/auth/service/impl/MenuServiceImpl.java
+4
-4
CollaboratorApiServiceImpl.java
...c/auth/service/outer/impl/CollaboratorApiServiceImpl.java
+3
-3
MenuApiServiceImpl.java
...a/com/gic/auth/service/outer/impl/MenuApiServiceImpl.java
+0
-0
dubbo-gic-platform-auth-service.xml
...ce/src/main/resources/dubbo-gic-platform-auth-service.xml
+2
-0
TabSysMenuMapper.xml
...th-service/src/main/resources/mapper/TabSysMenuMapper.xml
+12
-0
CollaboratorController.java
...a/com/gic/auth/web/controller/CollaboratorController.java
+2
-0
MenuController.java
...main/java/com/gic/auth/web/controller/MenuController.java
+3
-4
ResourceController.java
.../java/com/gic/auth/web/controller/ResourceController.java
+6
-2
RoleController.java
...main/java/com/gic/auth/web/controller/RoleController.java
+7
-3
UserController.java
...main/java/com/gic/auth/web/controller/UserController.java
+16
-1
EnterpriseSmsSignVO.java
...rc/main/java/com/gic/auth/web/vo/EnterpriseSmsSignVO.java
+97
-0
No files found.
gic-platform-auth-api/src/main/java/com/gic/auth/service/CollaboratorApiService.java
View file @
bcaf60f4
...
...
@@ -102,9 +102,10 @@ public interface CollaboratorApiService {
* @param enterpriseId
* @param phone
* @param appId
* @param userId 登录用户ID
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.auth.dto.MenuDTO>>
*/
ServiceResponse
<
List
<
MenuDTO
>>
getCollaboratorOperationItem
(
Integer
enterpriseId
,
String
phone
,
String
appId
,
boolean
isSuperAdmin
);
ServiceResponse
<
List
<
MenuDTO
>>
getCollaboratorOperationItem
(
Integer
enterpriseId
,
String
phone
,
String
appId
,
Integer
userId
);
/**
* 查询主键ID,协作人那边授权跳转,需要主键ID
...
...
gic-platform-auth-api/src/main/java/com/gic/auth/service/MenuApiService.java
View file @
bcaf60f4
...
...
@@ -5,6 +5,7 @@ import com.gic.api.base.commons.ServiceResponse;
import
com.gic.auth.dto.AuthItemListDTO
;
import
com.gic.auth.dto.MenuAuthDepartDTO
;
import
com.gic.auth.dto.MenuDTO
;
import
com.gic.auth.dto.UserDTO
;
import
com.gic.auth.qo.AuthItemSaveQO
;
import
com.gic.auth.qo.MenuListQO
;
import
com.gic.auth.qo.MenuOperationItemListQO
;
...
...
@@ -102,10 +103,10 @@ public interface MenuApiService {
* @author guojuxing
* @param menuIdList 协作应用权限
* @param appId 应用ID
* @param
isSuperAdmin 是否是超级
管理员
* @param
userId
管理员
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.auth.dto.MenuDTO>>
*/
ServiceResponse
<
List
<
MenuDTO
>>
getCollaboratorAppOperationItem
(
List
<
Integer
>
menuIdList
,
String
appId
,
boolean
isSuperAdmin
);
ServiceResponse
<
List
<
MenuDTO
>>
getCollaboratorAppOperationItem
(
List
<
Integer
>
menuIdList
,
String
appId
,
Integer
userId
);
/**
* 获取登陆用户的应用菜单(页面类型)已构建成树结构
...
...
@@ -221,9 +222,20 @@ public interface MenuApiService {
* @Description:
* @author guojuxing
* @param enterpriseId
* @param userId 登录用户的ID
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
*/
ServiceResponse
<
List
<
MenuDTO
>>
listAppPageOfHasBuy
(
Integer
enterpriseId
);
ServiceResponse
<
List
<
MenuDTO
>>
listAppPageOfHasBuy
(
Integer
enterpriseId
,
Integer
userId
);
/**
* 查询子管理员应用菜单权限数据
* @Title: listAppPageOfHasBuyForRole
* @Description:
* @author guojuxing
* @param enterpriseId
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.auth.dto.MenuDTO>>
*/
ServiceResponse
<
List
<
MenuDTO
>>
listAppPageOfHasBuyForRole
(
Integer
enterpriseId
);
/**
* 编辑gic页面
...
...
@@ -404,4 +416,12 @@ public interface MenuApiService {
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
*/
ServiceResponse
<
Void
>
syncProductMenu
(
String
menuCode
);
/**
* 过滤运维用户部门职位权限
* @param resultList
* @param tabSysUser
* @return
*/
ServiceResponse
<
List
<
MenuDTO
>>
filterOperationUserDepartAuth
(
List
<
MenuDTO
>
resultList
,
UserDTO
tabSysUser
);
}
gic-platform-auth-service/pom.xml
View file @
bcaf60f4
...
...
@@ -153,6 +153,11 @@
<artifactId>
gic-goods-api
</artifactId>
<version>
${gic-goods-api}
</version>
</dependency>
<dependency>
<groupId>
com.gic.authcenter
</groupId>
<artifactId>
gic-authcenter-api
</artifactId>
<version>
${gic-authcenter-api}
</version>
</dependency>
</dependencies>
<build>
...
...
gic-platform-auth-service/src/main/java/com/gic/auth/dao/mapper/TabSysMenuMapper.java
View file @
bcaf60f4
...
...
@@ -153,7 +153,9 @@ public interface TabSysMenuMapper {
* @param versionCode gic商户基础服务版本
* @return java.util.List<com.gic.auth.entity.TabSysMenu>
*/
List
<
TabSysMenu
>
listMenuTree
(
@Param
(
"project"
)
String
project
,
@Param
(
"versionCode"
)
String
versionCode
);
List
<
TabSysMenu
>
listMenuTree
(
@Param
(
"project"
)
String
project
,
@Param
(
"versionCode"
)
String
versionCode
,
@Param
(
"list"
)
List
<
Integer
>
authTypeList
);
List
<
TabSysMenu
>
selectByProjectList
(
@Param
(
"projectList"
)
List
<
String
>
projectList
);
...
...
@@ -167,7 +169,7 @@ public interface TabSysMenuMapper {
* @return java.util.List<com.gic.auth.entity.TabSysMenu>
*/
List
<
TabSysMenu
>
selectAppMenuByParam
(
@Param
(
"projectList"
)
List
<
String
>
projectList
,
@Param
(
"versionList"
)
List
<
String
>
versionList
);
@Param
(
"versionList"
)
List
<
String
>
versionList
,
@Param
(
"authTypeList"
)
List
<
Integer
>
authTypeList
);
/**
* 相同code个数
...
...
gic-platform-auth-service/src/main/java/com/gic/auth/service/MenuService.java
View file @
bcaf60f4
...
...
@@ -123,9 +123,10 @@ public interface MenuService {
* @author guojuxing
* @param project
* @param versionCode gic商户基础服务版本
* @param authTypeList 权限适用 1:管理员 2:超管可用&达摩侧 3:仅达摩侧
* @return java.util.List<com.gic.auth.dto.MenuDTO>
*/
List
<
TabSysMenu
>
listMenuTree
(
String
project
,
String
versionCode
);
List
<
TabSysMenu
>
listMenuTree
(
String
project
,
String
versionCode
,
List
<
Integer
>
authTypeList
);
/**
* 根据项目查询
...
...
@@ -144,9 +145,10 @@ public interface MenuService {
* @author guojuxing
* @param projectList appID List
* @param versionList 版本/拓展包 list
* @param authTypeList 1:普通管理员 2:超管&达摩 3:仅达摩
* @return java.util.List<com.gic.auth.entity.TabSysMenu>
*/
List
<
TabSysMenu
>
selectAppMenuByParam
(
List
<
String
>
projectList
,
List
<
String
>
versionList
);
List
<
TabSysMenu
>
selectAppMenuByParam
(
List
<
String
>
projectList
,
List
<
String
>
versionList
,
List
<
Integer
>
authTypeList
);
/**
* 是否重复页面code
...
...
gic-platform-auth-service/src/main/java/com/gic/auth/service/impl/MenuServiceImpl.java
View file @
bcaf60f4
...
...
@@ -133,8 +133,8 @@ public class MenuServiceImpl implements MenuService {
}
@Override
public
List
<
TabSysMenu
>
listMenuTree
(
String
project
,
String
versionCode
)
{
return
tabSysMenuMapper
.
listMenuTree
(
project
,
versionCode
);
public
List
<
TabSysMenu
>
listMenuTree
(
String
project
,
String
versionCode
,
List
<
Integer
>
authTypeList
)
{
return
tabSysMenuMapper
.
listMenuTree
(
project
,
versionCode
,
authTypeList
);
}
@Override
...
...
@@ -143,8 +143,8 @@ public class MenuServiceImpl implements MenuService {
}
@Override
public
List
<
TabSysMenu
>
selectAppMenuByParam
(
List
<
String
>
projectList
,
List
<
String
>
versionList
)
{
return
tabSysMenuMapper
.
selectAppMenuByParam
(
projectList
,
versionList
);
public
List
<
TabSysMenu
>
selectAppMenuByParam
(
List
<
String
>
projectList
,
List
<
String
>
versionList
,
List
<
Integer
>
authTypeList
)
{
return
tabSysMenuMapper
.
selectAppMenuByParam
(
projectList
,
versionList
,
authTypeList
);
}
@Override
...
...
gic-platform-auth-service/src/main/java/com/gic/auth/service/outer/impl/CollaboratorApiServiceImpl.java
View file @
bcaf60f4
...
...
@@ -205,7 +205,7 @@ public class CollaboratorApiServiceImpl implements CollaboratorApiService {
}
@Override
public
ServiceResponse
<
List
<
MenuDTO
>>
getCollaboratorOperationItem
(
Integer
enterpriseId
,
String
phone
,
String
appId
,
boolean
isSuperAdmin
)
{
public
ServiceResponse
<
List
<
MenuDTO
>>
getCollaboratorOperationItem
(
Integer
enterpriseId
,
String
phone
,
String
appId
,
Integer
userId
)
{
TabSysCollaborator
record
=
collaboratorService
.
getByPhoneAndAppId
(
enterpriseId
,
phone
,
appId
);
if
(
record
==
null
)
{
LOGGER
.
info
(
"协作人接口getIdByPhoneAndAppId入参数据:{}, {}, {}"
,
enterpriseId
,
phone
,
appId
);
...
...
@@ -220,7 +220,7 @@ public class CollaboratorApiServiceImpl implements CollaboratorApiService {
menuIdList
.
add
(
menu
.
getMenuId
());
}
}
return
menuApiService
.
getCollaboratorAppOperationItem
(
menuIdList
,
appId
,
isSuperAdmin
);
return
menuApiService
.
getCollaboratorAppOperationItem
(
menuIdList
,
appId
,
userId
);
}
@Override
...
...
@@ -235,9 +235,9 @@ public class CollaboratorApiServiceImpl implements CollaboratorApiService {
@Override
public
ServiceResponse
<
Void
>
deleteByPhoneAndAppId
(
Integer
enterpriseId
,
String
phone
,
String
appId
)
{
LOGGER
.
info
(
"协作人接口deleteByPhoneAndAppId入参数据:{}, {}, {}"
,
enterpriseId
,
phone
,
appId
);
TabSysCollaborator
record
=
collaboratorService
.
getByPhoneAndAppId
(
enterpriseId
,
phone
,
appId
);
if
(
record
==
null
)
{
LOGGER
.
info
(
"协作人接口getIdByPhoneAndAppId入参数据:{}, {}, {}"
,
enterpriseId
,
phone
,
appId
);
return
ServiceResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
"参数有误,查无数据"
);
}
collaboratorService
.
deleteByPhoneAndAppId
(
enterpriseId
,
phone
,
appId
);
...
...
gic-platform-auth-service/src/main/java/com/gic/auth/service/outer/impl/MenuApiServiceImpl.java
View file @
bcaf60f4
This diff is collapsed.
Click to expand it.
gic-platform-auth-service/src/main/resources/dubbo-gic-platform-auth-service.xml
View file @
bcaf60f4
...
...
@@ -69,4 +69,6 @@
<dubbo:reference
interface=
"com.gic.member.config.api.service.AuthorizationEnterConfApiService"
id=
"authorizationEnterConfApiService"
timeout=
"6000"
/>
<dubbo:reference
interface=
"com.gic.goods.api.service.GoodsRightsSelectorApiService"
id=
"goodsRightsSelectorApiService"
timeout=
"6000"
/>
<dubbo:reference
interface=
"com.gic.authcenter.api.service.GicUserService"
id=
"gicUserService"
timeout=
"6000"
/>
<dubbo:reference
interface=
"com.gic.authcenter.api.service.GicDepartmentService"
id=
"gicDepartmentService"
timeout=
"6000"
/>
</beans>
gic-platform-auth-service/src/main/resources/mapper/TabSysMenuMapper.xml
View file @
bcaf60f4
...
...
@@ -456,6 +456,12 @@
<if
test=
"versionCode != null and versionCode != '' "
>
and menu_version like concat('%_', #{versionCode}, '_%' )
</if>
<if
test=
"null != list and list.size() > 0"
>
and auth_type in
<foreach
close=
")"
collection=
"list"
index=
"index"
item=
"item"
open=
"("
separator=
","
>
#{item}
</foreach>
</if>
<include
refid=
"tree_filter"
/>
order by level,sort
...
...
@@ -497,6 +503,12 @@
</foreach>
)
</if>
<if
test=
"null != authTypeList and authTypeList.size() > 0"
>
and auth_type in
<foreach
close=
")"
collection=
"authTypeList"
index=
"index"
item=
"item"
open=
"("
separator=
","
>
#{item}
</foreach>
</if>
</select>
<select
id=
"countByMenuCode"
resultType=
"int"
>
...
...
gic-platform-auth-web/src/main/java/com/gic/auth/web/controller/CollaboratorController.java
View file @
bcaf60f4
...
...
@@ -152,6 +152,8 @@ public class CollaboratorController extends DownloadUtils{
MenuListQO
params
=
new
MenuListQO
();
params
.
setProject
(
appId
);
params
.
setIsGIC
(
MenuProjectConstants
.
APP_PROJECT_CODE
);
//普通管理员
params
.
setAuthTypeList
(
Arrays
.
asList
(
1
));
ServiceResponse
<
List
<
MenuDTO
>>
appMenuList
=
menuApiService
.
listMenuTree
(
params
);
if
(
appMenuList
.
isSuccess
())
{
return
RestResponse
.
success
(
changePageListToTree
(
MenuLevelConstants
.
FIRST_LEVEL_PARENT_ID
,
appMenuList
.
getResult
()));
...
...
gic-platform-auth-web/src/main/java/com/gic/auth/web/controller/MenuController.java
View file @
bcaf60f4
...
...
@@ -133,9 +133,8 @@ public class MenuController {
LOGGER
.
info
(
"查询登录用户的协作应用的操作项参数:{}-{}"
,
appId
,
menuCode
);
UserDetail
userDetail
=
UserDetailUtils
.
getUserDetail
();
appId
=
getAppId
(
appId
,
menuCode
);
boolean
isSuperAdmin
=
userDetail
.
getUserInfo
().
getSuperAdmin
().
intValue
()
==
1
;
ServiceResponse
<
List
<
MenuDTO
>>
userMenu
=
this
.
collaboratorApiService
.
getCollaboratorOperationItem
(
userDetail
.
getEnterpriseId
(),
userDetail
.
getUserInfo
().
getPhoneNumber
(),
appId
,
isSuperAdmin
);
userDetail
.
getEnterpriseId
(),
userDetail
.
getUserInfo
().
getPhoneNumber
(),
appId
,
userDetail
.
getUserId
()
);
return
ResultControllerUtils
.
commonResult
(
userMenu
,
UserOperationItemAuthVO
.
class
);
}
...
...
@@ -209,7 +208,7 @@ public class MenuController {
boolean
isSuperAdmin
=
userDetail
.
getUserInfo
().
getSuperAdmin
().
intValue
()
==
1
;
ServiceResponse
<
List
<
MenuDTO
>>
result
;
if
(
isSuperAdmin
)
{
result
=
menuApiService
.
listAppPageOfHasBuy
(
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
());
result
=
menuApiService
.
listAppPageOfHasBuy
(
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
()
,
userDetail
.
getUserId
()
);
}
else
{
//权限控制
result
=
menuApiService
.
getUserMenuOfAppNotTree
(
userDetail
.
getEnterpriseId
(),
userDetail
.
getUserId
(),
null
,
...
...
@@ -268,7 +267,7 @@ public class MenuController {
}
ServiceResponse
<
List
<
MenuDTO
>>
appResult
;
if
(
isSuperAdmin
)
{
appResult
=
menuApiService
.
listAppPageOfHasBuy
(
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
());
appResult
=
menuApiService
.
listAppPageOfHasBuy
(
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
()
,
userDetail
.
getUserId
()
);
}
else
{
//权限控制
appResult
=
menuApiService
.
getUserMenuOfAppNotTree
(
userDetail
.
getEnterpriseId
(),
userDetail
.
getUserId
(),
...
...
gic-platform-auth-web/src/main/java/com/gic/auth/web/controller/ResourceController.java
View file @
bcaf60f4
...
...
@@ -68,9 +68,13 @@ public class ResourceController {
@RequestMapping
(
"/list-sms-sign"
)
public
RestResponse
listSmsSign
(
String
search
)
{
ServiceResponse
<
List
<
EnterpriseSmsSignDTO
>>
serviceR
esponse
=
smsApiService
ServiceResponse
<
List
<
EnterpriseSmsSignDTO
>>
r
esponse
=
smsApiService
.
listSignByEnterprise
(
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
(),
search
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
if
(
response
.
isSuccess
())
{
return
RestResponse
.
success
(
EntityUtil
.
changeEntityListByJSON
(
EnterpriseSmsSignVO
.
class
,
response
.
getResult
()));
}
else
{
return
RestResponse
.
failure
(
response
.
getCode
(),
response
.
getMessage
());
}
}
@RequestMapping
(
"/save-resource"
)
...
...
gic-platform-auth-web/src/main/java/com/gic/auth/web/controller/RoleController.java
View file @
bcaf60f4
...
...
@@ -72,7 +72,7 @@ public class RoleController {
//app已购买应用
ServiceResponse
<
List
<
MenuDTO
>>
appResult
=
menuApiService
.
listAppPageOfHasBuy
(
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
());
.
listAppPageOfHasBuy
ForRole
(
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
());
//过滤商户基础应用
List
<
MenuDTO
>
appMenuList
=
appResult
.
getResult
();
if
(
CollectionUtils
.
isNotEmpty
(
appMenuList
))
{
...
...
@@ -133,7 +133,7 @@ public class RoleController {
}
/**
* 查询列表数据
* 查询
授权子管理菜单权限
列表数据
* @Title: updateAppPage
* @Description:
* @author guojuxing
...
...
@@ -149,10 +149,14 @@ public class RoleController {
return
EnterpriseRestResponse
.
failure
(
result
);
}
/**
* 查询授权子管理员应用菜单权限数据
* @return
*/
@RequestMapping
(
"/list-app-menu-tree"
)
public
RestResponse
listAppMenuTree
()
{
ServiceResponse
<
List
<
MenuDTO
>>
result
=
menuApiService
.
listAppPageOfHasBuy
(
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
());
.
listAppPageOfHasBuy
ForRole
(
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
());
if
(
result
.
isSuccess
())
{
List
<
MenuDTO
>
menuList
=
result
.
getResult
();
if
(
CollectionUtils
.
isNotEmpty
(
menuList
))
{
...
...
gic-platform-auth-web/src/main/java/com/gic/auth/web/controller/UserController.java
View file @
bcaf60f4
...
...
@@ -145,7 +145,13 @@ public class UserController {
*/
@RequestMapping
(
"/get-login-user"
)
public
RestResponse
getLoginUser
()
{
LoginUserVO
vo
=
EntityUtil
.
changeEntityNew
(
LoginUserVO
.
class
,
UserDetailUtils
.
getUserDetail
().
getUserInfo
());
LoginUserVO
vo
;
ServiceResponse
<
UserDTO
>
userResult
=
userApiService
.
getUserInfoById
(
UserDetailUtils
.
getUserDetail
().
getUserId
());
if
(
userResult
.
isSuccess
())
{
vo
=
EntityUtil
.
changeEntityNew
(
LoginUserVO
.
class
,
userResult
.
getResult
());
}
else
{
vo
=
new
LoginUserVO
();
}
//商户logo
EnterpriseInfo
enterpriseInfo
=
UserDetailUtils
.
getUserDetail
().
getEnterpriseInfo
();
vo
.
setLogo
(
enterpriseInfo
.
getLogo
());
...
...
@@ -263,6 +269,15 @@ public class UserController {
return
ResultControllerUtils
.
commonResult
(
userApiService
.
listGicUser
(
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
()),
UserOfGicVO
.
class
);
}
@RequestMapping
(
"/edit-user-name"
)
public
RestResponse
editUserName
(
String
name
)
{
return
OperationResultUtils
.
operationResult
(
userApiService
.
updateOperationUser
(
UserDetailUtils
.
getUserDetail
().
getUserId
(),
name
),
"修改用户名称"
,
UserDetailUtils
.
getUserDetail
().
getUserInfo
().
getPhoneNumber
());
}
/**
* 逻辑删除用户对应分组数据
*
...
...
gic-platform-auth-web/src/main/java/com/gic/auth/web/vo/EnterpriseSmsSignVO.java
0 → 100644
View file @
bcaf60f4
package
com
.
gic
.
auth
.
web
.
vo
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* @author zhiwj
* @Description:
* @date 2020-06-10 16:37
*/
public
class
EnterpriseSmsSignVO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
664328628311397146L
;
@JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
)
private
Long
signId
;
private
Integer
enterpriseId
;
private
String
smsSignId
;
private
String
smsSignText
;
private
String
smsAppid
;
private
Integer
useType
;
private
Date
createTime
;
private
Date
updateTime
;
private
Integer
deleteFlag
;
public
Long
getSignId
()
{
return
signId
;
}
public
void
setSignId
(
Long
signId
)
{
this
.
signId
=
signId
;
}
public
Integer
getEnterpriseId
()
{
return
enterpriseId
;
}
public
void
setEnterpriseId
(
Integer
enterpriseId
)
{
this
.
enterpriseId
=
enterpriseId
;
}
public
String
getSmsSignId
()
{
return
smsSignId
;
}
public
void
setSmsSignId
(
String
smsSignId
)
{
this
.
smsSignId
=
smsSignId
;
}
public
String
getSmsSignText
()
{
return
smsSignText
;
}
public
void
setSmsSignText
(
String
smsSignText
)
{
this
.
smsSignText
=
smsSignText
;
}
public
String
getSmsAppid
()
{
return
smsAppid
;
}
public
void
setSmsAppid
(
String
smsAppid
)
{
this
.
smsAppid
=
smsAppid
;
}
public
Integer
getUseType
()
{
return
useType
;
}
public
void
setUseType
(
Integer
useType
)
{
this
.
useType
=
useType
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
public
Date
getUpdateTime
()
{
return
updateTime
;
}
public
void
setUpdateTime
(
Date
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
public
Integer
getDeleteFlag
()
{
return
deleteFlag
;
}
public
void
setDeleteFlag
(
Integer
deleteFlag
)
{
this
.
deleteFlag
=
deleteFlag
;
}
}
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