浏览代码

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

陈少旭 2 个月前
父节点
当前提交
298cc87ff6
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. 二进制
      XT_New.exe
  2. 1 1
      service/patient_service.go

二进制
XT_New.exe 查看文件


+ 1 - 1
service/patient_service.go 查看文件

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)