2
3
Преглед на файлове

新增准入范围分页优化

wd преди 4 години
родител
ревизия
add0f5876b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/dashoo.cn/backend/api/controllers/oilsupplier/suppliercertappendsub.go

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

@@ -150,7 +150,7 @@ func (this *OilSupplierCertAppendSubController) GetMyList() {
 	svc := suppliercertappendsub.GetOilSupplierCertAppendSubService(utils.DBE)
 	var list []suppliercertsub.OilSupplierCertSub
 	//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{}