Commit e149af5e by zhiwj

修改bug

parent 38156ffc
......@@ -224,7 +224,7 @@ public class EvaluateOutApiServiceImpl implements EvaluateOutApiService {
// 是否超过次数
List<TabEvaluateReply> replyList = this.evaluateReplyService.listEvaluateReply(memberReplyDTO.getEnterpriseId(), memberReplyDTO.getEvaluateId(), Constants.OPEN);
if (CollectionUtils.isNotEmpty(replyList)) {
if (evaluateOrderConfig.getReviewTimes() < this.evaluateReplyService.countReviewReplyByMember(memberReplyDTO.getEnterpriseId(), evaluate.getEvaluateId())) {
if (evaluateOrderConfig.getReviewTimes() <= this.evaluateReplyService.countReviewReplyByMember(memberReplyDTO.getEnterpriseId(), evaluate.getEvaluateId())) {
return EnterpriseServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "已经超过最大追评次数,无法继续追评");
}
}
......
......@@ -233,6 +233,7 @@
from tab_evaluate_reply
where enterprise_id = #{enterpriseId}
and evaluate_id = #{evaluateId}
and replyer_type = 1
and status = 1
</select>
</mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment