fix bug:Iterate func missing "... IN (...)"
Signed-off-by: 商讯在线 <swhbox@foxmail.com>
This commit is contained in:
parent
a29eb5a21e
commit
4f70aace97
|
@ -960,7 +960,7 @@ func (statement *Statement) genGetSql(bean interface{}) (string, []interface{})
|
|||
if columnStr == "" {
|
||||
columnStr = statement.genColumnStr()
|
||||
}
|
||||
|
||||
statement.attachInSql() //[SWH|+]
|
||||
return statement.genSelectSql(columnStr), append(statement.Params, statement.BeanArgs...)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue