diff --git a/src/main/java/top/ezzd/top/mapper/ApplyMapper.xml b/src/main/java/top/ezzd/top/mapper/ApplyMapper.xml new file mode 100644 index 0000000..054f1e7 --- /dev/null +++ b/src/main/java/top/ezzd/top/mapper/ApplyMapper.xml @@ -0,0 +1,18 @@ + + + + + + insert into Apply(uname, name, gender,photopath,phonenumber,age,home,college,collegeName,classno,department,isother,isallow,hobby,reason,grade,qqnum,e_mail,applytime,applystatus) values + (#{uname},#{name},#{gender},#{photopath},#{phonenumber},#{age},#{home},#{college},#{collegeName},#{classno},#{department},#{isother},#{isallow},#{hobby},#{reason},#{grade},#{qqnum},#{e_mail},now(),0) + + + + + delete from Apply where uname=#{uname} + + \ No newline at end of file