Jelajahi Sumber

增项准入范围分页

wd 4 tahun lalu
induk
melakukan
ff143f778b

+ 1 - 1
src/dashoo.cn/backend/api/controllers/oilsupplier/suppliercertappendsub.go

@@ -200,7 +200,7 @@ func (this *OilSupplierCertAppendSubController) GetListAppend() {
 	var list []suppliercertsub.OilSupplierCertSub
 	//svc.GetEntitysByWhere(OilSupplierCertAppendSubName, where, &list)
 	//svc.GetEntitysByOrderbyWhere(OilSupplierCertSubName, suwhere, "CreateOn asc", &list)
-	total := svc.GetPagingEntitiesWithOrder(page.CurrentPage, page.Size, "CreateOn", false, &list, where)
+	total := svc.GetPagingEntitiesWithOrder(page.CurrentPage, page.Size, "Id", false, &list, where)
 	var dataInfo DataInfo
 	if list == nil {
 		dataInfo.Items = []suppliercertsub.OilSupplierCertSub{}