From 90742be412ab6d1579bc8b5c49f101d28e2a4a8c Mon Sep 17 00:00:00 2001 From: loshiqi <553578653@qq.com> Date: Mon, 22 Dec 2025 17:04:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E8=BD=AC=E9=A9=BC=E5=B3=B0?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=BC=80=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/db.go b/db.go index 67e44c1..8be7d44 100644 --- a/db.go +++ b/db.go @@ -557,6 +557,8 @@ func GetRow(dbName, table_name, alias string, titles string, with, join [][]stri if col != nil { if !close_hump { index = helper.StrFirstToUpper(strings.ToLower(columns[i])) + } else { + index = strings.ToLower(columns[i]) } info[index] = DmFormatDecimal(col) } @@ -580,6 +582,8 @@ func GetRow(dbName, table_name, alias string, titles string, with, join [][]stri if col != nil { if !close_hump { index = helper.StrFirstToUpper(columns[i]) + } else { + index = columns[i] } info[index] = helper.ToString(col) } @@ -806,6 +810,8 @@ func FetchRows(dbName, table_name, alias string, titles string, with, join [][]s if col != nil { if !close_hump { index = helper.StrFirstToUpper(strings.ToLower(columns[i])) + } else { + index = strings.ToLower(columns[i]) } info[index] = DmFormatDecimal(col) } @@ -834,6 +840,8 @@ func FetchRows(dbName, table_name, alias string, titles string, with, join [][]s if col != nil { if !close_hump { index = helper.StrFirstToUpper(columns[i]) + } else { + index = columns[i] } info[index] = helper.ToString(col) }