摘要:
发表日报:学生可以提交日报,记录学习情况。 修改日报:学生可以修改已提交的日报。 删除日报:学生可以删除已提交的日报。 发送内部消息:学生和教师可以发送内部消息。 评分日报:教师可以对学生的日报进行评分。 统计日报:教师可以统计某一时间段内的日报提交情况。 mapper DailyReportMap 阅读全文
摘要:
CSS login.css 点击查看代码 * { margin: 0; padding: 0; } html { height: 100%; width: 100%; overflow: hidden; margin: 0; padding: 0; background: url("../imgs/ 阅读全文
摘要:
功能6:统计日报 DailyReportMapper 点击查看代码 @Select("SELECT * FROM ft_dailyreport WHERE publishDate BETWEEN #{startDate} AND #{endDate}") @ResultMap("DailyRepor 阅读全文
摘要:
功能5:评分日报 DailyReportMapper 点击查看代码 @Update("update ft_dailyreport set dailyScore=#{dailyScore},state=#{state},stateReason=#{stateReason} where id=#{id} 阅读全文
摘要:
功能4:发送内部消息 InternalMessageMapper 点击查看代码 @Insert("INSERT ft_internalmessage VALUES(null,#{category},#{senderName},#{senderNo},#{receiverName},#{receive 阅读全文
摘要:
功能3:删除日报 DailyReportMapper 点击查看代码 @Delete("delete from ft_dailyreport where id=#{id}") @ResultMap("DailyReportResultMap") void deleteDailyReportById(@ 阅读全文
摘要:
功能2:修改日报 DailyReportMapper 点击查看代码 @Update("update ft_dailyreport set publishDate =#{publishDate},spentTime =#{spentTime},codeamount=#{codeamount},blog 阅读全文
摘要:
功能1:发表日报 DailyReportMapper 点击查看代码 /** * 发表日报 * @param dailyReport */ @Insert("insert ft_dailyreport values (null,#{publishDate},#{stuno},#{name},#{spe 阅读全文
摘要:
以下为数据库层面准备 sql: 点击查看代码 create table ft_user( id int primary key auto_increment, username varchar(30), password varchar(30), identify varchar(100) ); c 阅读全文
摘要:
环境准备: mybatis-config.xml 点击查看代码 <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://my 阅读全文