hongze il y a 1 an
Parent
commit
ef053878cb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      controllers/overseas_custom/custom.go

+ 1 - 1
controllers/overseas_custom/custom.go

@@ -443,7 +443,7 @@ func (this *OverseasCustomController) CustomStatistics() {
 	}
 
 	total, err := obj.GetCustomOverseasStatusTotal(condition, pars)
-	if err != nil && err.Error() == utils.ErrNoRow() {
+	if err != nil && err.Error() != utils.ErrNoRow() {
 		br.Msg = "获取失败"
 		br.ErrMsg = "获取海外客户总计状态失败, Err: " + err.Error()
 		return