From 33971bf841555b37370a966ddc9f89ba19c7cb27 Mon Sep 17 00:00:00 2001 From: zhenghaorong Date: Sat, 3 Sep 2022 12:05:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=90=E7=A4=BA=E8=AF=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chain.go | 2 +- transaction_chain.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chain.go b/chain.go index b3f5170..9b0afd1 100644 --- a/chain.go +++ b/chain.go @@ -469,7 +469,7 @@ func (this *Query) CreateAllStmt() error { } if len(this.data) == 0 { - return errors.New("参数错误,没有数据表") + return errors.New("参数错误,字段名错误") } if len(this.value) == 0 { return errors.New("参数错误,条件值错误") diff --git a/transaction_chain.go b/transaction_chain.go index 808626d..c2a5ceb 100644 --- a/transaction_chain.go +++ b/transaction_chain.go @@ -499,7 +499,7 @@ func (this *TxQuery) CreateAllStmt() error { } if len(this.data) == 0 { - return errors.New("参数错误,没有数据表") + return errors.New("参数错误,字段名错误") } if len(this.value) == 0 { return errors.New("参数错误,条件值错误")