首页>代码>spring+spring mvc+mybatis+ajax+jquery实现简单的问答系统>/problem/src/com/hfxt/biz/impl/QuestionsBizImpl.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.QuestionsBiz;
import com.hfxt.dao.QuestionsDao;
import com.hfxt.entity.Answers;
import com.hfxt.entity.Questions;

@Service("QuestionsBizImpl")
public class QuestionsBizImpl  implements QuestionsBiz{

	@Autowired
	private QuestionsDao qDao;

	public List<Questions> getPagerQuestions(Questions questions,
			Integer pageIndex, Integer pageSize) {
		// TODO Auto-generated method stub
		return qDao.getPagerQuestions(questions, pageIndex, pageSize);
	}

	public int getCount() {
		// TODO Auto-generated method stub
		return qDao.getCount();
	}

	public Questions getQuestionsById(Integer id) {
		// TODO Auto-generated method stub
		return qDao.getQuestionsById(id);
	}

	public int addQuestions(Questions questions) {
		// TODO Auto-generated method stub
		return qDao.addQuestions(questions);
	}
}
最近下载更多
xmx123  LV5 8月22日
6389181  LV7 6月1日
lbsers  LV3 5月31日
ssh123  LV10 4月18日
李亮  LV19 3月5日
zzzzzz1255  LV1 2022年12月16日
001128wxw  LV3 2022年12月15日
renyuan  LV9 2022年12月11日
zxc131313  LV11 2022年12月9日
最近浏览更多
wspcyhy  LV1 9月26日
小妹妹  LV5 9月20日
shuangfu  LV13 9月12日
xmx123  LV5 8月22日
uni-code_0123  LV1 8月4日
你爹正在加载中  LV4 8月3日
1289755  LV2 7月29日
philwan  LV2 7月18日
fuyouou  LV5 7月5日
hhvivi  LV2 7月2日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友