package com.campus.mapper; import com.campus.domain.Goods; import com.campus.domain.User; import java.util.List; public interface CampusMapper { List userLogin(User user);//登录 Boolean newUser(User user); //注册 Boolean userUpdate(User user); //更新密码 Boolean goodsInter(Goods goods);//插入新记录 Boolean goodsUpdate(Goods goods);//更新记录 Boolean goodsDelete(Goods goods);//删除记录 List goodsSelect(Goods goods);//搜索 }