目标数据修改 1261/3
authorhcj <1224667075@qq.com>
Fri, 25 Oct 2024 09:19:52 +0000 (17:19 +0800)
committerhcj <1224667075@qq.com>
Fri, 25 Oct 2024 09:19:52 +0000 (17:19 +0800)
code/sdk/application/wearable/fd230app/nativeui/goal/src/goalmodel.cpp

index ad5a450..50c036c 100644 (file)
@@ -155,7 +155,7 @@ namespace OHOS
 
    bool GoalModel::is_goal_stand_done()
    {
-      int standdata_now_ = standdata_now+get_stand_falg();
+      int standdata_now_ = standdata_now;
 
       int standdata_goal = stand;
 
@@ -202,7 +202,7 @@ namespace OHOS
    char standnewstr[20];
    char *GoalModel::getstandnew()
    {
-      int standdata =  standdata_now+get_stand_falg();
+      int standdata =  standdata_now;
 
       memset((void *)standnewstr, 0, 20);
       sprintf_s(standnewstr, 20, "%d", standdata);