update

FFIB 2 年之前
父節點
當前提交
4585daa25e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      equipment/models.py

+ 1 - 1
equipment/models.py

@@ -237,7 +237,7 @@ class IsolationPointUserInfo(BaseModelMixin):
237 237
             return '-'
238 238
 
239 239
         if today.day == self.detect_at.day and today.month == self.detect_at.month and today.year == self.detect_at.year:
240
-            return '-' if self.antigen_result == 2 else self.antigen_result
240
+            return '-' if self.antigen_result == 2 else self.get_antigen_result_display()
241 241
         else:
242 242
             return '-'
243 243