Browse Source

2024/6/17

28169 1 month ago
parent
commit
d89cc43d40
2 changed files with 1 additions and 1 deletions
  1. BIN
      XT_New.exe
  2. 1 1
      service/patient_service.go

BIN
XT_New.exe View File


+ 1 - 1
service/patient_service.go View File

@@ -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)