This commit is contained in:
morta 2024-10-10 15:00:51 +08:00
parent c8364ded14
commit ecb40d5513
3 changed files with 0 additions and 45 deletions

View File

@ -1,12 +0,0 @@
package com.hnucm.springboot.springboot1.dao;
import com.hnucm.springboot.springboot1.model.Orders;
import com.hnucm.springboot.springboot1.model.StuCard;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper
public interface OrdersMapper {
public List<Orders> findOrdersByPersonId(int personId);
}

View File

@ -1,16 +0,0 @@
package com.hnucm.springboot.springboot1.dao;
import com.hnucm.springboot.springboot1.model.Person;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper
public interface PersonMapper {
public List<Person> getAllPersonStuCard();
public List<Person> getAllPerson();
//int 表示增加的条数
public int addPerson(Person person);
public int deletePerson(int id);
public int updatePerson(Person person);
}

View File

@ -1,17 +0,0 @@
package com.hnucm.springboot.springboot1.dao;
import com.hnucm.springboot.springboot1.model.Person;
import com.hnucm.springboot.springboot1.model.StuCard;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper
public interface StuCardMapper {
//根据学生证的主键查询对应的学生证信息
public StuCard getStuCardById(int id);
//增加成功的条数
public int addStuCard(StuCard stuCard);
// 删除学生卡 根据id
public int deleteStuCard(int id);
}