Merge branch 'test' of http://gitlab.fjmaimaimai.com/allied-creation/performance into test
正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
@@ -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{} // 内容分类 |
-
请 注册 或 登录 后发表评论