Kaynağa Gözat

耗材参数

XMLWAN 4 yıl önce
ebeveyn
işleme
7cbe832881

+ 2 - 2
controllers/new_mobile_api_controllers/common_api_controller.go Dosyayı Görüntüle

@@ -701,7 +701,7 @@ func (this *CommonApiController) GetDialysislist() {
701 701
 	page, _ := this.GetInt64("page")
702 702
 
703 703
 	limit, _ := this.GetInt64("limit")
704
-
704
+	fmt.Println(limit)
705 705
 	adminUser := this.GetAdminUserInfo()
706 706
 	orgId := adminUser.CurrentOrgId
707 707
 	count, _ := service.TotalDialysisCount(statime, entime, orgId)
@@ -710,7 +710,7 @@ func (this *CommonApiController) GetDialysislist() {
710 710
 	list, totallist, _ := service.GetDialysisPatientList(statime, entime, page, limit, orgId)
711 711
 	fmt.Println("err", err)
712 712
 	//获取每个病人每个透析模式的数据
713
-	modeIdCount, parseDateErr := service.GetModeIdCount(statime, entime, orgId, page, limit)
713
+	modeIdCount, parseDateErr := service.GetModeIdCount(statime, entime, orgId, page, 1000)
714 714
 	if err != nil {
715 715
 		this.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeSystemError)
716 716
 		return