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 {
* 原始数据Guid
*/
@Schema(description = "原始数据Guid")
@NotBlank(message = "原始数据Guid为空。")
private String sourceBizGuid;
......
......@@ -473,6 +473,9 @@ public class TdsConnectorIdentityServiceImpl extends FlowAbstractImpl implements
if(ObjectUtils.isEmpty(rqVO)){
throw new CsbrSystemException(SystemError.DATA_INPUT_ERROR, String.format("%s参数为空。",FUNCTION_NAME));
}
if(StringUtils.isBlank(rqVO.getSourceBizGuid())){
throw new CsbrSystemException(SystemError.DATA_INPUT_ERROR, String.format("%s参数为空。","原始数据Guid"));
}
MfTdsConnectorIdentity tdsConnectorIdentity = mfTdsConnectorIdentityService.getById(rqVO.getSourceBizGuid());
if(ObjectUtils.isEmpty(tdsConnectorIdentity)){
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!