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