Browse Source

git-svn-id: https://192.168.57.71/svn/lyggkj@116 1a6f6e3a-4066-fe46-b609-79c204482ece

ld_liufl 8 years ago
parent
commit
c373195032

+ 118 - 0
gkaq/yjpt-java/trunk/java_src/com/jtgh/yjpt/entity/zysqbp/ZysqbpStatisticsEntity.java

@@ -0,0 +1,118 @@
+package com.jtgh.yjpt.entity.zysqbp;
+
+import java.util.List;
+
+public class ZysqbpStatisticsEntity {
+	/**
+	 * 年度
+	 */
+	private List<ZysqbpCountEntity>  ndcountList;
+	/**
+	 * 年度第一季度 
+	 */
+	private List<ZysqbpCountEntity>  countList1;
+	/**
+	 * 年度第二季度 
+	 */
+	private List<ZysqbpCountEntity>  countList2;
+	/**
+	 * 年度第三季度 
+	 */
+	private List<ZysqbpCountEntity>  countList3;
+	/**
+	 * 年度第四季度 
+	 */
+	private List<ZysqbpCountEntity>  countList4;
+	/**
+	 * 季度
+	 */
+	private List<ZysqbpCountEntity>  jdcountList;
+	/**
+	 * 季度第一月份
+	 */
+	private List<ZysqbpCountEntity>  countList5;
+	/**
+	 * 季度第二月份
+	 */
+	private List<ZysqbpCountEntity>  countList6;
+	/**
+	 * 季度第三月份
+	 */
+	private List<ZysqbpCountEntity>  countList7;
+	/**
+	 * 一般
+	 */
+	private List<ZysqbpCountEntity>  ydcountList;
+	/**
+	 * 企业
+	 */
+	private List<ZysqbpCountEntity>  countList8;
+	
+	public List<ZysqbpCountEntity> getNdcountList() {
+		return ndcountList;
+	}
+	public void setNdcountList(List<ZysqbpCountEntity> ndcountList) {
+		this.ndcountList = ndcountList;
+	}
+	public List<ZysqbpCountEntity> getCountList1() {
+		return countList1;
+	}
+	public void setCountList1(List<ZysqbpCountEntity> countList1) {
+		this.countList1 = countList1;
+	}
+	public List<ZysqbpCountEntity> getCountList2() {
+		return countList2;
+	}
+	public void setCountList2(List<ZysqbpCountEntity> countList2) {
+		this.countList2 = countList2;
+	}
+	public List<ZysqbpCountEntity> getCountList3() {
+		return countList3;
+	}
+	public void setCountList3(List<ZysqbpCountEntity> countList3) {
+		this.countList3 = countList3;
+	}
+	public List<ZysqbpCountEntity> getCountList4() {
+		return countList4;
+	}
+	public void setCountList4(List<ZysqbpCountEntity> countList4) {
+		this.countList4 = countList4;
+	}
+	public List<ZysqbpCountEntity> getJdcountList() {
+		return jdcountList;
+	}
+	public void setJdcountList(List<ZysqbpCountEntity> jdcountList) {
+		this.jdcountList = jdcountList;
+	}
+	public List<ZysqbpCountEntity> getCountList5() {
+		return countList5;
+	}
+	public void setCountList5(List<ZysqbpCountEntity> countList5) {
+		this.countList5 = countList5;
+	}
+	public List<ZysqbpCountEntity> getCountList7() {
+		return countList7;
+	}
+	public void setCountList7(List<ZysqbpCountEntity> countList7) {
+		this.countList7 = countList7;
+	}
+	public List<ZysqbpCountEntity> getCountList6() {
+		return countList6;
+	}
+	public void setCountList6(List<ZysqbpCountEntity> countList6) {
+		this.countList6 = countList6;
+	}
+	public List<ZysqbpCountEntity> getYdcountList() {
+		return ydcountList;
+	}
+	public void setYdcountList(List<ZysqbpCountEntity> ydcountList) {
+		this.ydcountList = ydcountList;
+	}
+	public List<ZysqbpCountEntity> getCountList8() {
+		return countList8;
+	}
+	public void setCountList8(List<ZysqbpCountEntity> countList8) {
+		this.countList8 = countList8;
+	}
+
+}

