|
@@ -5,8 +5,8 @@ import (
|
|
"fmt"
|
|
"fmt"
|
|
"reflect"
|
|
"reflect"
|
|
"strings"
|
|
"strings"
|
|
-
|
|
|
|
- "golib/v3/features/mo"
|
|
|
|
|
|
+
|
|
|
|
+ "git.simanc.com/software/golib/v3/features/mo"
|
|
)
|
|
)
|
|
|
|
|
|
var (
|
|
var (
|
|
@@ -25,7 +25,7 @@ type ItemInfo struct {
|
|
Name Name `xml:"Name,attr"`
|
|
Name Name `xml:"Name,attr"`
|
|
Label string `xml:"Label,attr"`
|
|
Label string `xml:"Label,attr"`
|
|
Fields []FieldInfo `xml:"Fields>Field"`
|
|
Fields []FieldInfo `xml:"Fields>Field"`
|
|
-
|
|
|
|
|
|
+
|
|
fieldMap map[string]int
|
|
fieldMap map[string]int
|
|
requiredMap map[string]int // 必填
|
|
requiredMap map[string]int // 必填
|
|
uniqueMap map[string]int // 需要调用 SetUnique 设置唯一键
|
|
uniqueMap map[string]int // 需要调用 SetUnique 设置唯一键
|