ziwen 1 년 전
부모
커밋
96ab20f148
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