This commit is contained in:
parent
c8364ded14
commit
ecb40d5513
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
Loading…
Reference in New Issue