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

Method GetDocInfoByDsId

models/DocumentModel.go:274–279  ·  view source on GitHub ↗

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

(DsId ...interface{})

Source from the content-addressed store, hash-verified

272
273//根据document_store表中的id查询document_info表中的数据
274func (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表中的数据
282func (this *Document) GetDocStoreByDsId(DsId ...interface{}) (store []DocumentStore, rows int64, err error) {

Callers 2

SetIllegalMethod · 0.95
DeepDelMethod · 0.80

Calls 2

GetTableDocumentInfoFunction · 0.85
AllMethod · 0.80

Tested by

no test coverage detected