⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setsurveychildcountimpl.java

📁 简单的网上调查系统。采用Spring+Hibernate方式设计架构。
💻 JAVA
字号:
package com.mySurvey.domain.impl;

import com.mySurvey.bean.SurveyChildCount;
import com.mySurvey.dao.SurveyChildCountDAO;
import com.mySurvey.domain.SetSurveyChildCount;

public class SetSurveyChildCountImpl implements SetSurveyChildCount {
	private String msg;
	private SurveyChildCountDAO surveyChildCountDao;
	//查询调查结果
	public SurveyChildCount querySurveyChildCount(SurveyChildCount surveyChildCount) {
		return surveyChildCountDao.query(surveyChildCount);
	}
	//删除调查结果
	public void deleteSurveyChildCount(SurveyChildCount surveyChildCount) {
		surveyChildCountDao.delete(surveyChildCount);
	}
	//获取统计信息
	public String getMsg() {
		return msg;
	}
	//新增调查结果
	public void insertSurveyChildCount(SurveyChildCount surveyChildCount) {
		surveyChildCountDao.insert(surveyChildCount);
	}
	//修改调查结果
	public void updateSurveyChildCount(SurveyChildCount surveyChildCount) {
		surveyChildCountDao.update(surveyChildCount);
		msg = "统计成功";
	}
	/**返回surveyChildCountDao
	 */
	public SurveyChildCountDAO getSurveyChildCountDao() {
		return surveyChildCountDao;
	}
	/**设定surveyChildCountDao
	 */
	public void setSurveyChildCountDao(SurveyChildCountDAO surveyChildCountDao) {
		this.surveyChildCountDao = surveyChildCountDao;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -