55741bcd by xu

Merge branch 'feature-tds-v1.0.0' into 'develop'

可信空间连接器入住接口

See merge request !13
2 parents bdb47490 2b85dbc2
...@@ -103,7 +103,6 @@ public class TdsConnectorIdentityRQVO extends FlowRQBaseVO { ...@@ -103,7 +103,6 @@ public class TdsConnectorIdentityRQVO extends FlowRQBaseVO {
103 * 原始数据Guid 103 * 原始数据Guid
104 */ 104 */
105 @Schema(description = "原始数据Guid") 105 @Schema(description = "原始数据Guid")
106 @NotBlank(message = "原始数据Guid为空。")
107 private String sourceBizGuid; 106 private String sourceBizGuid;
108 107
109 108
......
...@@ -473,6 +473,9 @@ public class TdsConnectorIdentityServiceImpl extends FlowAbstractImpl implements ...@@ -473,6 +473,9 @@ public class TdsConnectorIdentityServiceImpl extends FlowAbstractImpl implements
473 if(ObjectUtils.isEmpty(rqVO)){ 473 if(ObjectUtils.isEmpty(rqVO)){
474 throw new CsbrSystemException(SystemError.DATA_INPUT_ERROR, String.format("%s参数为空。",FUNCTION_NAME)); 474 throw new CsbrSystemException(SystemError.DATA_INPUT_ERROR, String.format("%s参数为空。",FUNCTION_NAME));
475 } 475 }
476 if(StringUtils.isBlank(rqVO.getSourceBizGuid())){
477 throw new CsbrSystemException(SystemError.DATA_INPUT_ERROR, String.format("%s参数为空。","原始数据Guid"));
478 }
476 MfTdsConnectorIdentity tdsConnectorIdentity = mfTdsConnectorIdentityService.getById(rqVO.getSourceBizGuid()); 479 MfTdsConnectorIdentity tdsConnectorIdentity = mfTdsConnectorIdentityService.getById(rqVO.getSourceBizGuid());
477 if(ObjectUtils.isEmpty(tdsConnectorIdentity)){ 480 if(ObjectUtils.isEmpty(tdsConnectorIdentity)){
478 throw new CsbrSystemException(SystemError.DATA_NOT_EXISTS,"变更数据不存在。"); 481 throw new CsbrSystemException(SystemError.DATA_NOT_EXISTS,"变更数据不存在。");
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!