瀏覽代碼

no message

张保健 4 年之前
父節點
當前提交
b776fcd942
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controllers/mobile_api_controllers/check_weight_api_controller.go

+ 1 - 1
controllers/mobile_api_controllers/check_weight_api_controller.go 查看文件

@@ -643,7 +643,7 @@ func (c *CheckWeightApiController) SavePatientInfoDialysis() {
643 643
 		evaluation.WeightBefore = weighing_before
644 644
 		evaluation.AssessmentTime = time.Now().Unix()
645 645
 
646
-		err = service.UpadatePredialysisEvaluation(&evaluation)
646
+		err := service.UpadatePredialysisEvaluation(&evaluation)
647 647
 		if err != nil {
648 648
 			c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeDBUpdate)
649 649
 			return