insert into t_dormmanager(userName,password,name,sex,tel) values(#{userName},#{password},#{name},#{sex},#{tel}) update t_dormmanager set userName=#{userName},password=#{password},name=#{name},sex=#{sex},tel=#{tel} where dormManId=#{dormManId} delete from t_dormmanager where dormManId=#{dormManId} insert into t_student(stuNum,password,name,dormBuildId,dormName,sex,tel) values(#{stuNum},#{password},#{name},#{dormBuildId},#{dormName},#{sex},#{tel}) update t_student set stuNum=#{stuNum},password=#{password},name=#{name},sex=#{sex},dormBuildId=#{dormBuildId},dormName=#{dormName},tel=#{tel} where studentId=#{studentId} delete from t_student where studentId=#{studentId} insert into t_dormbuild(dormBuildName,dormBuildDetail) values(#{dormBuildName},#{dormBuildDetail}) update t_dormbuild set dormBuildName=#{dormBuildName},dormBuildDetail=#{dormBuildDetail} where dormBuildId=#{dormBuildId} delete from t_dormbuild where dormBuildId=#{dormBuildId} update t_dormmanager set dormBuildId=#{dormBuildId} where dormManId=#{dormManId} update t_dormmanager set dormBuildId=0 where dormManId=#{dormManId} delete from t_record where recordId=#{recordId} insert into t_notice(noticePerson,date,content) values(#{noticePerson},current_date,#{content}) update t_notice set noticePerson=#{noticePerson},content=#{content} where noticeId=#{noticeId} delete from t_notice where noticeId=#{noticeId} update t_admin set userName=#{userName},name=#{name},tel=#{tel} where adminId=#{adminId} update t_admin set password=#{password} where adminId=#{adminId} insert into t_punchclock(id,theme,detail,date,person) values(#{id},#{theme},#{detail},current_date,#{person}) update t_punchclock set theme=#{theme},detail=#{detail} where id=#{id} delete from t_punchclock where id=#{id} insert into t_punchclockrecord (punchClock_id,punchClock_date,punchClock_theme,punchClock_detail,punchClock_person,name,dormName,tel,stuNum,dormBuildId,isRecord,punckClock_content) values(#{punchClockId},#{punchClockDate},#{punchClockTheme},#{punchClockDetail},#{punchClockPerson},#{name},#{dormName},#{tel},#{stuNum},#{dormBuildId},#{isRecord},#{punckClockContent}) update t_punchclockrecord set punchClock_theme=#{theme},punchClock_detail=#{detail} where punchClock_id=#{id} delete from t_punchclockrecord where punchClock_id=#{id}