Browse Source

历史排班

28169 1 year ago
parent
commit
9c1874e749
1 changed files with 3 additions and 0 deletions
  1. 3 0
      controllers/mobile_api_controllers/check_weight_api_controller.go

+ 3 - 0
controllers/mobile_api_controllers/check_weight_api_controller.go View File

@@ -414,6 +414,7 @@ func (c *CheckWeightApiController) SavePatientInfoDialysis() {
414 414
 			newprescribe.PrescriptionWater = dewater_amount
415 415
 			newprescribe.Chaptalization = dialysisSolution.Chaptalization
416 416
 			newprescribe.PrescribingNumber = 1
417
+			newprescribe.BloodAccessPartId = dialysisSolution.BloodAccessPartId
417 418
 			newprescribe.Status = 1
418 419
 			if adminUserInfo.Org.Id != 10013 && adminUserInfo.Org.Id != 10014 {
419 420
 				newprescribe.Remark = dialysisSolution.Remark
@@ -521,6 +522,7 @@ func (c *CheckWeightApiController) SavePatientInfoDialysis() {
521 522
 				newprescribe.DialysisIrrigation = lastDialysisPrescribe.DialysisIrrigation
522 523
 				newprescribe.BodyFluidOther = lastDialysisPrescribe.BodyFluidOther
523 524
 				newprescribe.TargetKtv = lastDialysisPrescribe.TargetKtv
525
+				newprescribe.BloodAccessPartId = lastDialysisPrescribe.BloodAccessPartId
524 526
 				newprescribe.CreatedTime = time.Now().Unix()
525 527
 				newprescribe.UpdatedTime = time.Now().Unix()
526 528
 				newprescribe.RecordDate = theAssessmentDateTime
@@ -629,6 +631,7 @@ func (c *CheckWeightApiController) SavePatientInfoDialysis() {
629 631
 				newprescribe.DewaterAmount = dewater_amount
630 632
 				newprescribe.TargetUltrafiltration = dewater_amount
631 633
 				newprescribe.Chaptalization = lastDialysisPrescribe.Chaptalization
634
+				newprescribe.BloodAccessPartId = lastDialysisPrescribe.BloodAccessPartId
632 635
 				newprescribe.Status = 1
633 636
 				newprescribe.PrescribingNumber = 1
634 637