فهرست منبع

Merge branch 'cygx_10.9.1' into debug

ziwen 1 سال پیش
والد
کامیت
56e22cca8f
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      services/cygx/activity_special.go

+ 3 - 1
services/cygx/activity_special.go

@@ -683,7 +683,9 @@ func GetSpecialSurplusByCompanyNew(companyId int) (specialSurplus string, err er
 			err = e
 			return
 		}
-		specialSurplus = billItem.Total
+		if billItem != nil {
+			specialSurplus = billItem.Total
+		}
 		return
 	}
 	return