recordAction.js 478 B

123456789101112
  1. function insertActionRecord(content) {
  2. var strSql = "insert into 系统用户日志(用户姓名,用户ID,操作内容,操作时间,用户IP) values "+
  3. "('"+localStorage.getItem("username")+"','"+localStorage.getItem("userid")+"','"+content+"',to_date('"+getDate()+"','yyyy-mm-dd hh24:mi:ss'),'"+returnCitySN.cip+"')";
  4. new WsCommonClass("QueryDataBase", ["sql"], [strSql], queryDataSuccess, "insertActionRecord");
  5. }
  6. function queryDataSuccess(evt) {
  7. var result = evt;
  8. }