MCPcopy Index your code
hub / github.com/TruthHun/DocHub / GetDocInfoById

Method GetDocInfoById

models/DocumentModel.go:296–301  ·  view source on GitHub ↗

根据document_store表中的id查询document_info表中的数据

(Ids ...interface{})

Source from the content-addressed store, hash-verified

294
295//根据document_store表中的id查询document_info表中的数据
296func (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

Callers 2

DeepDelMethod · 0.80
GetDescByDidMethod · 0.80

Calls 2

GetTableDocumentInfoFunction · 0.85
AllMethod · 0.80

Tested by

no test coverage detected