Browse Source

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

陈少旭 3 months ago
parent
commit
298cc87ff6
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
 
4705
 
4706
 func GetAutoInspectionList(patient_id int64, start_time int64, end_time int64, org_id int64) (inpection []*models.XtInspection, err error) {
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
 	if patient_id > 0 {
4710
 	if patient_id > 0 {
4711
 		db = db.Where("patient_id = ?", patient_id)
4711
 		db = db.Where("patient_id = ?", patient_id)