ajax莫名其妙的自动执行

chectionAction----------checkinid:4
Hibernate: select staff0_.sid as sid1_,staff0_.name as name1_,staff0_.department as department1_,staff0_.job as job1_,staff0_.sex as sex1_,staff0_.phone as phone1_,staff0_.education as education1_,staff0_.birthday as birthday1_,staff0_.nativeplace as nativepl9_1_,staff0_.nowplace as nowplace1_,staff0_.state as state1_,staff0_.identity as identity1_,staff0_.indate as indate1_,staff0_.outdate as outdate1_,staff0_.outreason as outreason1_,staff0_.photo as photo1_ from hotel.staff staff0_ where (sid=? )
Hibernate: select user0_.sid as sid0_2_,user0_.passwd as passwd0_2_,staff1_.sid as sid1_0_,staff1_.name as name1_0_,staff1_.department as department1_0_,staff1_.job as job1_0_,staff1_.sex as sex1_0_,staff1_.phone as phone1_0_,staff1_.education as education1_0_,staff1_.birthday as birthday1_0_,staff1_.nativeplace as nativepl9_1_0_,staff1_.nowplace as nowplace1_0_,staff1_.state as state1_0_,staff1_.identity as identity1_0_,staff1_.indate as indate1_0_,staff1_.outdate as outdate1_0_,staff1_.outreason as outreason1_0_,staff1_.photo as photo1_0_,user2_.sid as sid0_1_,user2_.passwd as passwd0_1_ from hotel.user user0_ left outer join hotel.staff staff1_ on user0_.sid=staff1_.sid left outer join hotel.user user2_ on staff1_.sid=user2_.sid where user0_.sid=?
-------date:Fri Apr 05 19:19:18 CST 2013
Hibernate: insert into hotel.check (sid,checkin,checkout,checked,late,leave,day,about,staff_sid) values (?,?,?)
chectionAction----------checkinid:0
Hibernate: select staff0_.sid as sid1_,staff0_.photo as photo1_ from hotel.staff staff0_ where (sid=? )
-------date:Fri Apr 05 19:19:32 CST 2013

Hibernate: insert into hotel.check (sid,?)


其中-checkinid:4是我手动执行的,checkinid:0是放着的时候自动执行的

相关文章

JS原生Ajax操作(XMLHttpRequest) GET请求 POST请求 兼容性问题 利用iframe模拟ajax 实现表单提交的返回...
AJAX 每日更新前端基础,如果觉得不错,点个star吧 😃 https://github.com/WindrunnerMax/E...
踩坑Axios提交form表单几种格式 前后端分离的开发前后端, 前端使用的vue,后端的安全模块使用的SpringSe...
很早就听闻ajax的名声,但是却一直不知道怎么用,今天自己捣鼓了一下,竟然会用了,哈哈哈哈。 为了防止...
需要在服务器上进行哈 jquery的ajax方法: // jquery请求 $.ajax({ url: "./server/slider.js...
Ajax函数封装ajax.js // Get / Post // 参数 get post // 是否异步 // 如何处理响应数据 // URL // var...