Browse Source

事务单条查询增加默认条件

master v0.5.4
guzeng 3 years ago
parent
commit
da0617d167
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      transaction_chain.go

+ 2
- 1
transaction_chain.go View File

@ -394,7 +394,8 @@ func (this *TxQuery) Select() ([]map[string]string, error) {
* return row error
*/
func (this *TxQuery) Find() (map[string]string, error) {
this.page = 1
this.page_size = 1
err := this.QueryStmt()
if err != nil {
return map[string]string{}, err


Loading…
Cancel
Save