正在显示
2 个修改的文件
包含
5 行增加
和
2 行删除
不能预览此文件类型
1 | package domain | 1 | package domain |
2 | 2 | ||
3 | -import "errors" | 3 | +import ( |
4 | + "errors" | ||
5 | + "strings" | ||
6 | +) | ||
4 | 7 | ||
5 | type PerformanceApplicationForm struct { | 8 | type PerformanceApplicationForm struct { |
6 | DimensionName string //维度名称 | 9 | DimensionName string //维度名称 |
@@ -34,7 +37,7 @@ func LoadPerformanceDimensions(rows [][]string) ([]*PerformanceDimension, error) | @@ -34,7 +37,7 @@ func LoadPerformanceDimensions(rows [][]string) ([]*PerformanceDimension, error) | ||
34 | continue | 37 | continue |
35 | } | 38 | } |
36 | if len(item) >= 1 { | 39 | if len(item) >= 1 { |
37 | - if item[0] == "部门长审核" { | 40 | + if item[0] == "部门长审核" || strings.Contains(item[0], "审核") { |
38 | break | 41 | break |
39 | } | 42 | } |
40 | } | 43 | } |
-
请 注册 或 登录 后发表评论