首页>代码>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);
}
}
最近下载更多
vincemokea LV9
5月6日
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日
最近浏览更多
dddding yang LV6
9月15日
lee123321 LV22
7月29日
xiaomao111
6月21日
暂无贡献等级
微信网友_7559554987823104
6月18日
暂无贡献等级
vincemokea LV9
5月6日
ClintClint LV1
3月31日
PLVAE_514 LV2
3月7日
暂无贡献等级
zhoubowen LV3
2024年12月29日
qzz999 LV1
2024年7月3日

