第六次课
This commit is contained in:
parent
f677bdc28b
commit
55770da987
|
@ -0,0 +1,12 @@
|
||||||
|
package com.raohanghui.springboot.springboot.service.impl;
|
||||||
|
|
||||||
|
import com.raohanghui.springboot.springboot.dao.IdcardMapper;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
|
||||||
|
public interface IdcardMapper {
|
||||||
|
public IdCard gerIdcard(int id);
|
||||||
|
public int deleteIdcard(int id);
|
||||||
|
public int addIdcard(IdCard idcard);
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
package com.raohanghui.springboot.springboot.dao;
|
||||||
|
import com.raohanghui.springboot.springboot.model.Person;
|
||||||
|
|
||||||
|
public interface PersonIdcardMapper {
|
||||||
|
public List<Person> getAllPersons();
|
||||||
|
public List<Person> getAllPersons1();
|
||||||
|
}
|
Loading…
Reference in New Issue