|
@@ -0,0 +1,24 @@
|
|
|
+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);
|
|
|
+
|
|
|
+}
|