gosonzhang commented on code in PR #6701:
URL: https://github.com/apache/inlong/pull/6701#discussion_r1037717161
##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/group/InlongGroupServiceImpl.java:
##########
@@ -382,6 +382,10 @@ public void updateAfterApprove(InlongGroupApproveRequest
approveRequest, String
entity.setInlongGroupId(groupId);
entity.setInlongClusterTag(approveRequest.getInlongClusterTag());
entity.setStatus(GroupStatus.APPROVE_PASSED.getCode());
+ if (approveRequest.getDataReportType() != null
+ && approveRequest.getDataReportType() !=
entity.getDataReportType()) {
Review Comment:
It doesn't matter if it is written in this way, and unnecessary modification
is reduced: if it has not been changed, the original value will not be modified.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]