Commit 27142205d3a73facdb832a94c2492c46766235ba
1 parent
c8399283
评论的拒绝取消领取人才能操作的限制
Showing
1 changed file
with
5 additions
and
5 deletions
src/main/java/com/cnlive/shenhe/serviceImpl/CommentsServiceImpl.java
| ... | ... | @@ -147,11 +147,11 @@ public class CommentsServiceImpl { |
| 147 | 147 | String[] commentIds = ids.split(","); |
| 148 | 148 | for (String commentId : commentIds) { |
| 149 | 149 | ShyComments comment = shyCommentsMapper.selectByPrimaryKey(Integer.parseInt(commentId)); |
| 150 | - if (!comment.getReceive() || CommonUtils.isEmpty(comment.getReceive_user_id()) || !userId.equals(comment.getReceive_user_id())) { | |
| 151 | - logger.error("领取逻辑不符,不能审核,activity_id:{}", comment.getActivity_id()); | |
| 152 | - success = false; | |
| 153 | - break; | |
| 154 | - } | |
| 150 | +// if (!comment.getReceive() || CommonUtils.isEmpty(comment.getReceive_user_id()) || !userId.equals(comment.getReceive_user_id())) { | |
| 151 | +// logger.error("领取逻辑不符,不能审核,activity_id:{}", comment.getActivity_id()); | |
| 152 | +// success = false; | |
| 153 | +// break; | |
| 154 | +// } | |
| 155 | 155 | |
| 156 | 156 | JSONObject json = new JSONObject(); |
| 157 | 157 | json.put("activity_id", comment.getActivity_id()); | ... | ... |