模块标准组文档V4-周忠君

2017-12-10  本文已影响0人  DreamF_95d0

1.List<UserBO> listPresentStudent(BigInteger seminarId,BigInteger classId)

2.List<UserBO> listLateStudent(BigInteger seminarId,BigInteger classId)

3.List<UserBO> listAbsenceStudent(BigInteger seminarId,BigInteger classId)

SeminarService(类)

1.SeminarBO getMySeminarBySeminarId(BigInteger seminarId,User userId)

2.SeminarBO getSeminarDetailBySeminarId(BigInteger seminarId,BigInteger userId)

TopicService(类)

1.TopicBO getTopicByTopicId(BigInteger topicId)

2.boolean updateTopicByTopicId(BigInteger topicId,TopicBO topic)

3.boolean deleteTopicByTopicId(BigInteger topicId)

4.List<TopicBO> listTopicBySeminarId(BigInteger seminarId)

5.BigInteger insertTopicBySeminarId(BigInteger seminarId,TopicBO topic)

GroupService(类)

1.List<GroupBO> listGroupBySeminarId(BigInteger seminarId)

2.List<GroupBO> listGroupByTopicId(BigInteger topicId)

3.GroupBO getSeminarGroupById(BigInteger seminarId,BigInteger userId)

ClassService(类)

1.ClassBO getCallGroupStatusById(BigInteger seminarId,BigInteger classId)

AttendanceService(类)

1.Boolean updateAttendanceById(Biginteger seminarId,Biginteger classId,Biginteger userId,LocationBO location )

Dao(包)

UserDao(类)

1.UserDO getUserByUserId(BigInteger userId)

2.List<UserDO> listPresentStudent(BigInteger seminarId,BigInteger classId)

3.List<UserDO> listAbsenceStudent(BigInteger seminarId,BigInteger classId)

4.List <UserDO> listLateStudent(BigInteger seminarId,BigInteger classId)

SeminarDao(类)

1.SeminarDO getSeminarBySeminarId(BigInteger seminarId)

ClassDao(类)

1.ClassDO getClassByClassId(BigInteger classId)

2.ClassDO getClassById(BigInteger seminarId,BigInteger userId)

TopicDao(类)

1.TopicDO getTopicByTopicId(BigInteger topicId)

2.boolean updateTopicByTopicId(BigInteger topicId,TopicDO topic)

3.boolean deleteTopicByTopicId(BigInteger topicId)

4.List<TopicDO> listTopicBySeminarId(BigInteger seminarId)

5.BigInteger insertTopicBySeminarId(BigInteger seminarId,TopicDO topic)

GroupDao(类)

1.GroupDO getGroupById(BigInteger seminarId,BigInteger userId)

2.List<GroupDO> listGroupByTopicId(BigInteger topicId)

  1. List<GroupDO> listGroupBySeminarId(BigInteger seminarId)

AttendanceDao(类)

1.Boolean updateAttendanceById(integer seminarId,integer classId,integer userId,String status)

Mapper(包)

UserMapper(类)

1.UserDO selectUserByUserId(BigInteger userId)

2.List<UserDO> selectPresentStudent(BigInteger seminarId,BigInteger classId)

3.List <UserDO> selectAbsenceStudent(BigInteger seminarId,BigInteger classId)

4.List<UserDO> selectLateStudent(BigInteger seminarId,BigInteger classId)

SeminarMapper(类)

1.SeminarDO selectSeminarBySeminarId(BigInteger seminarId)

ClassMapper(类)

1.ClassDO selectClassByClassId(BigInteger classId)

2.ClassDO selectClassById(BigInteger seminarId,BigInteger userId)

TopicMapper(类)

1.TopicDO selectTopicByTopicId(BigInteger topicId)

2.boolean updateTopicByTopicId(BigInteger topicId,TopicDO topic)

3.boolean deleteTopicByTopicId(BigInteger topicId)

4.List<TopicDO> selectTopicBySeminarId(BigInteger seminarId)

5.BigInteger insertTopicBySeminarId(BigInteger seminarId,TopicDO topic)

GroupMapper(类)

1.GroupDO selectGroupById(BigInteger seminarId,BigInteger userId)

2.List<GroupDO> selectGroupByTopicId(BigInteger topicId)

3.List<GroupDO> selectGroupBySeminarId(BigInteger seminarId)

AttendanceMapper(类)

1.Boolean updateAttendanceById(integer seminarId,integer classId,integer userId,String status)

(班级的id) 3.BigInteger userId(学生的id)4.String status 考勤状态

上一篇下一篇

猜你喜欢

热点阅读