add config with self_define_type_mysql_dic_map out_file_name web_tag_type
This commit is contained in:
@@ -67,6 +67,12 @@ func FilterKeywords(src string) string {
|
||||
|
||||
// getTypeName Type acquisition filtering.类型获取过滤
|
||||
func getTypeName(name string, isNull bool) string {
|
||||
// 优先匹配自定义类型
|
||||
selfDefineTypeMqlDicMap := config.GetSelfDefineTypeMysqlDicMap()
|
||||
if v, ok := selfDefineTypeMqlDicMap[name]; ok {
|
||||
return fixNullToPorint(v, isNull)
|
||||
}
|
||||
|
||||
// Precise matching first.先精确匹配
|
||||
if v, ok := cnf.TypeMysqlDicMp[name]; ok {
|
||||
return fixNullToPorint(v, isNull)
|
||||
|
||||
Reference in New Issue
Block a user