根据document_store表中的id查询document_info表中的数据
(Ids ...interface{})
| 294 | |
| 295 | //根据document_store表中的id查询document_info表中的数据 |
| 296 | func (this *Document) GetDocInfoById(Ids ...interface{}) (info []DocumentInfo, rows int64, err error) { |
| 297 | if len(Ids) > 0 { |
| 298 | rows, err = orm.NewOrm().QueryTable(GetTableDocumentInfo()).Limit(len(Ids)).Filter("Id__in", Ids...).All(&info) |
| 299 | } |
| 300 | return |
| 301 | } |
| 302 | |
| 303 | //把文档标记为非法文档 |
| 304 | //@param ids 文档id |
no test coverage detected