修复 评价记录 bug
This commit is contained in:
parent
a02d636728
commit
5d7316b1ee
|
@ -80,7 +80,7 @@ def rating_records_by_cid(cid):
|
|||
records: 企业的评价记录
|
||||
"""
|
||||
records = find_rating_records({"企业ID": cid})
|
||||
records = [record.pop('企业ID') if records is not None else None for record in records]
|
||||
[record.pop('企业ID') if records is not None else None for record in records]
|
||||
return records
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue