首页>代码>spring+spring mvc+mybatis+ajax+jquery实现简单的问答系统>/problem/src/com/hfxt/biz/impl/AnswersBizImpl.java
package com.hfxt.biz.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hfxt.biz.AnswersBiz;
import com.hfxt.dao.AnswersDao;
import com.hfxt.entity.Answers;

@Service("AnswersBizImpl")
public class AnswersBizImpl implements AnswersBiz {

	@Autowired
	private AnswersDao aDao;

	public int addAnswers(Answers answers) {
		// TODO Auto-generated method stub
		return aDao.addAnswers(answers);
	}

	public List<Answers> getAnswersByQid(Integer qid) {
		// TODO Auto-generated method stub
		return aDao.getAnswersByQid(qid);
	}

	public int getAnsCountByQid(Integer qid) {
		// TODO Auto-generated method stub
		return aDao.getAnsCountByQid(qid);
	}
}
最近下载更多
qzz999  LV1 2024年7月3日
我要敲代码啊  LV1 2024年7月3日
happySuperman  LV2 2024年6月4日
xmx123  LV5 2023年8月22日
6389181  LV7 2023年6月1日
lbsers  LV5 2023年5月31日
ssh123  LV10 2023年4月18日
微信网友_6409795458142208  LV1 2023年3月29日
李亮  LV19 2023年3月5日
zzzzzz1255  LV1 2022年12月16日
最近浏览更多
ClintClint  LV1 3月31日
PLVAE_514  LV2 3月7日
暂无贡献等级
zhoubowen  LV3 2024年12月29日
qzz999  LV1 2024年7月3日
我要敲代码啊  LV1 2024年7月3日
云梦烟岚 2024年6月6日
暂无贡献等级
happySuperman  LV2 2024年6月4日
yxzzxy  LV3 2024年2月18日
1222222222222222222  LV2 2023年12月17日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友