作者 yangfu

Merge branch 'test'

@@ -100,7 +100,7 @@ spec: @@ -100,7 +100,7 @@ spec:
100 - name: SERVICE_ENV 100 - name: SERVICE_ENV
101 value: "test" 101 value: "test"
102 - name: METADATA_BASTION_HOST 102 - name: METADATA_BASTION_HOST
103 - value: "http://character-library-metadata-bastion-test.fjmaimaimai.com" 103 + value: "https://character-library-metadata-bastion-test.fjmaimaimai.com"
104 - name: BYTE_CORE_HOST 104 - name: BYTE_CORE_HOST
105 value: "http://47.97.5.102:8303" 105 value: "http://47.97.5.102:8303"
106 - name: STARROCKS_HOST 106 - name: STARROCKS_HOST
@@ -73,6 +73,7 @@ func (tableService *TableService) FieldOptionalValues(ctx *domain.Context, cmd * @@ -73,6 +73,7 @@ func (tableService *TableService) FieldOptionalValues(ctx *domain.Context, cmd *
73 if c.Field != nil && c.Field.SQLName == "" { 73 if c.Field != nil && c.Field.SQLName == "" {
74 if v, ok := table.MatchField(c.Field); ok { 74 if v, ok := table.MatchField(c.Field); ok {
75 cmd.Where.Conditions[i].Field.SQLName = v.SQLName 75 cmd.Where.Conditions[i].Field.SQLName = v.SQLName
  76 + cmd.Where.Conditions[i].Field.SQLType = v.SQLType
76 } 77 }
77 } 78 }
78 } 79 }
@@ -36,6 +36,7 @@ func (tableService *TableService) TablePreview(ctx *domain.Context, cmd *command @@ -36,6 +36,7 @@ func (tableService *TableService) TablePreview(ctx *domain.Context, cmd *command
36 if c.Field != nil && c.Field.SQLName == "" { 36 if c.Field != nil && c.Field.SQLName == "" {
37 if v, ok := table.MatchField(c.Field); ok { 37 if v, ok := table.MatchField(c.Field); ok {
38 cmd.Where.Conditions[i].Field.SQLName = v.SQLName 38 cmd.Where.Conditions[i].Field.SQLName = v.SQLName
  39 + cmd.Where.Conditions[i].Field.SQLType = v.SQLType
39 } 40 }
40 } 41 }
41 } 42 }