根据document_store表中的id查询document_info表中的数据
(DsId ...interface{})
| 272 | |
| 273 | //根据document_store表中的id查询document_info表中的数据 |
| 274 | func (this *Document) GetDocInfoByDsId(DsId ...interface{}) (info []DocumentInfo, rows int64, err error) { |
| 275 | if l := len(DsId); l > 0 { |
| 276 | rows, err = orm.NewOrm().QueryTable(GetTableDocumentInfo()).Filter("DsId__in", DsId...).All(&info) |
| 277 | } |
| 278 | return |
| 279 | } |
| 280 | |
| 281 | //根据document_store表中的id查询document_info表中的数据 |
| 282 | func (this *Document) GetDocStoreByDsId(DsId ...interface{}) (store []DocumentStore, rows int64, err error) { |
no test coverage detected