From 2a593ddac16e06f1ff55edca22ea568f07b068ba Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 02 四月 2021 19:15:18 +0800 Subject: [PATCH] 3.9.0bug修改 --- src/main/java/com/yeshi/buwan/controller/admin/api/SystemController.java | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/yeshi/buwan/controller/admin/api/SystemController.java b/src/main/java/com/yeshi/buwan/controller/admin/api/SystemController.java index cd79f2e..5dce3f2 100644 --- a/src/main/java/com/yeshi/buwan/controller/admin/api/SystemController.java +++ b/src/main/java/com/yeshi/buwan/controller/admin/api/SystemController.java @@ -7,22 +7,22 @@ import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpSession; +import com.yeshi.buwan.util.SystemUtil; import net.sf.json.JSONObject; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestParam; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.yeshi.buwan.domain.AdminInfo; -import com.yeshi.buwan.domain.DetailSystem; -import com.yeshi.buwan.domain.SystemInfo; +import com.yeshi.buwan.domain.system.DetailSystem; +import com.yeshi.buwan.domain.system.SystemInfo; import com.yeshi.buwan.service.imp.SystemService; import com.yeshi.buwan.util.Constant; -import com.yeshi.buwan.util.StringUtil; import com.yeshi.buwan.web.tag.PageEntity; @Controller @@ -37,10 +37,10 @@ * @return */ @RequestMapping("detailSystemList") - public void detailSystemList(int pageIndex,String key,PrintWriter out) { + public void detailSystemList(int pageIndex, String key, HttpSession session, PrintWriter out) { pageIndex = pageIndex <= 0 ? 1 : pageIndex; - List<DetailSystem> list = systemService.getDetailSystemList(key, pageIndex); - long count = systemService.getDetailSystemListCount(key); + List<DetailSystem> list = systemService.getDetailSystemList(key, SystemUtil.getAdminSelectedSystem(session).getId(), pageIndex); + long count = systemService.getDetailSystemListCount(key,SystemUtil.getAdminSelectedSystem(session).getId()); PageEntity pe = new PageEntity(); pe.setPageIndex(pageIndex); pe.setPageSize(Constant.pageCount); -- Gitblit v1.8.0