Browse Source

耗材参数

XMLWAN 4 years ago
parent
commit
a58aaa5081
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/dialysis_api_controller.go

+ 1 - 1
controllers/dialysis_api_controller.go View File

@@ -1280,7 +1280,7 @@ func (c *DialysisApiController) PostAssessmentBeforeDislysis() {
1280 1280
 		dewater_amount = 0
1281 1281
 		if evaluation.DryWeight > 0 {
1282 1282
 			dewater_amount = evaluation.WeightBefore - evaluation.DryWeight - evaluation.AdditionalWeight
1283
-			if templateInfo.TemplateId == 17 && templateInfo.TemplateId == 22 && templateInfo.TemplateId == 21 && templateInfo.TemplateId == 34 {
1283
+			if templateInfo.TemplateId == 17 || templateInfo.TemplateId == 22 || templateInfo.TemplateId == 21 || templateInfo.TemplateId == 34 {
1284 1284
 				dewater_amount = dewater_amount * 1000
1285 1285
 			}
1286 1286
 			if dewater_amount <= 0 {