Commit b91b9945 authored by xianyang's avatar xianyang

1-22: 评论条件查询

parent e5dc9cba
......@@ -367,7 +367,7 @@ def upload_file_body(file_strem, file_name):
def children_comment(fcmid, uid):
result = []
fs = []
friend_data = FriendComment.query.filter(or_(and_(FriendComment.status == 0,
friend_data = FriendComment.query.filter(or_(and_(FriendComment.status != 1,
FriendComment.fcmid == int(fcmid)),
and_(FriendComment.uid == int(uid),
FriendComment.fcmid == int(fcmid))
......
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