Skip to content

Commit eda493a

Browse files
author
Athurg Feng
committed
完善错误信息格式
1 parent 6a5bedc commit eda493a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

department.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ func GetDepartmentIdMap() (map[string]int, error) {
109109
}
110110

111111
if len(deptCount) > 0 {
112-
return nil, fmt.Errorf("部分部门重名,重名部门包括%s", deptCount)
112+
return nil, fmt.Errorf("部分部门重名,重名部门包括%v", deptCount)
113113
}
114114

115115
return nameIdMap, nil

0 commit comments

Comments
 (0)