From 9885317e4a3973221d0f3b500589504e125e51e8 Mon Sep 17 00:00:00 2001 From: zhuangmx <542092324@qq.com> Date: Fri, 18 Nov 2022 21:14:21 +0800 Subject: [PATCH] fixed --- go_build_main_go | Bin 28198432 -> 0 bytes pkg/domain/performance_application_form.go | 7 +++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/go_build_main_go b/go_build_main_go index 25a6868..4fb5c71 100755 Binary files a/go_build_main_go and b/go_build_main_go differ diff --git a/pkg/domain/performance_application_form.go b/pkg/domain/performance_application_form.go index dcb14cb..e79a573 100644 --- a/pkg/domain/performance_application_form.go +++ b/pkg/domain/performance_application_form.go @@ -1,6 +1,9 @@ package domain -import "errors" +import ( + "errors" + "strings" +) type PerformanceApplicationForm struct { DimensionName string //维度名称 @@ -34,7 +37,7 @@ func LoadPerformanceDimensions(rows [][]string) ([]*PerformanceDimension, error) continue } if len(item) >= 1 { - if item[0] == "部门长审核" { + if item[0] == "部门长审核" || strings.Contains(item[0], "审核") { break } } -- libgit2 0.24.0