+ 211 - 22
gkaq/yjpt-java/trunk/java_src/com/jtgh/yjpt/webService/bagl/BaglWebService.java

@@ -15,6 +15,7 @@ import org.springframework.stereotype.Service;
 import org.springframework.util.CollectionUtils;
 
 import com.jtgh.yjpt.common.Constants;
+import com.jtgh.yjpt.common.GlobalData;
 import com.jtgh.yjpt.common.Logable;
 import com.jtgh.yjpt.common.PredicateModel;
 import com.jtgh.yjpt.common.PredicateModel.Operator;
@@ -23,12 +24,14 @@ import com.jtgh.yjpt.common.SpecificationCreater;
 import com.jtgh.yjpt.common.Utils;
 import com.jtgh.yjpt.controller.BaseController;
 import com.jtgh.yjpt.controller.bagl.aqpjbgjzgfalsba.AqpjbgjzgfalsbaController;
+import com.jtgh.yjpt.controller.bagl.aqpjjgba.AqpjjgbaController;
 import com.jtgh.yjpt.controller.bagl.jdhxpandzdwxyba.JdhxpZdwxyBadjController;
 import com.jtgh.yjpt.controller.bagl.yjyaba.YjyabaController;
 import com.jtgh.yjpt.controller.bagl.zdsgdyhpchzlqkba.ZdsgdyhpchzlqkbaController;
 import com.jtgh.yjpt.entity.BaseEntity;
 import com.jtgh.yjpt.entity.auth.UserEntity;
 import com.jtgh.yjpt.entity.bagl.aqpjbgjzgfalsba.AqpjbgjzgfalsbaEntity;
+import com.jtgh.yjpt.entity.bagl.aqpjjgba.AqpjjgbaEntity;
 import com.jtgh.yjpt.entity.bagl.jdhxpandzdwxyba.GqnwxydjbabEntity;
 import com.jtgh.yjpt.entity.bagl.jdhxpandzdwxyba.GqnwxyzlbEntity;
 import com.jtgh.yjpt.entity.bagl.jdhxpandzdwxyba.ZlbzjdhxpxxEntity;
@@ -39,6 +42,8 @@ import com.jtgh.yjpt.entity.check.ZcyhEntity;
 import com.jtgh.yjpt.entity.jyr.JyrEntity;
 import com.jtgh.yjpt.entity.yjgl.zdwxyfb.CgEntity;
 import com.jtgh.yjpt.service.bagl.aqpjbgjzgfalsba.AqpjbgjzgfalsbaService;
+import com.jtgh.yjpt.service.bagl.aqpjjgba.AqpjjgbaProService;
+import com.jtgh.yjpt.service.bagl.aqpjjgba.AqpjjgbaService;
 import com.jtgh.yjpt.service.bagl.jdhxpandzdwxyba.GqnwxydjbabFlowService;
 import com.jtgh.yjpt.service.bagl.jdhxpandzdwxyba.GqnwxydjbabService;
 import com.jtgh.yjpt.service.bagl.jdhxpandzdwxyba.GqnwxyzlbService;
@@ -95,6 +100,12 @@ public class BaglWebService extends BaseController {
 	private CgService cgService;
 	@Autowired
 	private JyrService jyrService;
+	@Autowired
+	private AqpjjgbaService aqpjjgbaService;
+	@Autowired
+	private AqpjjgbaController aqpjjgbaController;
+	@Autowired
+	private AqpjjgbaProService aqpjjgbaProService;
 
 	/**
 	 * 获取重大危险源分页列表
@@ -199,7 +210,7 @@ public class BaglWebService extends BaseController {
 			zlb.setAddUser(Utils.getWebServiceUser());
 			zlb.setRecordCode("90");
 		} else {
-			GqnwxyzlbEntity vo = zlbService.findById(entity.getId());
+			GqnwxyzlbEntity vo = zlbService.findById(zlb.getId());
 			zlb.setAddDate(vo.getAddDate());
 			zlb.setAddUser(vo.getAddUser());
 			zlb.setRecordCode(vo.getRecordCode());
@@ -228,15 +239,15 @@ public class BaglWebService extends BaseController {
 				jdhxp.setAddUser(Utils.getWebServiceUser());
 				jdhxp.setRecordCode("90");
 			} else {
-				ZlbzjdhxpxxEntity vo = jdhxpService.findById(entity.getId());
+				ZlbzjdhxpxxEntity vo = jdhxpService.findById(jdhxp.getId());
 				jdhxp.setAddDate(vo.getAddDate());
 				jdhxp.setAddUser(vo.getAddUser());
 				jdhxp.setRecordCode(vo.getRecordCode());
-				jdhxp.setRecordStatus(vo.getRecordStatus());
-				jdhxp.setSftb(vo.getSftb());
-				jdhxp.setTbzt(vo.getTbzt());
-				jdhxp.setQylb(vo.getQylb());
-				jdhxp.setTbdyid(vo.getTbdyid());
+				jdhxp.setRecordStatus(BaseEntity.RECORD_STATE_VALID);
+				// jdhxp.setSftb(vo.getSftb());
+				// jdhxp.setTbzt(vo.getTbzt());
+				// jdhxp.setQylb(vo.getQylb());
+				// jdhxp.setTbdyid(vo.getTbdyid());
 				jdhxp.setUpdateDate(new Date());
 				jdhxp.setUpdateUser(Utils.getWebServiceUser());
 			}
@@ -256,15 +267,15 @@ public class BaglWebService extends BaseController {
 				wxy.setAddUser(Utils.getWebServiceUser());
 				wxy.setRecordCode("90");
 			} else {
-				ZlbzzdwxyxxEntity vo = zdwxyService.findById(entity.getId());
+				ZlbzzdwxyxxEntity vo = zdwxyService.findById(wxy.getId());
 				wxy.setAddDate(vo.getAddDate());
 				wxy.setAddUser(vo.getAddUser());
 				wxy.setRecordCode(vo.getRecordCode());
-				wxy.setRecordStatus(vo.getRecordStatus());
-				wxy.setSftb(vo.getSftb());
-				wxy.setTbzt(vo.getTbzt());
-				wxy.setQylb(vo.getQylb());
-				wxy.setTbdyid(vo.getTbdyid());
+				wxy.setRecordStatus(BaseEntity.RECORD_STATE_VALID);
+				// wxy.setSftb(vo.getSftb());
+				// wxy.setTbzt(vo.getTbzt());
+				// wxy.setQylb(vo.getQylb());
+				// wxy.setTbdyid(vo.getTbdyid());
 				wxy.setUpdateDate(new Date());
 				wxy.setUpdateUser(Utils.getWebServiceUser());
 			}
@@ -327,7 +338,7 @@ public class BaglWebService extends BaseController {
 			zlb.setAddUser(Utils.getWebServiceUser());
 			zlb.setRecordCode("90");
 		} else {
-			GqnwxyzlbEntity vo = zlbService.findById(entity.getId());
+			GqnwxyzlbEntity vo = zlbService.findById(zlb.getId());
 			zlb.setAddDate(vo.getAddDate());
 			zlb.setAddUser(vo.getAddUser());
 			zlb.setRecordCode(vo.getRecordCode());
@@ -356,7 +367,7 @@ public class BaglWebService extends BaseController {
 				jdhxp.setAddUser(Utils.getWebServiceUser());
 				jdhxp.setRecordCode("90");
 			} else {
-				ZlbzjdhxpxxEntity vo = jdhxpService.findById(entity.getId());
+				ZlbzjdhxpxxEntity vo = jdhxpService.findById(jdhxp.getId());
 				jdhxp.setAddDate(vo.getAddDate());
 				jdhxp.setAddUser(vo.getAddUser());
 				jdhxp.setRecordCode(vo.getRecordCode());
@@ -384,7 +395,7 @@ public class BaglWebService extends BaseController {
 				wxy.setAddUser(Utils.getWebServiceUser());
 				wxy.setRecordCode("90");
 			} else {
-				ZlbzzdwxyxxEntity vo = zdwxyService.findById(entity.getId());
+				ZlbzzdwxyxxEntity vo = zdwxyService.findById(wxy.getId());
 				wxy.setAddDate(vo.getAddDate());
 				wxy.setAddUser(vo.getAddUser());
 				wxy.setRecordCode(vo.getRecordCode());
@@ -982,7 +993,7 @@ public class BaglWebService extends BaseController {
 	}
 
 	/**
-	 * 保存安全评价报告况备案记录(包含修改和新增)
+	 * 保存应急预案备案记录(包含修改和新增)
 	 * 
 	 * @param entity
 	 * @return
@@ -1012,7 +1023,7 @@ public class BaglWebService extends BaseController {
 	}
 
 	/**
-	 * 提交安全评价报告备案记录(包含修改和新增)
+	 * 提交应急预案备案记录(包含修改和新增)
 	 * 
 	 * @param entity
 	 * @return
@@ -1043,7 +1054,7 @@ public class BaglWebService extends BaseController {
 	}
 
 	/**
-	 * 审核安全评价报告备案
+	 * 审核应急预案备案
 	 * 
 	 * @param shyj
 	 * @param shsj
@@ -1064,7 +1075,7 @@ public class BaglWebService extends BaseController {
 	}
 
 	/**
-	 * 删除安全评价报告备案
+	 * 删除应急预案报告备案
 	 * 
 	 * @param id
 	 * @return
@@ -1082,7 +1093,7 @@ public class BaglWebService extends BaseController {
 	}
 
 	/**
-	 * 获取安全评价报告备案详细信息
+	 * 获取应急预案备案详细信息
 	 * 
 	 * @param id
 	 * @return
@@ -1092,7 +1103,7 @@ public class BaglWebService extends BaseController {
 	}
 
 	/**
-	 * 判断当前用户是否有重大事故备案审批权限 之判断
+	 * 判断当前用户是否有应急预案备案审批权限 之判断
 	 * 
 	 * @param id
 	 * @return 0 表示未签收,待办理,1表示已签收待办理 ,""表示 无流程
@@ -1157,4 +1168,182 @@ public class BaglWebService extends BaseController {
 		return list.getContent();
 	}
 
+	/**
+	 * 获取安全评价机构备案分页列表
+	 * 
+	 * @param jgmc
+	 * @param zzzsbh
+	 * @param jglx
+	 * @param dh
+	 * @param yxqz
+	 * @param n
+	 * @param pageCount
+	 * @return
+	 */
+	public List<AqpjjgbaEntity> getAqpjjgbaPageListByParams(String jgmc,
+			String zzzsbh, String jglx, String dh, Date yxqz, int n,
+			int pageCount) {
+		List<PredicateModel> filterList = new ArrayList<PredicateModel>();
+		yxqz = Utils.getDateLastTime(yxqz);
+		addNotEmptyModel(filterList, "jgmc", jgmc, Operator.LIKE);
+		addNotEmptyModel(filterList, "dh", dh, Operator.LIKE);
+		addNotEmptyModel(filterList, "zzzsbm", zzzsbh, Operator.LIKE);
+		addNotEmptyModel(filterList, "jglx", jglx, Operator.EQ);
+		addNotEmptyModel(filterList, "zzyxq", yxqz, Operator.LTE);
+		addNotEmptyModel(filterList, "sfqxzg", Constants.YES, Operator.NEQ);
+		// 行政人员根据权限过滤(安全评价机构备案列表菜单ID=35)
+		addRecordCodeFilter(35l, filterList);
+		SinglePageRequest pageable = new SinglePageRequest(pageCount, n,
+				"desc", "id");
+		Specification<AqpjjgbaEntity> spec = SpecificationCreater
+				.searchByPredicateModels(filterList);
+		Page<AqpjjgbaEntity> page = aqpjjgbaService.findAll(spec, pageable);
+		if (page == null || page.getTotalPages() <= pageCount) {
+			return new ArrayList<AqpjjgbaEntity>();
+		}
+		return page.getContent();
+	}
+
+	/**
+	 * 保存安全评价机构备案记录(包含修改和新增)
+	 * 
+	 * @param entity
+	 * @return
+	 */
+	public AqpjjgbaEntity saveAqpjjgba(AqpjjgbaEntity entity) {
+		// 判断该记录是否为新增
+		if (entity.getId() == null || entity.getId().equals(0l)) {
+			entity.setAddDate(new Date());
+			entity.setAddUser(Utils.getWebServiceUser());
+			entity.setRecordCode("90");
+		} else {
+			AqpjjgbaEntity vo = aqpjjgbaService.findOne(entity.getId());
+			entity.setAddDate(vo.getAddDate());
+			entity.setAddUser(vo.getAddUser());
+			entity.setRecordCode(vo.getRecordCode());
+			entity.setRecordStatus(vo.getRecordStatus());
+			entity.setSftb(vo.getSftb());
+			entity.setTbzt(vo.getTbzt());
+			entity.setQylb(vo.getQylb());
+			entity.setTbdyid(vo.getTbdyid());
+			entity.setUpdateDate(new Date());
+			entity.setUpdateUser(Utils.getWebServiceUser());
+		}
+		// 执行save方法
+		entity = aqpjjgbaService.save(entity);
+		return entity;
+	}
+
+	/**
+	 * 提交安全评价机构备案记录(包含修改和新增)
+	 * 
+	 * @param entity
+	 * @return
+	 */
+	public AqpjjgbaEntity submitAqpjjgba(AqpjjgbaEntity entity) {
+		// 判断该记录是否为新增
+		if (entity.getId() == null || entity.getId().equals(0l)) {
+			entity.setAddDate(new Date());
+			entity.setAddUser(Utils.getWebServiceUser());
+			entity.setRecordCode("90");
+		} else {
+			AqpjjgbaEntity vo = aqpjjgbaService.findOne(entity.getId());
+			entity.setAddDate(vo.getAddDate());
+			entity.setAddUser(vo.getAddUser());
+			entity.setRecordCode(vo.getRecordCode());
+			entity.setRecordStatus(vo.getRecordStatus());
+			entity.setSftb(vo.getSftb());
+			entity.setTbzt(vo.getTbzt());
+			entity.setQylb(vo.getQylb());
+			entity.setTbdyid(vo.getTbdyid());
+			entity.setUpdateDate(new Date());
+			entity.setUpdateUser(Utils.getWebServiceUser());
+		}
+		// 执行sumit方法
+		entity = aqpjjgbaService.submit(entity.getRecordCode(), entity);
+
+		return entity;
+	}
+
+	/**
+	 * 审核安全评价机构备案
+	 * 
+	 * @param shyj
+	 * @param shsj
+	 * @param data
+	 * @param flag
+	 * @return
+	 */
+	public AqpjjgbaEntity auditAqpjjgba(String shyj, Date shsj,
+			AqpjjgbaEntity data, boolean flag) {
+		data = aqpjjgbaService.findOne(data.getId());
+		aqpjjgbaController.audit(shyj, shsj, data, flag);
+		return data;
+	}
+
+	/**
+	 * 删除安全评价机构备案
+	 * 
+	 * @param id
+	 * @return
+	 */
+	public WsResult deleteAqpjjgba(AqpjjgbaEntity entity) {
+		WsResult ws = new WsResult();
+		try {
+			aqpjjgbaService.logicDelete(entity.getId());
+			ws.setResultCode(WsResult.SUCCESS);
+		} catch (Exception e) {
+			e.printStackTrace();
+			ws.setResultCode(WsResult.FAILURE);
+		}
+		return ws;
+	}
+	
+	/**
+	 * 获取安全评价报告备案详细信息
+	 * 
+	 * @param id
+	 * @return
+	 */
+	public AqpjjgbaEntity findAqpjjgbaById(Long id) {
+		return aqpjjgbaService.findOne(id);
+	}
+	
+	
+
+	/**
+	 * 判断当前用户是否有安全评价机构备案审批权限 之判断
+	 * 
+	 * @param id
+	 * @return 0 表示未签收,待办理,1表示已签收待办理 ,""表示 无流程
+	 */
+	public String getAqpjjgbaTaskStateByid(Long id) {
+		AqpjjgbaEntity ba = aqpjjgbaService.findOne(id);
+		if (ba.getRecordStatus() == BaseEntity.RECORD_STATE_SUBMIT) {// 申请对应的流程
+			if (GlobalData.DEPLOY_MODE.equals(Constants.DEPLOY_MODE_CITY)) {
+				if (aqpjjgbaService.getTaskByUserAndBusKey(Utils
+						.getWebServiceUser().getId().toString(), ba.getId()
+						.toString()) != null) {
+					return Constants.TASK_ASSIGN;
+				} else if (aqpjjgbaService.getCandidateTaskByUserAndBusKey(
+						Utils.getWebServiceUser().getId().toString(), ba
+								.getId().toString()) != null) {
+					return Constants.TASK_CANDIDATE;
+				}
+			} else if (GlobalData.DEPLOY_MODE
+					.equals(Constants.DEPLOY_MODE_PROVINCE)) {
+				if (aqpjjgbaProService.getTaskByUserAndBusKey(Utils
+						.getWebServiceUser().getId().toString(), ba.getId()
+						.toString()) != null) {
+					return Constants.TASK_ASSIGN;
+				} else if (aqpjjgbaProService.getCandidateTaskByUserAndBusKey(
+						Utils.getWebServiceUser().getId().toString(), ba
+								.getId().toString()) != null) {
+					return Constants.TASK_CANDIDATE;
+				}
+			}
+		}
+		return "";
+	}
+
 }

