Browse Source

查询AI数据列表eventType模糊查询

locky 3 years ago
parent
commit
93dcbc565a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Controller/AiController.py

+ 1 - 1
Controller/AiController.py

@@ -658,7 +658,7 @@ class AiView(View):
         if startTime and endTime:
             qs = qs.filter(eventTime__range=(startTime, endTime))
         if eventType:
-            qs = qs.filter(eventType=eventType)
+            qs = qs.filter(eventType__contains=eventType)
         uids = request_dict.get('uids', None)
         if uids:
             uid_list = uids.split(',')