diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/dynamic/query/DynamicDetailsQryExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/dynamic/query/DynamicDetailsQryExe.java index 4c1aaa7e..dbe91df4 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/dynamic/query/DynamicDetailsQryExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/dynamic/query/DynamicDetailsQryExe.java @@ -65,7 +65,7 @@ public class DynamicDetailsQryExe { ApprovalDynamicContent approvalDynamicContent = approvalDynamicContentService.getByDynamicId(dynamic.getId()); ResponseAssert.isFalse(DynamicErrorCode.CONTENT_DELETE, approvalDynamicContent != null && - ApprovalStatusEnum.NOT_PASS.name().equals(approvalDynamicContent.getApproveStatus())); + !ApprovalStatusEnum.PASS.name().equals(approvalDynamicContent.getApproveStatus())); UserProfileDTO baseInfo = userProfileAppConvertor.toUserProfileDTO( userProfileGateway.getByUserId(dynamic.getCreateUser()));