根据document_store表中的id查询document_info表中的数据
(DsId interface{}, fields ...string)
| 288 | |
| 289 | //根据document_store表中的id查询document_info表中的数据 |
| 290 | func (this *Document) GetOneDocStoreByDsId(DsId interface{}, fields ...string) (store DocumentStore, rows int64, err error) { |
| 291 | err = orm.NewOrm().QueryTable(GetTableDocumentStore()).Filter("Id__in", DsId).One(&store, fields...) |
| 292 | return |
| 293 | } |
| 294 | |
| 295 | //根据document_store表中的id查询document_info表中的数据 |
| 296 | func (this *Document) GetDocInfoById(Ids ...interface{}) (info []DocumentInfo, rows int64, err error) { |
no test coverage detected