parent
6449dc5627
commit
77c6e99397
@ -0,0 +1,130 @@
|
|||||||
|
package com.cya.service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.apache.ibatis.annotations.Param;
|
||||||
|
|
||||||
|
import com.cya.entity.Admin;
|
||||||
|
import com.cya.entity.DormBuild;
|
||||||
|
import com.cya.entity.DormManage;
|
||||||
|
import com.cya.entity.Notice;
|
||||||
|
import com.cya.entity.PageResult;
|
||||||
|
import com.cya.entity.PunchClock;
|
||||||
|
import com.cya.entity.PunchClockRecord;
|
||||||
|
import com.cya.entity.Record;
|
||||||
|
import com.cya.entity.Student;
|
||||||
|
|
||||||
|
public interface IAdminService {
|
||||||
|
|
||||||
|
/*-------------------------宿管---------------------------*/
|
||||||
|
|
||||||
|
public PageResult getDormManage(int pageNum, int pageSize,String filter,String key);
|
||||||
|
|
||||||
|
public void addDormManage(DormManage dormManage);
|
||||||
|
|
||||||
|
public DormManage getDormMangerById(int dormManId);
|
||||||
|
|
||||||
|
public void updataDormManageById(DormManage dormManage);
|
||||||
|
|
||||||
|
public void deleteDormManageById(Integer dormManId);
|
||||||
|
|
||||||
|
/*-------------------------宿管---------------------------*/
|
||||||
|
|
||||||
|
/*-------------------------学生---------------------------*/
|
||||||
|
|
||||||
|
public PageResult getStudentManage(int pageNum, int pageSize,String filter,String key);
|
||||||
|
|
||||||
|
public void addStudentManage(Student student);
|
||||||
|
|
||||||
|
public Student getStudentMangerById(int studentId);
|
||||||
|
|
||||||
|
public void updataStudentManageById(Student student);
|
||||||
|
|
||||||
|
public void studentManagerDeleteById(int studentId);
|
||||||
|
|
||||||
|
/*-------------------------学生---------------------------*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*-------------------------宿舍楼---------------------------*/
|
||||||
|
|
||||||
|
public PageResult getBuildManage(int pageNum, int pageSize,String filter,String key);
|
||||||
|
|
||||||
|
public void addBuildManage(DormBuild dormBuild);
|
||||||
|
|
||||||
|
public DormBuild getBuildMangerById(int dormBuildId);
|
||||||
|
|
||||||
|
public void updataBuildManageById(DormBuild dormBuild);
|
||||||
|
|
||||||
|
public void buildManagerDeleteById(Integer dormBuildId);
|
||||||
|
|
||||||
|
public List<DormManage> getDormMangerByBuildId(Integer dormBuildId);
|
||||||
|
|
||||||
|
public List<DormManage> getDormManage2();
|
||||||
|
|
||||||
|
public void addDormManageToBuild(Integer dormBuildId,Integer dormManId);
|
||||||
|
|
||||||
|
public void removeaDormManageToBuild(Integer dormManId);
|
||||||
|
|
||||||
|
/*-------------------------宿舍楼---------------------------*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*-------------------------考勤---------------------------*/
|
||||||
|
|
||||||
|
public PageResult getRecordManage(int pageNum, int pageSize,String filter,String key);
|
||||||
|
|
||||||
|
public void recordManagerDeleteById(Integer recordId);
|
||||||
|
/*-------------------------考勤---------------------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/*-------------------------公告---------------------------*/
|
||||||
|
|
||||||
|
public PageResult getNoticeManage(Integer pageNum,Integer pageSize,String filter, String key);
|
||||||
|
|
||||||
|
public void addNoticeManage(Notice notice);
|
||||||
|
|
||||||
|
public Notice getNoticeMangerById(Integer noticeId);
|
||||||
|
|
||||||
|
public void updataNoticeManageById(Notice notice);
|
||||||
|
|
||||||
|
public void noticeManagerDeleteById(Integer noticeId);
|
||||||
|
|
||||||
|
/*-------------------------公告---------------------------*/
|
||||||
|
|
||||||
|
/*-------------------------我的---------------------------*/
|
||||||
|
|
||||||
|
public Admin getMyMsgById(Integer adminId);
|
||||||
|
|
||||||
|
public void updateMyMsgById(Admin admin);
|
||||||
|
|
||||||
|
public void updatePsd(Admin admin);
|
||||||
|
|
||||||
|
/*-------------------------我的---------------------------*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*-------------------------打卡---------------------------*/
|
||||||
|
|
||||||
|
public PageResult getPunchClockManage(int pageNum, int pageSize,String filter,String key);
|
||||||
|
|
||||||
|
public void addPunchClockManageMsg(PunchClock punchClock);
|
||||||
|
|
||||||
|
public PunchClock getPunchClockMangerById(String id);
|
||||||
|
|
||||||
|
public void updataPunchClockManageMsgById(PunchClock punchClock);
|
||||||
|
|
||||||
|
public void punchClockManagerDeleteById(String id);
|
||||||
|
|
||||||
|
public List<Student> getStudentMsg();
|
||||||
|
|
||||||
|
public void insertIntoPunchClockRecord(PunchClockRecord punchClockRecord);
|
||||||
|
|
||||||
|
public void updateIntoPunchClockRecordById(PunchClock punchClock);
|
||||||
|
|
||||||
|
public void deletePunchClockRecordById(String id);
|
||||||
|
|
||||||
|
/*-------------------------打卡---------------------------*/
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,47 @@
|
|||||||
|
package com.cya.service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.apache.ibatis.annotations.Param;
|
||||||
|
|
||||||
|
import com.cya.entity.Admin;
|
||||||
|
import com.cya.entity.DormManage;
|
||||||
|
import com.cya.entity.Notice;
|
||||||
|
import com.cya.entity.PageResult;
|
||||||
|
import com.cya.entity.Record;
|
||||||
|
import com.cya.entity.Student;
|
||||||
|
|
||||||
|
public interface IDormManageService {
|
||||||
|
|
||||||
|
public PageResult getStudentMsgByBuildId(int pageNum, int pageSize,String filter,String key,Integer dormBuildId);
|
||||||
|
|
||||||
|
public void studentMsgDeleteById(int studentId);
|
||||||
|
|
||||||
|
public PageResult getRecordMsg(int pageNum, int pageSize,String filter,String key,Integer dormBuildId);
|
||||||
|
|
||||||
|
public Record getRecordById(int recordId);
|
||||||
|
|
||||||
|
public void updataRecordMsg(Record record);
|
||||||
|
|
||||||
|
public void addRecordMsg(Record record);
|
||||||
|
|
||||||
|
public void recordManagerDeleteById1(Integer recordId);
|
||||||
|
|
||||||
|
/*-------------------------我的---------------------------*/
|
||||||
|
|
||||||
|
public DormManage dorm_getMyMsgById(Integer dormManId);
|
||||||
|
|
||||||
|
public void dorm_updateMyMsgById(DormManage dormManage);
|
||||||
|
|
||||||
|
public void dorm_updatePsd(DormManage dormManage);
|
||||||
|
|
||||||
|
/*-------------------------我的---------------------------*/
|
||||||
|
|
||||||
|
public List<Notice> getNoticeAll();
|
||||||
|
|
||||||
|
/*-------------------------打卡---------------------------*/
|
||||||
|
|
||||||
|
public PageResult getPunchClockRecordMsgByDormBuildId(int pageNum, int pageSize,String filter,String key,Integer dormBuildId);
|
||||||
|
|
||||||
|
/*-------------------------打卡---------------------------*/
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
package com.cya.service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.cya.entity.Login;
|
||||||
|
|
||||||
|
public interface ILoginService {
|
||||||
|
|
||||||
|
public List login(Login login);
|
||||||
|
}
|
@ -0,0 +1,25 @@
|
|||||||
|
package com.cya.service;
|
||||||
|
|
||||||
|
import org.apache.ibatis.annotations.Param;
|
||||||
|
|
||||||
|
import com.cya.entity.PageResult;
|
||||||
|
import com.cya.entity.PunchClockRecord;
|
||||||
|
import com.cya.entity.Student;
|
||||||
|
|
||||||
|
public interface IStudentService {
|
||||||
|
|
||||||
|
public PageResult getRecordMMsgByStuNum(Integer pageNum,Integer pageSize,String filter, String key,String studentNumber);
|
||||||
|
|
||||||
|
public Student student_getMyMsgById(Integer studentId);
|
||||||
|
|
||||||
|
public void student_updateMyMsgById(Student student);
|
||||||
|
|
||||||
|
public void student_updatePsd(Student student);
|
||||||
|
|
||||||
|
public PageResult getPunchClockRecordMsgByStuNum(Integer pageNum,Integer pageSize,String filter, String key,String studentNumber);
|
||||||
|
|
||||||
|
public PunchClockRecord getPunckColcokRecordById(Integer id);
|
||||||
|
|
||||||
|
public void updataPunchClockRecordMsg(PunchClockRecord punchClockRecord);
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in new issue