// Path: shiziqiu-configuration-console/src/main/java/com/shiziqiu/configuration/console/dao/ShiZiQiuConfNodeDao.java
// public interface ShiZiQiuConfNodeDao {
// 
// 	public List<ShiZiQiuConfNode> pageList(int offset, int pagesize, String nodeGroup, String nodeKey);
// 	
// 	public int pageListCount(int offset, int pagesize, String nodeGroup, String nodeKey);
// 
// 	public int deleteByKey(String nodeGroup, String nodeKey);
// 
// 	public void insert(ShiZiQiuConfNode xxlConfNode);
// 
// 	public ShiZiQiuConfNode selectByKey(String nodeGroup, String nodeKey);
// 
// 	public int update(ShiZiQiuConfNode xxlConfNode);
// }
// 
// Path: shiziqiu-configuration-console/src/main/java/com/shiziqiu/configuration/console/model/ShiZiQiuConfNode.java
// public class ShiZiQiuConfNode implements Serializable{
// 
// 	/**
// 	 * 
// 	 */
// 	private static final long serialVersionUID = 132434523L;
// 	
// 	private String nodeGroup;
// 	private String nodeKey;
// 	private String nodeValue;
// 	private String nodeDesc;
// 
// 	private String groupKey;
// 	private String nodeValueReal;
// 	
// 	public ShiZiQiuConfNode() {
// 		super();
// 	}
// 	
// 	public ShiZiQiuConfNode(String nodeGroup, String nodeKey, String nodeValue,
// 			String nodeDesc, String groupKey, String nodeValueReal) {
// 		super();
// 		this.nodeGroup = nodeGroup;
// 		this.nodeKey = nodeKey;
// 		this.nodeValue = nodeValue;
// 		this.nodeDesc = nodeDesc;
// 		this.groupKey = groupKey;
// 		this.nodeValueReal = nodeValueReal;
// 	}
// 
// 	public String getNodeGroup() {
// 		return nodeGroup;
// 	}
// 	public void setNodeGroup(String nodeGroup) {
// 		this.nodeGroup = nodeGroup;
// 	}
// 	public String getNodeKey() {
// 		return nodeKey;
// 	}
// 	public void setNodeKey(String nodeKey) {
// 		this.nodeKey = nodeKey;
// 	}
// 	public String getNodeValue() {
// 		return nodeValue;
// 	}
// 	public void setNodeValue(String nodeValue) {
// 		this.nodeValue = nodeValue;
// 	}
// 	public String getNodeDesc() {
// 		return nodeDesc;
// 	}
// 	public void setNodeDesc(String nodeDesc) {
// 		this.nodeDesc = nodeDesc;
// 	}
// 	public String getGroupKey() {
// 		return ShiZiQiuZkConfClient.generateGroupKey(nodeGroup, nodeKey);
// 	}
// 	public void setGroupKey(String groupKey) {
// 		this.groupKey = groupKey;
// 	}
// 	public String getNodeValueReal() {
// 		return nodeValueReal;
// 	}
// 	public void setNodeValueReal(String nodeValueReal) {
// 		this.nodeValueReal = nodeValueReal;
// 	}
// 	
// }


import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import com.shiziqiu.configuration.console.dao.ShiZiQiuConfNodeDao;
import com.shiziqiu.configuration.console.model.ShiZiQiuConfNode;
		params.put("nodeGroup", nodeGroup);
		params.put("nodeKey", nodeKey);
		return sqlSessionTemplate.selectList("ShiZiQiuConfNodeMapper.pageList", params);
	}

	@Override
	public int pageListCount(int offset, int pagesize, String nodeGroup,
			String nodeKey) {
		Map<String, Object> params = new HashMap<String, Object>();
		params.put("offset", offset);
		params.put("pagesize", pagesize);
		params.put("nodeGroup", nodeGroup);
		params.put("nodeKey", nodeKey);
		return sqlSessionTemplate.selectOne("ShiZiQiuConfNodeMapper.pageListCount", params);
	}

	@Override
	public int deleteByKey(String nodeGroup, String nodeKey) {
		Map<String, Object> params = new HashMap<String, Object>();
		params.put("nodeGroup", nodeGroup);
		params.put("nodeKey", nodeKey);
		return sqlSessionTemplate.delete("ShiZiQiuConfNodeMapper.deleteByKey", params);
	}

	@Override
	public void insert(ShiZiQiuConfNode xxlConfNode) {
		sqlSessionTemplate.insert("ShiZiQiuConfNodeMapper.insert", xxlConfNode);
	}

	@Override
// Path: shiziqiu-configuration-console/src/main/java/com/shiziqiu/configuration/console/dao/ShiZiQiuConfNodeDao.java
// public interface ShiZiQiuConfNodeDao {
// 
// 	public List<ShiZiQiuConfNode> pageList(int offset, int pagesize, String nodeGroup, String nodeKey);
// 	
// 	public int pageListCount(int offset, int pagesize, String nodeGroup, String nodeKey);
// 
// 	public int deleteByKey(String nodeGroup, String nodeKey);
// 
// 	public void insert(ShiZiQiuConfNode xxlConfNode);
// 
// 	public ShiZiQiuConfNode selectByKey(String nodeGroup, String nodeKey);
// 
// 	public int update(ShiZiQiuConfNode xxlConfNode);
// }
// 
// Path: shiziqiu-configuration-console/src/main/java/com/shiziqiu/configuration/console/model/ShiZiQiuConfNode.java
// public class ShiZiQiuConfNode implements Serializable{
// 
// 	/**
// 	 * 
// 	 */
// 	private static final long serialVersionUID = 132434523L;
// 	
// 	private String nodeGroup;
// 	private String nodeKey;
// 	private String nodeValue;
// 	private String nodeDesc;
// 
// 	private String groupKey;
// 	private String nodeValueReal;
// 	
// 	public ShiZiQiuConfNode() {
// 		super();
// 	}
// 	
// 	public ShiZiQiuConfNode(String nodeGroup, String nodeKey, String nodeValue,
// 			String nodeDesc, String groupKey, String nodeValueReal) {
// 		super();
// 		this.nodeGroup = nodeGroup;
// 		this.nodeKey = nodeKey;
// 		this.nodeValue = nodeValue;
// 		this.nodeDesc = nodeDesc;
// 		this.groupKey = groupKey;
// 		this.nodeValueReal = nodeValueReal;
// 	}
// 
// 	public String getNodeGroup() {
// 		return nodeGroup;
// 	}
// 	public void setNodeGroup(String nodeGroup) {
// 		this.nodeGroup = nodeGroup;
// 	}
// 	public String getNodeKey() {
// 		return nodeKey;
// 	}
// 	public void setNodeKey(String nodeKey) {
// 		this.nodeKey = nodeKey;
// 	}
// 	public String getNodeValue() {
// 		return nodeValue;
// 	}
// 	public void setNodeValue(String nodeValue) {
// 		this.nodeValue = nodeValue;
// 	}
// 	public String getNodeDesc() {
// 		return nodeDesc;
// 	}
// 	public void setNodeDesc(String nodeDesc) {
// 		this.nodeDesc = nodeDesc;
// 	}
// 	public String getGroupKey() {
// 		return ShiZiQiuZkConfClient.generateGroupKey(nodeGroup, nodeKey);
// 	}
// 	public void setGroupKey(String groupKey) {
// 		this.groupKey = groupKey;
// 	}
// 	public String getNodeValueReal() {
// 		return nodeValueReal;
// 	}
// 	public void setNodeValueReal(String nodeValueReal) {
// 		this.nodeValueReal = nodeValueReal;
// 	}
// 	
// }


// Path: shiziqiu-configuration-console/src/main/java/com/shiziqiu/configuration/console/dao/impl/ShiZiQiuConfNodeDaoImpl.java
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import com.shiziqiu.configuration.console.dao.ShiZiQiuConfNodeDao;
import com.shiziqiu.configuration.console.model.ShiZiQiuConfNode;

		params.put("nodeGroup", nodeGroup);
		params.put("nodeKey", nodeKey);
		return sqlSessionTemplate.selectList("ShiZiQiuConfNodeMapper.pageList", params);
	}

	@Override
	public int pageListCount(int offset, int pagesize, String nodeGroup,
			String nodeKey) {
		Map<String, Object> params = new HashMap<String, Object>();
		params.put("offset", offset);
		params.put("pagesize", pagesize);
		params.put("nodeGroup", nodeGroup);
		params.put("nodeKey", nodeKey);
		return sqlSessionTemplate.selectOne("ShiZiQiuConfNodeMapper.pageListCount", params);
	}

	@Override
	public int deleteByKey(String nodeGroup, String nodeKey) {
		Map<String, Object> params = new HashMap<String, Object>();
		params.put("nodeGroup", nodeGroup);
		params.put("nodeKey", nodeKey);
		return sqlSessionTemplate.delete("ShiZiQiuConfNodeMapper.deleteByKey", params);
	}

	@Override
	public void insert(ShiZiQiuConfNode xxlConfNode) {
		sqlSessionTemplate.insert("ShiZiQiuConfNodeMapper.insert", xxlConfNode);
	}

	@Override
	public ShiZiQiuConfNode selectByKey(String nodeGroup, String nodeKey) {