根据document_store表中的id查询document_info表中的数据
(DsId ...interface{})
| 280 | |
| 281 | //根据document_store表中的id查询document_info表中的数据 |
| 282 | func (this *Document) GetDocStoreByDsId(DsId ...interface{}) (store []DocumentStore, rows int64, err error) { |
| 283 | if l := len(DsId); l > 0 { |
| 284 | rows, err = orm.NewOrm().QueryTable(GetTableDocumentStore()).Limit(l).Filter("Id__in", DsId...).All(&store) |
| 285 | } |
| 286 | return |
| 287 | } |
| 288 | |
| 289 | //根据document_store表中的id查询document_info表中的数据 |
| 290 | func (this *Document) GetOneDocStoreByDsId(DsId interface{}, fields ...string) (store DocumentStore, rows int64, err error) { |
no test coverage detected