作者 郑周

1. 文件导出指标优化- 优化有自评的数据

@@ -257,10 +257,13 @@ func (srv StaffAssessServeice) QueryMemberPerformanceIndicator(in *query.MemberP @@ -257,10 +257,13 @@ func (srv StaffAssessServeice) QueryMemberPerformanceIndicator(in *query.MemberP
257 dupleList = append(dupleList, it) 257 dupleList = append(dupleList, it)
258 } 258 }
259 } else { 259 } else {
  260 + // 有内容分类,才算正常数据,反之不显示
  261 + if len(it.ContentCategory) > 0 {
260 dupleMap[it.TargetUserId] = it.BeginDay 262 dupleMap[it.TargetUserId] = it.BeginDay
261 dupleList = append(dupleList, it) 263 dupleList = append(dupleList, it)
262 } 264 }
263 } 265 }
  266 + }
264 267
265 piaMap := map[string]*adapter.PerformanceIndicatorAdapter{} 268 piaMap := map[string]*adapter.PerformanceIndicatorAdapter{}
266 categoryMap := map[string]int{} // 内容分类 269 categoryMap := map[string]int{} // 内容分类