首页>代码>ssm框架整合bootstrap开发图书馆图书预约管理系统>/BookAppointment/src/main/java/com/szu/appoint/dao/AppointmentDao.java
package com.szu.appoint.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.szu.appoint.entiy.Appointment; 

public interface AppointmentDao {
	//通过图书ID和学生ID预约书籍,并插入
	int insertAppointment(@Param("bookId") long bookId, @Param("studentId") long studentId);
	 
	//通过一个学生ID查询已经预约了哪些书。
	List<Appointment> quaryAndReturn(long studentId);
	
	int Delete_appointment(@Param("studentId")long studentId,@Param("bookId") long bookId);
//	//查询所有已经预约书籍,暂时不开发管理员界面
//	List<Appointment> queryAll(@Param("offset") int offset,@Param("limit") int limit);
}
最近下载更多
krispeng  LV15 6月4日
小猪?  LV3 2024年5月27日
吞吞吐吐她  LV6 2024年4月21日
敏哥gege  LV43 2024年1月11日
lyq6666666  LV5 2023年10月25日
jiangandchen  LV5 2023年5月7日
陈跃阳  LV7 2022年12月21日
qqttuu  LV3 2022年12月21日
taoshen95  LV16 2022年12月10日
微信网友_6248713511227392  LV11 2022年12月5日
最近浏览更多
huyuxin  LV4 8月11日
甜心冰淇淋  LV4 6月24日
XD_futura 5月13日
暂无贡献等级
阿尔法谦 4月23日
暂无贡献等级
987654321666 3月7日
暂无贡献等级
krispeng  LV15 2024年8月25日
hmf1989 2024年8月23日
暂无贡献等级
smile殇佯  LV18 2024年7月3日
dnuygwqudyg 2024年6月28日
暂无贡献等级
李朝磊  LV18 2024年6月17日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友