Browse Source

Merge branch '20211122' of http://git.shengws.com/csx/XT_New into 20211122

csx 2 years ago
parent
commit
e0ba5f0192

+ 2 - 0
controllers/common_api_controller.go View File

@@ -1067,6 +1067,7 @@ func (this *CommonApiController) GetNormData() {
1067 1067
 	orgid := this.GetAdminUserInfo().CurrentOrgId
1068 1068
 	//获取系统数据
1069 1069
 	normdata, err := service.GetNormDataByOrgId(orgid)
1070
+
1070 1071
 	//获取血压数据
1071 1072
 	bloodPressure, err := service.GetDefaultBloodPressure(orgid)
1072 1073
 	if err != nil {
@@ -1119,6 +1120,7 @@ func (this *CommonApiController) GetFirstQuarter() {
1119 1120
 	fmt.Println("结束日期", entime)
1120 1121
 	//统计数值类型的数据
1121 1122
 	count, err := service.GetQuarterTotalCount(orgid, statime, entime, lapseto, origin)
1123
+	fmt.Println("countwowowowoowowowowoww", count)
1122 1124
 	//统计rang_type== 2
1123 1125
 	countwo, _ := service.GetQuarterTotalCountTwo(orgid, statime, entime, lapseto, origin)
1124 1126
 

+ 4 - 1
controllers/mobile_api_controllers/check_weight_api_controller.go View File

@@ -633,7 +633,10 @@ func (c *CheckWeightApiController) SavePatientInfoDialysis() {
633 633
 				evaluation.Exposed = lastPredialysisEvaluation.Exposed                         // 外漏
634 634
 				evaluation.DialysisCount = lastPredialysisEvaluation.DialysisCount             //呼吸频次
635 635
 				evaluation.Phinholing = lastPredialysisEvaluation.Phinholing                   //针眼
636
-
636
+				evaluation.Remark = lastPredialysisEvaluation.Remark
637
+				if adminUserInfo.Org.Id == 10318 {
638
+					evaluation.Remark = "患者已确认无发热,无流行病学接触史"
639
+				}
637 640
 			}
638 641
 		} else {
639 642
 			evaluation.UpdatedTime = time.Now().Unix()

+ 1 - 1
service/print_data_service/schedule_dialysis/print_schedule_dialysis_service.go View File

@@ -300,7 +300,7 @@ func GetWarehouseOutInfoPrintList(orgid int64, startime int64, endtime int64) (o
300 300
 	if endtime > 0 {
301 301
 		db = db.Where("x.ctime<=?", endtime)
302 302
 	}
303
-	err = db.Select("x.patient_id,x.sys_record_time,x.good_id,sum(x.count) as count,t.good_name,t.specification_name,t.packing_unit,t.retail_price,t.packing_price,t.buy_price").Joins("left join xt_good_information as t on t.id = x.good_id").Group("x.good_id").Scan(&out).Error
303
+	err = db.Select("x.patient_id,x.sys_record_time,x.good_id,sum(x.count) as count,x.ctime,t.good_name,t.specification_name,t.packing_unit,t.retail_price,t.packing_price,t.buy_price").Joins("left join xt_good_information as t on t.id = x.good_id").Group("x.good_id").Scan(&out).Error
304 304
 	return out, err
305 305
 }
306 306