|
@@ -1143,7 +1143,7 @@ func (a *AnalysisEntity) MarketTime() (map[string]interface{}, error) {
|
|
Rest(res, &thisRow)
|
|
Rest(res, &thisRow)
|
|
if thisRow.Thismarket.Buckets != nil && len(thisRow.Thismarket.Buckets) != 0 {
|
|
if thisRow.Thismarket.Buckets != nil && len(thisRow.Thismarket.Buckets) != 0 {
|
|
Projectmarket := thisRow.Thismarket.Buckets[0]
|
|
Projectmarket := thisRow.Thismarket.Buckets[0]
|
|
- if Projectmarket.ProjectCount.DocCount == 0 {
|
|
|
|
|
|
+ if !isOffline && Projectmarket.ProjectCount.DocCount == 0 {
|
|
return nil, fmt.Errorf("未查询到项目数据")
|
|
return nil, fmt.Errorf("未查询到项目数据")
|
|
}
|
|
}
|
|
if Projectmarket.ProjectCount.DocCount > MAProjectNumLimit {
|
|
if Projectmarket.ProjectCount.DocCount > MAProjectNumLimit {
|