Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
ms-data-circulation-portal-service
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
2be08149
authored
2025-09-28 17:16:48 +0800
by
xiaojie
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【数据资产】
企业认证增加字段
1 parent
aeda5521
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
139 additions
and
5 deletions
src/main/java/com/csbr/qingcloud/portal/controller/EnterpriseController.java
src/main/java/com/csbr/qingcloud/portal/domain/vo/EnterpriseRQVO.java
src/main/java/com/csbr/qingcloud/portal/domain/vo/EnterpriseRSVO.java
src/main/java/com/csbr/qingcloud/portal/mybatis/entity/MfEnterprise.java
src/main/java/com/csbr/qingcloud/portal/mybatis/entity/MfEnterpriseChangeApprove.java
src/main/java/com/csbr/qingcloud/portal/service/EnterpriseService.java
src/main/java/com/csbr/qingcloud/portal/service/impl/EnterpriseServiceImpl.java
src/main/java/com/csbr/qingcloud/portal/controller/EnterpriseController.java
View file @
2be0814
...
...
@@ -136,6 +136,12 @@ public class EnterpriseController {
List
<
EnterpriseRSVO
>
vo
=
enterpriseService
.
listByTenantGuids
(
guids
);
return
CommonRes
.
success
(
vo
);
}
@GetMapping
(
"/update-identity-state"
)
@SystemLog
(
value
=
"企业信息-修改身份状态"
)
public
CommonRes
<
Boolean
>
updateIdentityState
(
@RequestParam
String
logonUser
,
@RequestParam
String
identityState
)
{
return
CommonRes
.
success
(
enterpriseService
.
updateIdentityState
(
logonUser
,
identityState
));
}
//endregion
...
...
src/main/java/com/csbr/qingcloud/portal/domain/vo/EnterpriseRQVO.java
View file @
2be0814
package
com
.
csbr
.
qingcloud
.
portal
.
domain
.
vo
;
import
com.csbr.cloud.workflow.domain.vo.appove.FlowRQBaseVO
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
jakarta.validation.Valid
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
java.util.List
;
...
...
@@ -183,6 +183,21 @@ public class EnterpriseRQVO extends FlowRQBaseVO {
@Schema
(
description
=
"详细地址"
)
private
String
detailedAddress
;
@Schema
(
description
=
"行业分类"
)
private
String
industry
;
@Schema
(
description
=
"行业小类"
)
private
String
industrySmallcode
;
@Schema
(
description
=
"授权方式"
)
private
String
authorizationMethod
=
"2"
;
@Schema
(
description
=
"身份状态"
)
private
String
identityState
=
"N"
;
@Schema
(
description
=
"经办人证件类型"
)
private
String
handlePersonIdType
;
/******** 库表存储属性 需处理 *****/
/******** 自定义扩展 *****/
...
...
@@ -193,7 +208,6 @@ public class EnterpriseRQVO extends FlowRQBaseVO {
private
List
<
EnterpriseAttachmentRQVO
>
attachmentRQVOS
;
@Schema
(
description
=
"开发主体领域信息"
)
@Valid
private
List
<
EnterpriseDomainRQVO
>
domainRQVOS
;
}
...
...
src/main/java/com/csbr/qingcloud/portal/domain/vo/EnterpriseRSVO.java
View file @
2be0814
package
com
.
csbr
.
qingcloud
.
portal
.
domain
.
vo
;
import
com.csbr.cloud.common.annotations.SystemParamsDict
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
com.csbr.cloud.workflow.domain.vo.appove.BizApproveVO
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
com.csbr.cloud.workflow.domain.vo.appove.BizApproveVO
;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
java.util.List
;
...
...
@@ -209,6 +210,46 @@ public class EnterpriseRSVO {
@Schema
(
description
=
"详细地址"
)
private
String
detailedAddress
;
@Schema
(
description
=
"行业分类"
)
private
String
industry
;
@Schema
(
description
=
"行业分类名称"
)
@SystemParamsDict
(
dictTypeName
=
"行业分类"
,
codeFieldName
=
"industry"
)
private
String
industryName
;
@Schema
(
description
=
"行业小类"
)
private
String
industrySmallcode
;
@Schema
(
description
=
"行业小类名称"
)
@SystemParamsDict
(
dictTypeName
=
"行业分类"
,
codeFieldName
=
"industrySmallcode"
)
private
String
industrySmallcodeName
;
@Schema
(
description
=
"认证方式"
)
private
String
authenticationMethod
;
@Schema
(
description
=
"认证状态"
)
private
String
authenticationState
;
@Schema
(
description
=
"认证时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
authenticationTime
;
@Schema
(
description
=
"认证等级"
)
private
String
authenticationLevel
;
@Schema
(
description
=
"身份状态"
)
private
String
identityState
;
@Schema
(
description
=
"授权方式"
)
private
String
authorizationMethod
;
@Schema
(
description
=
"经办人证件类型"
)
private
String
handlePersonIdType
;
@Schema
(
description
=
"经办人证件类型名称"
)
@SystemParamsDict
(
dictTypeName
=
"证件类型"
,
codeFieldName
=
"handlePersonIdType"
)
private
String
handlePersonIdTypeName
;
/******** 库表存储属性 需处理 *****/
/******** 自定义扩展 *****/
...
...
src/main/java/com/csbr/qingcloud/portal/mybatis/entity/MfEnterprise.java
View file @
2be0814
...
...
@@ -192,4 +192,31 @@ public class MfEnterprise extends BaseDO {
@Name
(
"详细地址"
)
private
String
detailedAddress
;
@Name
(
"行业分类"
)
private
String
industry
;
@Name
(
"行业小类"
)
private
String
industrySmallcode
;
@Name
(
"认证方式"
)
private
String
authenticationMethod
;
@Name
(
"认证状态"
)
private
String
authenticationState
;
@Name
(
"认证时间"
)
private
Date
authenticationTime
;
@Name
(
"认证等级"
)
private
String
authenticationLevel
;
@Name
(
"身份状态"
)
private
String
identityState
;
@Name
(
"授权方式"
)
private
String
authorizationMethod
;
@Name
(
"经办人证件类型"
)
private
String
handlePersonIdType
;
}
...
...
src/main/java/com/csbr/qingcloud/portal/mybatis/entity/MfEnterpriseChangeApprove.java
View file @
2be0814
...
...
@@ -211,4 +211,31 @@ public class MfEnterpriseChangeApprove extends BaseDO {
@Name
(
"详细地址"
)
private
String
detailedAddress
;
@Name
(
"行业分类"
)
private
String
industry
;
@Name
(
"行业小类"
)
private
String
industrySmallcode
;
@Name
(
"认证方式"
)
private
String
authenticationMethod
;
@Name
(
"认证状态"
)
private
String
authenticationState
;
@Name
(
"认证时间"
)
private
Date
authenticationTime
;
@Name
(
"认证等级"
)
private
String
authenticationLevel
;
@Name
(
"身份状态"
)
private
String
identityState
;
@Name
(
"授权方式"
)
private
String
authorizationMethod
;
@Name
(
"经办人证件类型"
)
private
String
handlePersonIdType
;
}
...
...
src/main/java/com/csbr/qingcloud/portal/service/EnterpriseService.java
View file @
2be0814
...
...
@@ -120,4 +120,12 @@ public interface EnterpriseService {
* @return
*/
List
<
EnterpriseRSVO
>
listByTenantGuids
(
List
<
String
>
guids
);
/**
* 企业信息-修改身份状态
* @param logonUser
* @param identityState
* @return
*/
Boolean
updateIdentityState
(
String
logonUser
,
String
identityState
);
}
...
...
src/main/java/com/csbr/qingcloud/portal/service/impl/EnterpriseServiceImpl.java
View file @
2be0814
...
...
@@ -707,6 +707,17 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
return
convertToVO
(
mfEnterprises
);
}
@Override
public
Boolean
updateIdentityState
(
String
logonUser
,
String
identityState
)
{
if
(
StringUtils
.
isEmpty
(
logonUser
)
||
StringUtils
.
isEmpty
(
identityState
))
{
return
Boolean
.
TRUE
;
}
LambdaUpdateWrapper
<
MfEnterprise
>
updateWrapper
=
Wrappers
.
lambdaUpdate
(
MfEnterprise
.
class
);
updateWrapper
.
eq
(
MfEnterprise:
:
getLogonUser
,
logonUser
);
updateWrapper
.
set
(
MfEnterprise:
:
getIdentityState
,
identityState
);
return
mfEnterpriseService
.
update
(
updateWrapper
);
}
private
void
afterEnterpriseData
(
PageListVO
<
MfEnterprise
>
enterprisePageListVO
,
JSExchagePageListVO
<
JSEnterpriseRSVO
>
pageListVO
)
{
pageListVO
.
setTotal
(
enterprisePageListVO
.
getTotalRows
().
intValue
());
List
<
MfEnterprise
>
records
=
enterprisePageListVO
.
getRecords
();
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment