private int subInputComment(ArrayList<PageAllParam> pageAllParams, String website){
		commentFilePath=AnalysisTxt.regexPropertites.getProperty("sourcePath");
		System.out.println(website);
		commentFilePath=commentFilePath+"/"+website.replaceAll(".*-", "")+"/"+website.replaceAll("-.*", "");
		System.out.println(commentFilePath);
		website=website.replaceAll("-.*", "");
		sqlOperation.openConn(); //打开连接
		int websiteID=sqlOperation.getWebsiteIDByName(website.replaceAll("-.*", ""));
		if (websiteID==0) {
			return 0;
		}
		for (PageAllParam pageAllParam : pageAllParams) {
			URL=pageAllParam.getURL();
			MD5=pageAllParam.getMD5();
			ID=sqlOperation.getProductIDByURL(URL, website);
			if (ID!=null) {
				commentPath=commentFilePath+"/"+MD5+"/comments";
				ArrayList<CommentInfo> arrayList=analysisTxt.getCommentTxt(commentContent.getTxtContent(new File(commentPath)));
				if (arrayList.size()==0) {
					continue;
				}else {
					int commentCount=0;
					int commentID=0;
					commentCount=sqlOperation.getCommentIDCount(ID[0]);
					CommentUser user=null;
					ArrayList<BatchBean> batchBeans=new ArrayList<BatchBean>();
					for (CommentInfo commentInfo : arrayList) {
						ArrayList<ReplayList> replayLists=commentInfo.getReplyList();
						commentCount++;
						user=commentInfo.getUser();
						batchBeans.add(new BatchBean(ID[0], ID[2], ID[1], ID[3], websiteID, commentCount, commentInfo.getAdvantage(), commentInfo.getBuyTime(), commentInfo.getContent(),
								commentInfo.getDisadvantage(), commentInfo.getOpposeNum(), commentInfo.getPublishTime(), commentInfo.getReplyList().toString()
								, commentInfo.getService(), commentInfo.getSummary(), commentInfo.getSupportNum(), commentInfo.getTitle(), user.getName(), 
								commentInfo.getUserRank(), user.getAdress(), user.getGrade(), user.getIp(), user.getRegisterTime()));
						if (replayLists.size()!=0) {
							sqlOperation.setCommentIDBatch(batchBeans);
							batchBeans.clear();
						//	commentID=sqlOperation.getCommentID(ID[0], commentCount);
							if (commentID!=0) {
						//		inputReply(commentInfo.getReplyList(), commentID);
							}
						}
					}
					sqlOperation.setCommentIDBatch(batchBeans);
					System.out.println("当前评论文件结束……");
				}
			}
		}
		sqlOperation.closeConn(); //关闭连接
		return 1;
	}