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);