d6a06b03 by xu

可信空间连接器入住接口

1 parent 2b85dbc2
...@@ -65,49 +65,42 @@ public class TdsConnectorVerifiableRQVO { ...@@ -65,49 +65,42 @@ public class TdsConnectorVerifiableRQVO {
65 * 加密模块认证 65 * 加密模块认证
66 */ 66 */
67 @Schema(description = "加密模块认证") 67 @Schema(description = "加密模块认证")
68 @NotNull(message = "加密模块认证为空。")
69 private JSONArray encryptionModuleAuthentication; 68 private JSONArray encryptionModuleAuthentication;
70 69
71 /** 70 /**
72 * 软件供应链合规声明 71 * 软件供应链合规声明
73 */ 72 */
74 @Schema(description = "软件供应链合规声明") 73 @Schema(description = "软件供应链合规声明")
75 @NotNull(message = "软件供应链合规声明为空。")
76 private JSONArray softwareScmStatemen; 74 private JSONArray softwareScmStatemen;
77 75
78 /** 76 /**
79 * 安全漏洞修复声明 77 * 安全漏洞修复声明
80 */ 78 */
81 @Schema(description = "安全漏洞修复声明") 79 @Schema(description = "安全漏洞修复声明")
82 @NotNull(message = "安全漏洞修复声明为空。")
83 private JSONArray securityLoopholeRepairStatement; 80 private JSONArray securityLoopholeRepairStatement;
84 81
85 /** 82 /**
86 * 通信协议兼容性认证 83 * 通信协议兼容性认证
87 */ 84 */
88 @Schema(description = "通信协议兼容性认证") 85 @Schema(description = "通信协议兼容性认证")
89 @NotNull(message = "通信协议兼容性认证为空。")
90 private JSONArray communicationProtocolCompatibilityCertification; 86 private JSONArray communicationProtocolCompatibilityCertification;
91 87
92 /** 88 /**
93 * 硬件可信执行环境(TEE)认证 89 * 硬件可信执行环境(TEE)认证
94 */ 90 */
95 @Schema(description = "硬件可信执行环境(TEE)认证") 91 @Schema(description = "硬件可信执行环境(TEE)认证")
96 @NotNull(message = "硬件可信执行环境(TEE)认证为空。")
97 private JSONArray teeCertification; 92 private JSONArray teeCertification;
98 93
99 /** 94 /**
100 * 接入行为审计合规报告 95 * 接入行为审计合规报告
101 */ 96 */
102 @Schema(description = "接入行为审计合规报告") 97 @Schema(description = "接入行为审计合规报告")
103 @NotNull(message = "接入行为审计合规报告为空。")
104 private JSONArray accessAuditReport; 98 private JSONArray accessAuditReport;
105 99
106 /** 100 /**
107 * 第三方认证声明 101 * 第三方认证声明
108 */ 102 */
109 @Schema(description = "第三方认证声明") 103 @Schema(description = "第三方认证声明")
110 @NotNull(message = "第三方认证声明为空。")
111 private JSONArray thirdPartyCertification; 104 private JSONArray thirdPartyCertification;
112 105
113 /** 106 /**
......
...@@ -292,10 +292,12 @@ public class TdsConnectorIdentityServiceImpl extends FlowAbstractImpl implements ...@@ -292,10 +292,12 @@ public class TdsConnectorIdentityServiceImpl extends FlowAbstractImpl implements
292 //驳回和撤销是,修改原来数据状态 292 //驳回和撤销是,修改原来数据状态
293 if(ApprovalStateEnum.REJECT.getValue().equals(bizApproveVO.getApprovalState()) 293 if(ApprovalStateEnum.REJECT.getValue().equals(bizApproveVO.getApprovalState())
294 || ApprovalStateEnum.CANCEL.getValue().equals(bizApproveVO.getApprovalState())) { 294 || ApprovalStateEnum.CANCEL.getValue().equals(bizApproveVO.getApprovalState())) {
295 if("Y".equals(entity.getIsChangeData())) {
295 MfTdsConnectorIdentity sourceEntity = mfTdsConnectorIdentityService.getById(entity.getSourceBizGuid()); 296 MfTdsConnectorIdentity sourceEntity = mfTdsConnectorIdentityService.getById(entity.getSourceBizGuid());
296 sourceEntity.setBizApproveState(ApprovalStateEnum.PASSED.getValue()); 297 sourceEntity.setBizApproveState(ApprovalStateEnum.PASSED.getValue());
297 mfTdsConnectorIdentityService.updateById(sourceEntity); 298 mfTdsConnectorIdentityService.updateById(sourceEntity);
298 } 299 }
300 }
299 mfTdsConnectorIdentityService.updateById(entity); 301 mfTdsConnectorIdentityService.updateById(entity);
300 } 302 }
301 303
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!