From c19f1f7e21c93d1f13b4f44a8a615f65af577559 Mon Sep 17 00:00:00 2001
From: wangzhibo <wangzhibo@shsening.com>
Date: 星期日, 16 八月 2026 15:10:24 +0800
Subject: [PATCH] 添加 android 端接口

---
 src/modules/push/entity/sorterhealth.ts |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/src/modules/push/entity/sorterhealth.ts b/src/modules/push/entity/sorterhealth.ts
index c09edd6..3b2962e 100644
--- a/src/modules/push/entity/sorterhealth.ts
+++ b/src/modules/push/entity/sorterhealth.ts
@@ -19,22 +19,26 @@
     @Column({ comment: '鏁版嵁鏃堕棿' })
     uploadTime: Date;
 
-    @Column({ comment: '浣撴俯', type: 'decimal', precision: 3, scale: 1 })
+    @Column({ comment: '浣撴俯', type: 'decimal', precision: 3, scale: 1, nullable: true })
     temperature: number;
 
-    @Column({ comment: '蹇冪巼' })
+    @Column({ comment: '蹇冪巼', nullable: true })
     heartRate: number;
 
-    @Column({ comment: '鏀剁缉鍘�' })
+    @Column({ comment: '鏀剁缉鍘�', nullable: true })
     bloodPressureHigh: number;
 
-    @Column({ comment: '鑸掑紶鍘�' })
+    @Column({ comment: '鑸掑紶鍘�', nullable: true })
     bloodPressureLow: number;
 
-    @Column({ comment: '琛�姘чケ鍜屽害', type: 'decimal', precision: 4, scale: 1 })
+    @Column({ comment: '琛�姘чケ鍜屽害', type: 'decimal', precision: 4, scale: 1, nullable: true })
     bloodOxygen: number;
-    
-    // add more if needed
+
+    @Column({ comment: '姝ユ暟', nullable: true, default: 0 })
+    stepCount: number;
+
+    @Column({ comment: '鏁版嵁绫诲瀷', dict: ['鍛ㄦ湡', '骞冲潎', '寮傚父'], default: '鍛ㄦ湡', nullable: true })
+    dataType: string;
 
 
 }
\ No newline at end of file

--
Gitblit v1.9.1