瀏覽代碼

git-svn-id: https://192.168.57.71/svn/jsgkj@1447 931142cf-59ea-a443-aa0e-51397b428577

ld_guxl 8 年之前
父節點
當前提交
1a7b59cdf6
共有 1 個文件被更改,包括 21 次插入7 次删除
  1. 21 7
      gkjsjy/trunk/src/com/xt/jygl/sys/ctl/MainCtl.java

+ 21 - 7
gkjsjy/trunk/src/com/xt/jygl/sys/ctl/MainCtl.java

@@ -628,7 +628,9 @@ public class MainCtl extends BaseWebCtl {
 			list = jsjdcbsjdsService.findByJyrids(getSsjyr().getId());
 		} else {
 			List<String> gqlist = (List<String>) Utils.getSession().getAttribute("gqList");
-			list = jsjdcbsjdsService.findByGqids(gqlist);
+			if (gqlist != null && gqlist.size() > 0) {
+				list = jsjdcbsjdsService.findByGqids(gqlist);
+			}
 		}
 
 		if (list != null && list.size() > 0) {
@@ -706,7 +708,9 @@ public class MainCtl extends BaseWebCtl {
 			list = jsjdbgdsService.findByJyrids(getSsjyr().getId());
 		} else {
 			List<String> gqlist = (List<String>) Utils.getSession().getAttribute("gqList");
-			list = jsjdbgdsService.findByGqids(gqlist);
+			if (gqlist != null && gqlist.size() > 0) {
+				list = jsjdbgdsService.findByGqids(gqlist);
+			}
 		}
 
 		if (list != null && list.size() > 0) {
@@ -784,7 +788,9 @@ public class MainCtl extends BaseWebCtl {
 			list = jgsqdsService.findByJyrids(getSsjyr().getId());
 		} else {
 			List<String> gqlist = (List<String>) Utils.getSession().getAttribute("gqList");
-			list = jgsqdsService.findByGqids(gqlist);
+			if (gqlist != null && gqlist.size() > 0) {
+				list = jgsqdsService.findByGqids(gqlist);
+			}
 		}
 
 		if (list != null && list.size() > 0) {
@@ -900,7 +906,9 @@ public class MainCtl extends BaseWebCtl {
 			list = xkzsqService.findByJyrids(getSsjyr().getId());
 		} else {
 			List<String> gqlist = (List<String>) Utils.getSession().getAttribute("gqList");
-			list = xkzsqService.findByGqids(gqlist);
+			if (gqlist != null && gqlist.size() > 0) {
+				list = xkzsqService.findByGqids(gqlist);
+			}
 		}
 
 		if (list != null && list.size() > 0) {
@@ -947,7 +955,9 @@ public class MainCtl extends BaseWebCtl {
 			list = xkzbgService.findByJyrids(getSsjyr().getId());
 		} else {
 			List<String> gqlist = (List<String>) Utils.getSession().getAttribute("gqList");
-			list = xkzbgService.findByGqids(gqlist);
+			if (gqlist != null && gqlist.size() > 0) {
+				list = xkzbgService.findByGqids(gqlist);
+			}
 		}
 		if (list != null && list.size() > 0) {
 			for (Object id : list) {
@@ -992,7 +1002,9 @@ public class MainCtl extends BaseWebCtl {
 			list = xkzyxService.findByJyrids(getSsjyr().getId());
 		} else {
 			List<String> gqlist = (List<String>) Utils.getSession().getAttribute("gqList");
-			list = xkzyxService.findByGqids(gqlist);
+			if (gqlist != null && gqlist.size() > 0) {
+				list = xkzyxService.findByGqids(gqlist);
+			}
 		}
 		if (list != null && list.size() > 0) {
 			for (Object id : list) {
@@ -1038,7 +1050,9 @@ public class MainCtl extends BaseWebCtl {
 			list = xkzzxService.findByJyrids(getSsjyr().getId());
 		} else {
 			List<String> gqlist = (List<String>) Utils.getSession().getAttribute("gqList");
-			list = xkzzxService.findByGqids(gqlist);
+			if (gqlist != null && gqlist.size() > 0) {
+				list = xkzzxService.findByGqids(gqlist);
+			}
 		}
 		if (list != null && list.size() > 0) {
 			for (Object id : list) {