+ 87 - 0
gkaq/yjpt-java/trunk/java_src/com/jtgh/yjpt/webService/zysqbp/WhsqbpWebService.java

@@ -21,6 +21,7 @@ import org.springframework.stereotype.Service;
 import org.springframework.util.StringUtils;
 
 import com.jtgh.yjpt.client.zysqbp.ZysqbpWebService;
+import com.jtgh.yjpt.common.BusinessContext;
 import com.jtgh.yjpt.common.Constants;
 import com.jtgh.yjpt.common.GlobalData;
 import com.jtgh.yjpt.common.PredicateModel;
@@ -41,7 +42,9 @@ import com.jtgh.yjpt.entity.jyr.JyrNsEntity;
 import com.jtgh.yjpt.entity.jyr.WxhwpmEntity;
 import com.jtgh.yjpt.entity.zyfzndjy.GkwxhwzyfzblFzEntity;
 import com.jtgh.yjpt.entity.zysqbp.ZysqbpBgEntity;
+import com.jtgh.yjpt.entity.zysqbp.ZysqbpCountEntity;
 import com.jtgh.yjpt.entity.zysqbp.ZysqbpEntity;
+import com.jtgh.yjpt.entity.zysqbp.ZysqbpStatisticsEntity;
 import com.jtgh.yjpt.service.hs.CbService;
 import com.jtgh.yjpt.service.hs.HsCompareService;
 import com.jtgh.yjpt.service.jyr.BwService;
