首页>代码>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 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日
001128wxw  LV3 2022年12月15日
renyuan  LV9 2022年12月11日
zxc131313  LV12 2022年12月9日
最近浏览更多
yxzzxy  LV3 2月18日
1222222222222222222  LV2 2023年12月17日
帅涵123456  LV2 2023年11月6日
随手一个用户名  LV1 2023年10月13日
暂无贡献等级
wspcyhy  LV1 2023年9月26日
小妹妹  LV7 2023年9月20日
shuangfu  LV24 2023年9月12日
xmx123  LV5 2023年8月22日
uni-code_0123  LV1 2023年8月4日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友