package com.itwyc.forum.mapper; import java.util.ArrayList; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import com.itwyc.forum.pojo.Answer; @Repository public interface AnswerMapper { //回答问题的答案放入数据库 void insertAnswer(@Param("question") String question,@Param("answer") String answer); //遍历问题的所有答案 ArrayList<Answer> showAnswer(String topic); //遍历所有问题和答案 ArrayList<Answer> getAllAnswer(); //删除问题和答案 void delQuestionAndAnswer(int id); }
最近下载更多
的还是看哈 LV3
2023年11月6日
molu123456
2023年10月16日
暂无贡献等级
tatakai LV2
2023年3月22日
ProsperKing LV4
2023年2月20日
hqy966 LV5
2022年7月5日
wanglinddad LV54
2022年4月3日
a318888331 LV13
2022年3月24日
379131419 LV11
2021年12月14日
18219194576 LV7
2021年11月24日
王德彪 LV1
2021年10月8日