@@ -993,4 +996,88 @@ public class WhsqbpWebService extends BaseController {
 		}
 		return list.getContent();
 	}
+	
+	/**
+	 * 吞吐量 统计
+	 * @param szd
+	 * @param ndName
+	 * @param jdName
+	 * @param qymcName
+	 * @param hzName
+	 * @param mtbwName
+	 * @param bgsj1
+	 * @param bgsj2
+	 * @param kgsj1
+	 * @param kgsj2
+	 * @param wgsj1
+	 * @param wgsj2
+	 * @return
+	 */
+	@SuppressWarnings("unchecked")
+	public ZysqbpStatisticsEntity countEvent(Long szd, int ndName, int jdName,
+			Long qymcName, String hzName, Long mtbwName, Date bgsj1,
+			Date bgsj2, Date kgsj1, Date kgsj2, Date wgsj1, Date wgsj2) {
+		ZysqbpStatisticsEntity statisticsEntity = new ZysqbpStatisticsEntity();
+		BusinessContext bc = new BusinessContext();
+		if (qymcName == 0) {
+			if (szd == null || szd.equals(Constants.SZD_ID_PROVINCE))
+				bc = zysqbpService.getForSeasonList(0l, ndName, jdName, bgsj1,
+						bgsj2, kgsj1, kgsj2, wgsj1, wgsj2, hzName, true);
+			else {
+				bc = zysqbpService.getForSeasonList(szd, ndName,
+						jdName, bgsj1, bgsj2, kgsj1, kgsj2, wgsj1, wgsj2,
+						hzName, true);
+			}
+		} else if (qymcName != 0) {
+			bc.setAttribute("countList8", zysqbpService.findJyrBwAndHwList(
+					ndName, jdName, bgsj1, bgsj2, kgsj1, kgsj2, wgsj1, wgsj2,
+					qymcName, hzName, mtbwName, true));		
+		}
+		//年度
+		if(bc.getAttribute("ndcountList")!=null){
+			statisticsEntity.setNdcountList((List<ZysqbpCountEntity>) bc.getAttribute("ndcountList"));
+		}
+		//一季度
+		if(bc.getAttribute("countList1")!=null){
+			statisticsEntity.setNdcountList((List<ZysqbpCountEntity>) bc.getAttribute("countList1"));
+		}
+		//二季度
+		if(bc.getAttribute("countList2")!=null){
+			statisticsEntity.setNdcountList((List<ZysqbpCountEntity>) bc.getAttribute("countList2"));
+		}
+		//三季度
+		if(bc.getAttribute("countList3")!=null){
+			statisticsEntity.setNdcountList((List<ZysqbpCountEntity>) bc.getAttribute("countList3"));
+		}
+		//四季度
+		if(bc.getAttribute("countList4")!=null){
+			statisticsEntity.setNdcountList((List<ZysqbpCountEntity>) bc.getAttribute("countList4"));
+		}
+		//季度
+		if(bc.getAttribute("jdcountList")!=null){
+			statisticsEntity.setNdcountList((List<ZysqbpCountEntity>) bc.getAttribute("jdcountList"));
+		}
+		//第一个月
+		if(bc.getAttribute("countList5")!=null){
+			statisticsEntity.setNdcountList((List<ZysqbpCountEntity>) bc.getAttribute("countList5"));
+		}
+		//第二个月
+		if(bc.getAttribute("countList6")!=null){
+			statisticsEntity.setNdcountList((List<ZysqbpCountEntity>) bc.getAttribute("countList6"));
+		}
+		//第三个月
+		if(bc.getAttribute("countList7")!=null){
+			statisticsEntity.setNdcountList((List<ZysqbpCountEntity>) bc.getAttribute("countList7"));
+		}
+		//总
+		if(bc.getAttribute("ydcountList")!=null){
+			statisticsEntity.setNdcountList((List<ZysqbpCountEntity>) bc.getAttribute("ydcountList"));
+		}
+		//企业
+		if(bc.getAttribute("countList8")!=null){
+			statisticsEntity.setNdcountList((List<ZysqbpCountEntity>) bc.getAttribute("countList8"));
+		}
+		return statisticsEntity;	
+	}
+	
 }