28169 před 1 měsícem
rodič
revize
d89cc43d40
2 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. binární
      XT_New.exe
  2. 1 1
      service/patient_service.go

binární
XT_New.exe Zobrazit soubor


+ 1 - 1
service/patient_service.go Zobrazit soubor

@@ -4705,7 +4705,7 @@ func GetPatientLastDryWeightObj(patient_id int64, start_time int64, end_time int
4705 4705
 
4706 4706
 func GetAutoInspectionList(patient_id int64, start_time int64, end_time int64, org_id int64) (inpection []*models.XtInspection, err error) {
4707 4707
 
4708
-	db := XTReadDB().Model(&inpection).Where("status=1")
4708
+	db := XTReadDB().Model(&inpection).Where("status=1 and inspect_value!=''")
4709 4709
 
4710 4710
 	if patient_id > 0 {
4711 4711
 		db = db.Where("patient_id = ?", patient_id)