Bladeren bron

2024/6/17

28169 3 weken geleden
bovenliggende
commit
440d4775c1

BIN
XT_New.exe Bestand weergeven


+ 6 - 6
controllers/base_api_controller.go Bestand weergeven

@@ -83,7 +83,7 @@ func (this *BaseAuthAPIController) Prepare() {
83 83
 		userAdmin.ModifyTime = 1530786071
84 84
 		var subscibe models.ServeSubscibe
85 85
 		subscibe.ID = 11
86
-		subscibe.OrgId = 10721 //机构id
86
+		subscibe.OrgId = 10206 //机构id
87 87
 		subscibe.PeriodStart = 1547447814
88 88
 		subscibe.PeriodEnd = 1550039814
89 89
 		subscibe.State = 1
@@ -93,8 +93,8 @@ func (this *BaseAuthAPIController) Prepare() {
93 93
 		subscibes := make(map[int64]*models.ServeSubscibe, 0)
94 94
 		subscibes[4] = &subscibe
95 95
 		var adminUserInfo service.AdminUserInfo
96
-		adminUserInfo.CurrentOrgId = 10721 //机构id小英9675或4
97
-		adminUserInfo.CurrentAppId = 12627 //4
96
+		adminUserInfo.CurrentOrgId = 10206 //机构id小英9675或4
97
+		adminUserInfo.CurrentAppId = 7421  //4
98 98
 		adminUserInfo.AdminUser = &userAdmin
99 99
 		adminUserInfo.Subscibes = subscibes
100 100
 		this.SetSession("admin_user_info", &adminUserInfo)
@@ -329,7 +329,7 @@ func (this *BaseServeAPIController) Prepare() {
329 329
 		userAdmin.ModifyTime = 1530786071
330 330
 		var subscibe models.ServeSubscibe
331 331
 		subscibe.ID = 11
332
-		subscibe.OrgId = 10721 //机构id小英9675或4
332
+		subscibe.OrgId = 10206 //机构id小英9675或4
333 333
 		subscibe.PeriodStart = 1538035409
334 334
 		subscibe.PeriodEnd = 1569571409
335 335
 		subscibe.State = 1
@@ -339,8 +339,8 @@ func (this *BaseServeAPIController) Prepare() {
339 339
 		subscibes := make(map[int64]*models.ServeSubscibe, 0)
340 340
 		subscibes[4] = &subscibe
341 341
 		var adminUserInfo service.AdminUserInfo
342
-		adminUserInfo.CurrentOrgId = 10721 //机构id小英9675或4
343
-		adminUserInfo.CurrentAppId = 12627 //4
342
+		adminUserInfo.CurrentOrgId = 10206 //机构id小英9675或4
343
+		adminUserInfo.CurrentAppId = 7421  //4
344 344
 		adminUserInfo.AdminUser = &userAdmin
345 345
 		adminUserInfo.Subscibes = subscibes
346 346
 		this.SetSession("admin_user_info", &adminUserInfo)

+ 5 - 0
controllers/dialysis_record_api_controller.go Bestand weergeven

@@ -1489,6 +1489,11 @@ func (this *DialysisRecordAPIController) StartDialysis() {
1489 1489
 				record.PulseFrequency = befor.PulseFrequency
1490 1490
 			}
1491 1491
 
1492
+			//濉溪杏康血液透析中心
1493
+			if adminUserInfo.CurrentOrgId == 10721 || adminUserInfo.CurrentOrgId == 10164 {
1494
+				record.BloodFlowVolume = prescription.BloodFlowVolume
1495
+			}
1496
+
1492 1497
 			err := service.CreateMonitor(&record)
1493 1498
 
1494 1499
 			//记录日志

+ 5 - 0
controllers/mobile_api_controllers/dialysis_api_controller.go Bestand weergeven

@@ -3866,6 +3866,11 @@ func (this *DialysisAPIController) StartDialysis() {
3866 3866
 			record.DialysateTemperature = 36.5
3867 3867
 		}
3868 3868
 
3869
+		//濉溪杏康血液透析中心
3870
+		if adminUserInfo.Org.Id == 10721 || adminUserInfo.Org.Id == 10164 {
3871
+			record.BloodFlowVolume = prescription.BloodFlowVolume
3872
+		}
3873
+
3869 3874
 		if adminUserInfo.Org.Id != 10683 {
3870 3875
 			err = service.CreateMonitor(&record)
3871 3876
 		}