Browse Source

fix bodycheck

胡轶钦 6 years ago
parent
commit
1dc47ef1f1
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      service/bodycheck/bodycheck.go

+ 1
- 1
service/bodycheck/bodycheck.go View File

103
 			utils.LogError("获取设备信息失败:", err)
103
 			utils.LogError("获取设备信息失败:", err)
104
 			return errors.New("获取设备信息失败")
104
 			return errors.New("获取设备信息失败")
105
 		}
105
 		}
106
-		if caseEquipment == nil || caseEquipment.Id == "" {
106
+		if caseEquipment == nil || caseEquipment.EquipmentId == "" {
107
 			return errors.New("设备未维护!")
107
 			return errors.New("设备未维护!")
108
 		}
108
 		}
109
 
109