소스 검색

增项准入范围分页

wd 4 년 전
부모
커밋
ff143f778b
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

@@ -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{}