|
@@ -1,24 +0,0 @@
|
|
-package com.person.service;
|
|
|
|
-
|
|
|
|
-import com.person.domain.PageBean;
|
|
|
|
-import com.person.domain.Person;
|
|
|
|
-
|
|
|
|
-public interface PersonService {
|
|
|
|
-
|
|
|
|
- public int registerPerson(Person p);
|
|
|
|
-
|
|
|
|
- public Person loginUser(Person p);
|
|
|
|
-
|
|
|
|
- public PageBean findAllPage(int current);
|
|
|
|
-
|
|
|
|
- public Person findOne(String pid);
|
|
|
|
-
|
|
|
|
- public void update(Person p);
|
|
|
|
-
|
|
|
|
- public void delete(String pid);
|
|
|
|
-
|
|
|
|
- public PageBean selectPerson(Person p, int current);
|
|
|
|
-
|
|
|
|
- public void addPerson(Person p);
|
|
|
|
-
|
|
|
|
-}
|
|
|