Package org.jeecgframework.web.system.pojo.base

Examples of org.jeecgframework.web.system.pojo.base.TSLog


   */
  private void repairLog() {
    TSUser admin = commonDao.findByProperty(TSUser.class, "signatureFile",
        "images/renfang/qm/licf.gif").get(0);
    try {
      TSLog log1 = new TSLog();
      log1.setLogcontent("用户: admin登录成功");
      log1.setBroswer("Chrome");
      log1.setNote("169.254.200.136");
      log1.setTSUser(admin);
      log1.setOperatetime(DataUtils.parseTimestamp("2013-4-24 16:22:40",
          "yyyy-MM-dd HH:mm"));
      log1.setOperatetype((short) 1);
      log1.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log1);

      TSLog log2 = new TSLog();
      log2.setLogcontent("用户: admin登录成功");
      log2.setBroswer("Chrome");
      log2.setNote("10.10.10.1");
      log2.setTSUser(admin);
      log2.setOperatetime(DataUtils.parseTimestamp("2013-4-24 17:12:22",
          "yyyy-MM-dd HH:mm"));
      log2.setOperatetype((short) 1);
      log2.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log2);

      TSLog log3 = new TSLog();
      log3.setLogcontent("用户: admin登录成功");
      log3.setBroswer("Chrome");
      log3.setNote("169.254.218.201");
      log3.setTSUser(admin);
      log3.setOperatetime(DataUtils.parseTimestamp("2013-3-10 15:37:11",
          "yyyy-MM-dd HH:mm"));
      log3.setOperatetype((short) 1);
      log3.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log3);

      TSLog log4 = new TSLog();
      log4.setLogcontent("用户admin已退出");
      log4.setBroswer("Chrome");
      log4.setNote("169.254.218.201");
      log4.setTSUser(admin);
      log4.setOperatetime(DataUtils.parseTimestamp("2013-3-10 15:38:33",
          "yyyy-MM-dd HH:mm"));
      log4.setOperatetype((short) 1);
      log4.setLoglevel((short) 2);
      commonDao.saveOrUpdate(log4);

      TSLog log5 = new TSLog();
      log5.setLogcontent("用户: admin登录成功");
      log5.setBroswer("MSIE 9.0");
      log5.setNote("169.254.218.201");
      log5.setTSUser(admin);
      log5.setOperatetime(DataUtils.parseTimestamp("2013-3-10 15:38:42",
          "yyyy-MM-dd HH:mm"));
      log5.setOperatetype((short) 1);
      log5.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log5);

      TSLog log6 = new TSLog();
      log6.setLogcontent("JeecgDemo例子: 12被删除 成功");
      log6.setBroswer("MSIE 9.0");
      log6.setNote("169.254.218.201");
      log6.setTSUser(admin);
      log6.setOperatetime(DataUtils.parseTimestamp("2013-3-10 15:39:00",
          "yyyy-MM-dd HH:mm"));
      log6.setOperatetype((short) 1);
      log6.setLoglevel((short) 4);
      commonDao.saveOrUpdate(log6);

      TSLog log7 = new TSLog();
      log7.setLogcontent("JeecgDemo例子: 12被删除 成功");
      log7.setBroswer("MSIE 9.0");
      log7.setNote("169.254.218.201");
      log7.setTSUser(admin);
      log7.setOperatetime(DataUtils.parseTimestamp("2013-3-10 15:39:02",
          "yyyy-MM-dd HH:mm"));
      log7.setOperatetype((short) 1);
      log7.setLoglevel((short) 4);
      commonDao.saveOrUpdate(log7);

      TSLog log8 = new TSLog();
      log8.setLogcontent("JeecgDemo例子: 12被删除 成功");
      log8.setBroswer("Chrome");
      log8.setNote("169.254.218.201");
      log8.setTSUser(admin);
      log8.setOperatetime(DataUtils.parseTimestamp("2013-3-10 15:39:04",
          "yyyy-MM-dd HH:mm"));
      log8.setOperatetype((short) 1);
      log8.setLoglevel((short) 4);
      commonDao.saveOrUpdate(log8);

      TSLog log9 = new TSLog();
      log9.setLogcontent("权限: 单表模型被更新成功");
      log9.setBroswer("MSIE 9.0");
      log9.setNote("169.254.218.201");
      log9.setTSUser(admin);
      log9.setOperatetime(DataUtils.parseTimestamp("2013-3-10 15:39:30",
          "yyyy-MM-dd HH:mm"));
      log9.setOperatetype((short) 1);
      log9.setLoglevel((short) 5);
      commonDao.saveOrUpdate(log9);

      TSLog log10 = new TSLog();
      log10.setLogcontent("删除成功");
      log10.setBroswer("Chrome");
      log10.setNote("169.254.218.201");
      log10.setTSUser(admin);
      log10.setOperatetime(DataUtils.parseTimestamp("2013-3-10 15:39:38",
          "yyyy-MM-dd HH:mm"));
      log10.setOperatetype((short) 1);
      log10.setLoglevel((short) 4);
      commonDao.saveOrUpdate(log10);

      TSLog log11 = new TSLog();
      log11.setLogcontent("删除成功");
      log11.setBroswer("MSIE 9.0");
      log11.setNote("169.254.218.201");
      log11.setTSUser(admin);
      log11.setOperatetime(DataUtils.parseTimestamp("2013-3-10 15:39:40",
          "yyyy-MM-dd HH:mm"));
      log11.setOperatetype((short) 1);
      log11.setLoglevel((short) 4);
      commonDao.saveOrUpdate(log11);

      TSLog log12 = new TSLog();
      log12.setLogcontent("删除成功");
      log12.setBroswer("Chrome");
      log12.setNote("169.254.218.201");
      log12.setTSUser(admin);
      log12.setOperatetime(DataUtils.parseTimestamp("2013-3-10 15:39:41",
          "yyyy-MM-dd HH:mm"));
      log12.setOperatetype((short) 1);
      log12.setLoglevel((short) 4);
      commonDao.saveOrUpdate(log12);

      TSLog log13 = new TSLog();
      log13.setLogcontent("删除成功");
      log13.setBroswer("Firefox");
      log13.setNote("169.254.218.201");
      log13.setTSUser(admin);
      log13.setOperatetime(DataUtils.parseTimestamp("2013-3-10 15:39:42",
          "yyyy-MM-dd HH:mm"));
      log13.setOperatetype((short) 1);
      log13.setLoglevel((short) 4);
      commonDao.saveOrUpdate(log13);

      TSLog log14 = new TSLog();
      log14.setLogcontent("添加成功");
      log14.setBroswer("Chrome");
      log14.setNote("169.254.218.201");
      log14.setTSUser(admin);
      log14.setOperatetime(DataUtils.parseTimestamp("2013-3-10 15:40:00",
          "yyyy-MM-dd HH:mm"));
      log14.setOperatetype((short) 1);
      log14.setLoglevel((short) 3);
      commonDao.saveOrUpdate(log14);

      TSLog log15 = new TSLog();
      log15.setLogcontent("更新成功");
      log15.setBroswer("Chrome");
      log15.setNote("169.254.218.201");
      log15.setTSUser(admin);
      log15.setOperatetime(DataUtils.parseTimestamp("2013-3-10 15:40:04",
          "yyyy-MM-dd HH:mm"));
      log15.setOperatetype((short) 1);
      log15.setLoglevel((short) 5);
      commonDao.saveOrUpdate(log15);

      TSLog log16 = new TSLog();
      log16.setLogcontent("JeecgDemo例子: 12被添加成功");
      log16.setBroswer("Chrome");
      log16.setNote("169.254.218.201");
      log16.setTSUser(admin);
      log16.setOperatetime(DataUtils.parseTimestamp("2013-3-10 15:40:44",
          "yyyy-MM-dd HH:mm"));
      log16.setOperatetype((short) 1);
      log16.setLoglevel((short) 3);
      commonDao.saveOrUpdate(log16);

      TSLog log17 = new TSLog();
      log17.setLogcontent("部门: 信息部被更新成功");
      log17.setBroswer("Chrome");
      log17.setNote("169.254.218.201");
      log17.setTSUser(admin);
      log17.setOperatetime(DataUtils.parseTimestamp("2013-3-10 15:41:26",
          "yyyy-MM-dd HH:mm"));
      log17.setOperatetype((short) 1);
      log17.setLoglevel((short) 5);
      commonDao.saveOrUpdate(log17);

      TSLog log18 = new TSLog();
      log18.setLogcontent("部门: 设计部被更新成功");
      log18.setBroswer("Chrome");
      log18.setNote("169.254.218.201");
      log18.setTSUser(admin);
      log18.setOperatetime(DataUtils.parseTimestamp("2013-3-10 15:41:38",
          "yyyy-MM-dd HH:mm"));
      log18.setOperatetype((short) 1);
      log18.setLoglevel((short) 5);
      commonDao.saveOrUpdate(log18);

      TSLog log19 = new TSLog();
      log19.setLogcontent("类型: 信息部流程被更新成功");
      log19.setBroswer("Chrome");
      log19.setNote("169.254.218.201");
      log19.setTSUser(admin);
      log19.setOperatetime(DataUtils.parseTimestamp("2013-3-10 15:46:55",
          "yyyy-MM-dd HH:mm"));
      log19.setOperatetype((short) 1);
      log19.setLoglevel((short) 5);
      commonDao.saveOrUpdate(log19);

      TSLog log20 = new TSLog();
      log20.setLogcontent("用户: admin登录成功");
      log20.setBroswer("Chrome");
      log20.setNote("169.254.218.201");
      log20.setTSUser(admin);
      log20.setOperatetime(DataUtils.parseTimestamp("2013-3-10 15:48:47",
          "yyyy-MM-dd HH:mm"));
      log20.setOperatetype((short) 1);
      log20.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log20);

      TSLog log21 = new TSLog();
      log21.setLogcontent("用户: admin登录成功");
      log21.setBroswer("Firefox");
      log21.setNote("169.254.218.201");
      log21.setTSUser(admin);
      log21.setOperatetime(DataUtils.parseTimestamp("2013-3-21 23:23:52",
          "yyyy-MM-dd HH:mm"));
      log21.setOperatetype((short) 1);
      log21.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log21);

      TSLog log22 = new TSLog();
      log22.setLogcontent("用户: admin登录成功");
      log22.setBroswer("Chrome");
      log22.setNote("169.254.218.201");
      log22.setTSUser(admin);
      log22.setOperatetime(DataUtils.parseTimestamp("2013-3-21 23:26:22",
          "yyyy-MM-dd HH:mm"));
      log22.setOperatetype((short) 1);
      log22.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log22);

      TSLog log23 = new TSLog();
      log23.setLogcontent("权限: 一对多实例被添加成功");
      log23.setBroswer("Chrome");
      log23.setNote("169.254.218.201");
      log23.setTSUser(admin);
      log23.setOperatetime(DataUtils.parseTimestamp("2013-3-21 23:28:34",
          "yyyy-MM-dd HH:mm"));
      log23.setOperatetype((short) 1);
      log23.setLoglevel((short) 3);
      commonDao.saveOrUpdate(log23);

      TSLog log24 = new TSLog();
      log24.setLogcontent("用户: admin登录成功");
      log24.setBroswer("Chrome");
      log24.setNote("169.254.218.201");
      log24.setTSUser(admin);
      log24.setOperatetime(DataUtils.parseTimestamp("2013-3-22 8:25:07",
          "yyyy-MM-dd HH:mm"));
      log24.setOperatetype((short) 1);
      log24.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log24);

      TSLog log25 = new TSLog();
      log25.setLogcontent("用户: admin登录成功");
      log25.setBroswer("Firefox");
      log25.setNote("169.254.218.201");
      log25.setTSUser(admin);
      log25.setOperatetime(DataUtils.parseTimestamp("2013-3-22 9:05:25",
          "yyyy-MM-dd HH:mm"));
      log25.setOperatetype((short) 1);
      log25.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log25);

      TSLog log26 = new TSLog();
      log26.setLogcontent("用户: admin登录成功");
      log26.setBroswer("Chrome");
      log26.setNote("169.254.218.201");
      log26.setTSUser(admin);
      log26.setOperatetime(DataUtils.parseTimestamp("2013-3-22 9:09:05",
          "yyyy-MM-dd HH:mm"));
      log26.setOperatetype((short) 1);
      log26.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log26);

      TSLog log27 = new TSLog();
      log27.setLogcontent("用户: admin登录成功");
      log27.setBroswer("MSIE 8.0");
      log27.setNote("169.254.218.201");
      log27.setTSUser(admin);
      log27.setOperatetime(DataUtils.parseTimestamp("2013-3-22 9:28:50",
          "yyyy-MM-dd HH:mm"));
      log27.setOperatetype((short) 1);
      log27.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log27);

      TSLog log28 = new TSLog();
      log28.setLogcontent("用户: admin登录成功");
      log28.setBroswer("Firefox");
      log28.setNote("169.254.218.201");
      log28.setTSUser(admin);
      log28.setOperatetime(DataUtils.parseTimestamp("2013-3-22 10:32:59",
          "yyyy-MM-dd HH:mm"));
      log28.setOperatetype((short) 1);
      log28.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log28);

      TSLog log29 = new TSLog();
      log29.setLogcontent("物品: 笔记本添加成功");
      log29.setBroswer("Chrome");
      log29.setNote("169.254.218.201");
      log29.setTSUser(admin);
      log29.setOperatetime(DataUtils.parseTimestamp("2013-3-22 10:35:44",
          "yyyy-MM-dd HH:mm"));
      log29.setOperatetype((short) 1);
      log29.setLoglevel((short) 3);
      commonDao.saveOrUpdate(log29);

      TSLog log30 = new TSLog();
      log30.setLogcontent("用户: admin登录成功");
      log30.setBroswer("Firefox");
      log30.setNote("169.254.218.201");
      log30.setTSUser(admin);
      log30.setOperatetime(DataUtils.parseTimestamp("2013-3-22 10:41:46",
          "yyyy-MM-dd HH:mm"));
      log30.setOperatetype((short) 1);
      log30.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log30);

      TSLog log31 = new TSLog();
      log31.setLogcontent("用户: admin登录成功");
      log31.setBroswer("Firefox");
      log31.setNote("169.254.218.201");
      log31.setTSUser(admin);
      log31.setOperatetime(DataUtils.parseTimestamp("2013-3-22 16:11:14",
          "yyyy-MM-dd HH:mm"));
      log31.setOperatetype((short) 1);
      log31.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log31);

      TSLog log32 = new TSLog();
      log32.setLogcontent("用户: admin登录成功");
      log32.setBroswer("Chrome");
      log32.setNote("169.254.218.201");
      log32.setTSUser(admin);
      log32.setOperatetime(DataUtils.parseTimestamp("2013-3-22 21:49:43",
          "yyyy-MM-dd HH:mm"));
      log32.setOperatetype((short) 1);
      log32.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log32);

      TSLog log33 = new TSLog();
      log33.setLogcontent("用户: admin登录成功");
      log33.setBroswer("Chrome");
      log33.setNote("169.254.218.201");
      log33.setTSUser(admin);
      log33.setOperatetime(DataUtils.parseTimestamp("2013-3-22 23:17:12",
          "yyyy-MM-dd HH:mm"));
      log33.setOperatetype((short) 1);
      log33.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log33);

      TSLog log34 = new TSLog();
      log34.setLogcontent("用户: admin登录成功");
      log34.setBroswer("Chrome");
      log34.setNote("169.254.218.201");
      log34.setTSUser(admin);
      log34.setOperatetime(DataUtils.parseTimestamp("2013-3-22 23:27:22",
          "yyyy-MM-dd HH:mm"));
      log34.setOperatetype((short) 1);
      log34.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log34);

      TSLog log35 = new TSLog();
      log35.setLogcontent("用户: admin登录成功");
      log35.setBroswer("Chrome");
      log35.setNote("169.254.218.201");
      log35.setTSUser(admin);
      log35.setOperatetime(DataUtils.parseTimestamp("2013-3-23 0:16:10",
          "yyyy-MM-dd HH:mm"));
      log35.setOperatetype((short) 1);
      log35.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log35);

      TSLog log36 = new TSLog();
      log36.setLogcontent("用户: admin登录成功");
      log36.setBroswer("Chrome");
      log36.setNote("169.254.218.201");
      log36.setTSUser(admin);
      log36.setOperatetime(DataUtils.parseTimestamp("2013-3-23 0:22:46",
          "yyyy-MM-dd HH:mm"));
      log36.setOperatetype((short) 1);
      log36.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log36);

      TSLog log37 = new TSLog();
      log37.setLogcontent("用户: admin登录成功");
      log37.setBroswer("Firefox");
      log37.setNote("169.254.218.201");
      log37.setTSUser(admin);
      log37.setOperatetime(DataUtils.parseTimestamp("2013-3-23 0:31:11",
          "yyyy-MM-dd HH:mm"));
      log37.setOperatetype((short) 1);
      log37.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log37);

      TSLog log38 = new TSLog();
      log38.setLogcontent("用户: admin登录成功");
      log38.setBroswer("Chrome");
      log38.setNote("169.254.218.201");
      log38.setTSUser(admin);
      log38.setOperatetime(DataUtils.parseTimestamp("2013-3-23 14:23:36",
          "yyyy-MM-dd HH:mm"));
      log38.setOperatetype((short) 1);
      log38.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log38);

      TSLog log39 = new TSLog();
      log39.setLogcontent("流程参数: 主任审批被添加成功");
      log39.setBroswer("Chrome");
      log39.setNote("169.254.218.201");
      log39.setTSUser(admin);
      log39.setOperatetime(DataUtils.parseTimestamp("2013-3-23 15:05:30",
          "yyyy-MM-dd HH:mm"));
      log39.setOperatetype((short) 1);
      log39.setLoglevel((short) 3);
      commonDao.saveOrUpdate(log39);

      TSLog log40 = new TSLog();
      log40.setLogcontent("业务参数: 入职申请被添加成功");
      log40.setBroswer("Firefox");
      log40.setNote("169.254.218.201");
      log40.setTSUser(admin);
      log40.setOperatetime(DataUtils.parseTimestamp("2013-3-23 15:05:42",
          "yyyy-MM-dd HH:mm"));
      log40.setOperatetype((short) 1);
      log40.setLoglevel((short) 3);
      commonDao.saveOrUpdate(log40);

      TSLog log41 = new TSLog();
      log41.setLogcontent("权限: 入职申请被添加成功");
      log41.setBroswer("Chrome");
      log41.setNote("169.254.218.201");
      log41.setTSUser(admin);
      log41.setOperatetime(DataUtils.parseTimestamp("2013-3-23 15:12:56",
          "yyyy-MM-dd HH:mm"));
      log41.setOperatetype((short) 1);
      log41.setLoglevel((short) 3);
      commonDao.saveOrUpdate(log41);

      TSLog log42 = new TSLog();
      log42.setLogcontent("权限: 入职办理被添加成功");
      log42.setBroswer("Firefox");
      log42.setNote("169.254.218.201");
      log42.setTSUser(admin);
      log42.setOperatetime(DataUtils.parseTimestamp("2013-3-23 15:13:23",
          "yyyy-MM-dd HH:mm"));
      log42.setOperatetype((short) 1);
      log42.setLoglevel((short) 3);
      commonDao.saveOrUpdate(log42);

      TSLog log43 = new TSLog();
      log43.setLogcontent("用户: admin登录成功");
      log43.setBroswer("Chrome");
      log43.setNote("10.10.10.1");
      log43.setTSUser(admin);
      log43.setOperatetime(DataUtils.parseTimestamp("2013-5-6 15:27:19",
          "yyyy-MM-dd HH:mm"));
      log43.setOperatetype((short) 1);
      log43.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log43);

      TSLog log44 = new TSLog();
      log44.setLogcontent("用户: admin登录成功");
      log44.setBroswer("MSIE 8.0");
      log44.setNote("192.168.197.1");
      log44.setTSUser(admin);
      log44.setOperatetime(DataUtils.parseTimestamp("2013-7-7 15:16:05",
          "yyyy-MM-dd HH:mm"));
      log44.setOperatetype((short) 1);
      log44.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log44);

      TSLog log45 = new TSLog();
      log45.setLogcontent("用户: admin登录成功");
      log45.setBroswer("MSIE 8.0");
      log45.setNote("192.168.197.1");
      log45.setTSUser(admin);
      log45.setOperatetime(DataUtils.parseTimestamp("2013-7-7 16:02:38",
          "yyyy-MM-dd HH:mm"));
      log45.setOperatetype((short) 1);
      log45.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log45);

      TSLog log46 = new TSLog();
      log46.setLogcontent("用户: admin登录成功");
      log46.setBroswer("MSIE 8.0");
      log46.setNote("192.168.197.1");
      log46.setTSUser(admin);
      log46.setOperatetime(DataUtils.parseTimestamp("2013-7-7 16:07:49",
          "yyyy-MM-dd HH:mm"));
      log46.setOperatetype((short) 1);
      log46.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log46);

      TSLog log47 = new TSLog();
      log47.setLogcontent("用户: admin登录成功");
      log47.setBroswer("MSIE 8.0");
      log47.setNote("192.168.197.1");
      log47.setTSUser(admin);
      log47.setOperatetime(DataUtils.parseTimestamp("2013-7-7 16:09:10",
          "yyyy-MM-dd HH:mm"));
      log47.setOperatetype((short) 1);
      log47.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log47);

      TSLog log48 = new TSLog();
      log48.setLogcontent("用户: admin登录成功");
      log48.setBroswer("MSIE 8.0");
      log48.setNote("192.168.197.1");
      log48.setTSUser(admin);
      log48.setOperatetime(DataUtils.parseTimestamp("2013-7-7 16:11:49",
          "yyyy-MM-dd HH:mm"));
      log48.setOperatetype((short) 1);
      log48.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log48);

      TSLog log49 = new TSLog();
      log49.setLogcontent("用户: admin登录成功");
      log49.setBroswer("MSIE 8.0");
      log49.setNote("192.168.197.1");
      log49.setTSUser(admin);
      log49.setOperatetime(DataUtils.parseTimestamp("2013-7-7 16:13:44",
          "yyyy-MM-dd HH:mm"));
      log49.setOperatetype((short) 1);
      log49.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log49);

      TSLog log50 = new TSLog();
      log50.setLogcontent("用户: admin登录成功");
      log50.setBroswer("MSIE 8.0");
      log50.setNote("192.168.197.1");
      log50.setTSUser(admin);
      log50.setOperatetime(DataUtils.parseTimestamp("2013-7-7 16:16:52",
          "yyyy-MM-dd HH:mm"));
      log50.setOperatetype((short) 1);
      log50.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log50);

      TSLog log51 = new TSLog();
      log51.setLogcontent("用户: admin登录成功");
      log51.setBroswer("MSIE 8.0");
      log51.setNote("192.168.197.1");
      log51.setTSUser(admin);
      log51.setOperatetime(DataUtils.parseTimestamp("2013-7-7 16:19:18",
          "yyyy-MM-dd HH:mm"));
      log51.setOperatetype((short) 1);
      log51.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log51);

      TSLog log52 = new TSLog();
      log52.setLogcontent("用户: admin登录成功");
      log52.setBroswer("MSIE 8.0");
      log52.setNote("192.168.197.1");
      log52.setTSUser(admin);
      log52.setOperatetime(DataUtils.parseTimestamp("2013-7-7 16:27:05",
          "yyyy-MM-dd HH:mm"));
      log52.setOperatetype((short) 1);
      log52.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log52);

      TSLog log53 = new TSLog();
      log53.setLogcontent("用户: admin登录成功");
      log53.setBroswer("MSIE 8.0");
      log53.setNote("192.168.197.1");
      log53.setTSUser(admin);
      log53.setOperatetime(DataUtils.parseTimestamp("2013-7-7 16:42:32",
          "yyyy-MM-dd HH:mm"));
      log53.setOperatetype((short) 1);
      log53.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log53);

      TSLog log54 = new TSLog();
      log54.setLogcontent("用户: admin登录成功");
      log54.setBroswer("MSIE 8.0");
      log54.setNote("192.168.197.1");
      log54.setTSUser(admin);
      log54.setOperatetime(DataUtils.parseTimestamp("2013-7-7 16:44:38",
          "yyyy-MM-dd HH:mm"));
      log54.setOperatetype((short) 1);
      log54.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log54);

      TSLog log55 = new TSLog();
      log55.setLogcontent("用户: admin登录成功");
      log55.setBroswer("MSIE 8.0");
      log55.setNote("192.168.197.1");
      log55.setTSUser(admin);
      log55.setOperatetime(DataUtils.parseTimestamp("2013-7-7 16:49:06",
          "yyyy-MM-dd HH:mm"));
      log55.setOperatetype((short) 1);
      log55.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log55);

      TSLog log56 = new TSLog();
      log56.setLogcontent("用户: admin登录成功");
      log56.setBroswer("MSIE 8.0");
      log56.setNote("192.168.197.1");
      log56.setTSUser(admin);
      log56.setOperatetime(DataUtils.parseTimestamp("2013-7-7 16:50:51",
          "yyyy-MM-dd HH:mm"));
      log56.setOperatetype((short) 1);
      log56.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log56);

      TSLog log57 = new TSLog();
      log57.setLogcontent("用户: admin登录成功");
      log57.setBroswer("MSIE 8.0");
      log57.setNote("192.168.197.1");
      log57.setTSUser(admin);
      log57.setOperatetime(DataUtils.parseTimestamp("2013-7-7 16:53:48",
          "yyyy-MM-dd HH:mm"));
      log57.setOperatetype((short) 1);
      log57.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log57);

      TSLog log58 = new TSLog();
      log58.setLogcontent("修改成功");
      log58.setBroswer("MSIE 8.0");
      log58.setNote("192.168.197.1");
      log58.setTSUser(admin);
      log58.setOperatetime(DataUtils.parseTimestamp("2013-7-7 16:56:45",
          "yyyy-MM-dd HH:mm"));
      log58.setOperatetype((short) 1);
      log58.setLoglevel((short) 5);
      commonDao.saveOrUpdate(log58);

      TSLog log59 = new TSLog();
      log59.setLogcontent("用户: admin登录成功");
      log59.setBroswer("MSIE 8.0");
      log59.setNote("192.168.197.1");
      log59.setTSUser(admin);
      log59.setOperatetime(DataUtils.parseTimestamp("2013-7-7 16:59:22",
          "yyyy-MM-dd HH:mm"));
      log59.setOperatetype((short) 1);
      log59.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log59);

      TSLog log60 = new TSLog();
      log60.setLogcontent("创建成功");
      log60.setBroswer("MSIE 8.0");
      log60.setNote("192.168.197.1");
      log60.setTSUser(admin);
      log60.setOperatetime(DataUtils.parseTimestamp("2013-7-7 17:22:42",
          "yyyy-MM-dd HH:mm"));
      log60.setOperatetype((short) 1);
      log60.setLoglevel((short) 3);
      commonDao.saveOrUpdate(log60);

      TSLog log61 = new TSLog();
      log61.setLogcontent("修改成功");
      log61.setBroswer("MSIE 8.0");
      log61.setNote("192.168.197.1");
      log61.setTSUser(admin);
      log61.setOperatetime(DataUtils.parseTimestamp("2013-7-7 17:26:03",
          "yyyy-MM-dd HH:mm"));
      log61.setOperatetype((short) 1);
      log61.setLoglevel((short) 5);
      commonDao.saveOrUpdate(log61);

      TSLog log62 = new TSLog();
      log62.setLogcontent("删除成功");
      log62.setBroswer("MSIE 8.0");
      log62.setNote("192.168.197.1");
      log62.setTSUser(admin);
      log62.setOperatetime(DataUtils.parseTimestamp("2013-7-7 17:31:00",
          "yyyy-MM-dd HH:mm"));
      log62.setOperatetype((short) 1);
      log62.setLoglevel((short) 4);
      commonDao.saveOrUpdate(log62);

      TSLog log63 = new TSLog();
      log63.setLogcontent("修改成功");
      log63.setBroswer("MSIE 8.0");
      log63.setNote("192.168.197.1");
      log63.setTSUser(admin);
      log63.setOperatetime(DataUtils.parseTimestamp("2013-7-7 17:35:02",
          "yyyy-MM-dd HH:mm"));
      log63.setOperatetype((short) 1);
      log63.setLoglevel((short) 5);
      commonDao.saveOrUpdate(log63);

      TSLog log64 = new TSLog();
      log64.setLogcontent("用户: admin登录成功");
      log64.setBroswer("MSIE 8.0");
      log64.setNote("192.168.197.1");
      log64.setTSUser(admin);
      log64.setOperatetime(DataUtils.parseTimestamp("2013-7-7 17:46:39",
          "yyyy-MM-dd HH:mm"));
      log64.setOperatetype((short) 1);
      log64.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log64);

      TSLog log65 = new TSLog();
      log65.setLogcontent("用户: admin登录成功");
      log65.setBroswer("MSIE 8.0");
      log65.setNote("192.168.197.1");
      log65.setTSUser(admin);
      log65.setOperatetime(DataUtils.parseTimestamp("2013-7-7 17:55:01",
          "yyyy-MM-dd HH:mm"));
      log65.setOperatetype((short) 1);
      log65.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log65);

      TSLog log66 = new TSLog();
      log66.setLogcontent("用户: admin登录成功");
      log66.setBroswer("MSIE 8.0");
      log66.setNote("192.168.197.1");
      log66.setTSUser(admin);
      log66.setOperatetime(DataUtils.parseTimestamp("2013-7-7 18:08:56",
          "yyyy-MM-dd HH:mm"));
      log66.setOperatetype((short) 1);
      log66.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log66);

      TSLog log67 = new TSLog();
      log67.setLogcontent("用户: admin登录成功");
      log67.setBroswer("MSIE 8.0");
      log67.setNote("192.168.197.1");
      log67.setTSUser(admin);
      log67.setOperatetime(DataUtils.parseTimestamp("2013-7-7 18:13:02",
          "yyyy-MM-dd HH:mm"));
      log67.setOperatetype((short) 1);
      log67.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log67);

      TSLog log68 = new TSLog();
      log68.setLogcontent("用户: admin登录成功");
      log68.setBroswer("MSIE 8.0");
      log68.setNote("192.168.197.1");
      log68.setTSUser(admin);
      log68.setOperatetime(DataUtils.parseTimestamp("2013-7-7 18:15:50",
          "yyyy-MM-dd HH:mm"));
      log68.setOperatetype((short) 1);
      log68.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log68);

      TSLog log69 = new TSLog();
      log69.setLogcontent("修改成功");
      log69.setBroswer("MSIE 8.0");
      log69.setNote("192.168.197.1");
      log69.setTSUser(admin);
      log69.setOperatetime(DataUtils.parseTimestamp("2013-7-7 18:28:42",
          "yyyy-MM-dd HH:mm"));
      log69.setOperatetype((short) 1);
      log69.setLoglevel((short) 5);
      commonDao.saveOrUpdate(log69);

      TSLog log70 = new TSLog();
      log70.setLogcontent("修改成功");
      log70.setBroswer("MSIE 8.0");
      log70.setNote("192.168.197.1");
      log70.setTSUser(admin);
      log70.setOperatetime(DataUtils.parseTimestamp("2013-7-7 18:29:12",
          "yyyy-MM-dd HH:mm"));
      log70.setOperatetype((short) 1);
      log70.setLoglevel((short) 5);
      commonDao.saveOrUpdate(log70);

      TSLog log71 = new TSLog();
      log71.setLogcontent("修改成功");
      log71.setBroswer("MSIE 8.0");
      log71.setNote("192.168.197.1");
      log71.setTSUser(admin);
      log71.setOperatetime(DataUtils.parseTimestamp("2013-7-7 18:30:12",
          "yyyy-MM-dd HH:mm"));
      log71.setOperatetype((short) 1);
      log71.setLoglevel((short) 5);
      commonDao.saveOrUpdate(log71);

      TSLog log72 = new TSLog();
      log72.setLogcontent("修改成功");
      log72.setBroswer("MSIE 8.0");
      log72.setNote("192.168.197.1");
      log72.setTSUser(admin);
      log72.setOperatetime(DataUtils.parseTimestamp("2013-7-7 18:31:00",
          "yyyy-MM-dd HH:mm"));
      log72.setOperatetype((short) 1);
      log72.setLoglevel((short) 5);
      commonDao.saveOrUpdate(log72);

      TSLog log73 = new TSLog();
      log73.setLogcontent("修改成功");
      log73.setBroswer("MSIE 8.0");
      log73.setNote("192.168.197.1");
      log73.setTSUser(admin);
      log73.setOperatetime(DataUtils.parseTimestamp("2013-7-7 18:31:26",
          "yyyy-MM-dd HH:mm"));
      log73.setOperatetype((short) 1);
      log73.setLoglevel((short) 5);
      commonDao.saveOrUpdate(log73);

      TSLog log74 = new TSLog();
      log74.setLogcontent("物品: 555添加成功");
      log74.setBroswer("MSIE 9.0");
      log74.setNote("192.168.1.103");
      log74.setTSUser(admin);
      log74.setOperatetime(DataUtils.parseTimestamp("2013-3-20 23:03:06",
          "yyyy-MM-dd HH:mm"));
      log74.setOperatetype((short) 1);
      log74.setLoglevel((short) 3);
      commonDao.saveOrUpdate(log74);

      TSLog log75 = new TSLog();
      log75.setLogcontent("用户: admin登录成功");
      log75.setBroswer("MSIE 9.0");
      log75.setNote("192.168.1.103");
      log75.setTSUser(admin);
      log75.setOperatetime(DataUtils.parseTimestamp("2013-3-20 23:19:25",
          "yyyy-MM-dd HH:mm"));
      log75.setOperatetype((short) 1);
      log75.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log75);

      TSLog log76 = new TSLog();
      log76.setLogcontent("用户: admin登录成功");
      log76.setBroswer("MSIE 9.0");
      log76.setNote("192.168.1.103");
      log76.setTSUser(admin);
      log76.setOperatetime(DataUtils.parseTimestamp("2013-3-21 20:09:02",
          "yyyy-MM-dd HH:mm"));
      log76.setOperatetype((short) 1);
      log76.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log76);

      TSLog log77 = new TSLog();
      log77.setLogcontent("用户: admin登录成功");
      log77.setBroswer("MSIE 9.0");
      log77.setNote("192.168.1.103");
      log77.setTSUser(admin);
      log77.setOperatetime(DataUtils.parseTimestamp("2013-3-21 20:27:25",
          "yyyy-MM-dd HH:mm"));
      log77.setOperatetype((short) 1);
      log77.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log77);

      TSLog log78 = new TSLog();
      log78.setLogcontent("用户: admin登录成功");
      log78.setBroswer("MSIE 9.0");
      log78.setNote("192.168.1.103");
      log78.setTSUser(admin);
      log78.setOperatetime(DataUtils.parseTimestamp("2013-3-21 20:44:40",
          "yyyy-MM-dd HH:mm"));
      log78.setOperatetype((short) 1);
      log78.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log78);

      TSLog log79 = new TSLog();
      log79.setLogcontent("用户: admin登录成功");
      log79.setBroswer("MSIE 9.0");
      log79.setNote("192.168.1.103");
      log79.setTSUser(admin);
      log79.setOperatetime(DataUtils.parseTimestamp("2013-3-21 20:54:13",
          "yyyy-MM-dd HH:mm"));
      log79.setOperatetype((short) 1);
      log79.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log79);

      TSLog log80 = new TSLog();
      log80.setLogcontent("用户: admin登录成功");
      log80.setBroswer("MSIE 9.0");
      log80.setNote("192.168.1.103");
      log80.setTSUser(admin);
      log80.setOperatetime(DataUtils.parseTimestamp("2013-3-21 21:01:54",
          "yyyy-MM-dd HH:mm"));
      log80.setOperatetype((short) 1);
      log80.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log80);

      TSLog log81 = new TSLog();
      log81.setLogcontent("用户: admin登录成功");
      log81.setBroswer("MSIE 9.0");
      log81.setNote("192.168.1.103");
      log81.setTSUser(admin);
      log81.setOperatetime(DataUtils.parseTimestamp("2013-3-21 21:13:05",
          "yyyy-MM-dd HH:mm"));
      log81.setOperatetype((short) 1);
      log81.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log81);

      TSLog log82 = new TSLog();
      log82.setLogcontent("物品: 55添加成功");
      log82.setBroswer("MSIE 9.0");
      log82.setNote("192.168.1.103");
      log82.setTSUser(admin);
      log82.setOperatetime(DataUtils.parseTimestamp("2013-3-21 21:15:07",
          "yyyy-MM-dd HH:mm"));
      log82.setOperatetype((short) 1);
      log82.setLoglevel((short) 3);
      commonDao.saveOrUpdate(log82);

      TSLog log83 = new TSLog();
      log83.setLogcontent("用户: admin登录成功");
      log83.setBroswer("MSIE 9.0");
      log83.setNote("192.168.1.103");
      log83.setTSUser(admin);
      log83.setOperatetime(DataUtils.parseTimestamp("2013-3-21 21:22:57",
          "yyyy-MM-dd HH:mm"));
      log83.setOperatetype((short) 1);
      log83.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log83);

      TSLog log84 = new TSLog();
      log84.setLogcontent("物品: 55添加成功");
      log84.setBroswer("MSIE 9.0");
      log84.setNote("192.168.1.103");
      log84.setTSUser(admin);
      log84.setOperatetime(DataUtils.parseTimestamp("2013-3-21 21:23:12",
          "yyyy-MM-dd HH:mm"));
      log84.setOperatetype((short) 1);
      log84.setLoglevel((short) 3);
      commonDao.saveOrUpdate(log84);

      TSLog log85 = new TSLog();
      log85.setLogcontent("物品: 33添加成功");
      log85.setBroswer("MSIE 9.0");
      log85.setNote("192.168.1.103");
      log85.setTSUser(admin);
      log85.setOperatetime(DataUtils.parseTimestamp("2013-3-21 21:23:47",
          "yyyy-MM-dd HH:mm"));
      log85.setOperatetype((short) 1);
      log85.setLoglevel((short) 3);
      commonDao.saveOrUpdate(log85);

      TSLog log86 = new TSLog();
      log86.setLogcontent("用户: admin登录成功");
      log86.setBroswer("MSIE 9.0");
      log86.setNote("192.168.1.103");
      log86.setTSUser(admin);
      log86.setOperatetime(DataUtils.parseTimestamp("2013-3-21 21:25:09",
          "yyyy-MM-dd HH:mm"));
      log86.setOperatetype((short) 1);
      log86.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log86);

      TSLog log87 = new TSLog();
      log87.setLogcontent("用户: admin登录成功");
      log87.setBroswer("MSIE 9.0");
      log87.setNote("192.168.1.103");
      log87.setTSUser(admin);
      log87.setOperatetime(DataUtils.parseTimestamp("2013-3-21 21:27:58",
          "yyyy-MM-dd HH:mm"));
      log87.setOperatetype((short) 1);
      log87.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log87);

      TSLog log88 = new TSLog();
      log88.setLogcontent("权限: 采购审批被添加成功");
      log88.setBroswer("MSIE 9.0");
      log88.setNote("192.168.1.103");
      log88.setTSUser(admin);
      log88.setOperatetime(DataUtils.parseTimestamp("2013-3-21 21:29:04",
          "yyyy-MM-dd HH:mm"));
      log88.setOperatetype((short) 1);
      log88.setLoglevel((short) 3);
      commonDao.saveOrUpdate(log88);

      TSLog log89 = new TSLog();
      log89.setLogcontent("权限: 采购审批被更新成功");
      log89.setBroswer("MSIE 9.0");
      log89.setNote("192.168.1.103");
      log89.setTSUser(admin);
      log89.setOperatetime(DataUtils.parseTimestamp("2013-3-21 21:29:56",
          "yyyy-MM-dd HH:mm"));
      log89.setOperatetype((short) 1);
      log89.setLoglevel((short) 5);
      commonDao.saveOrUpdate(log89);

      TSLog log90 = new TSLog();
      log90.setLogcontent("权限: 采购审批被更新成功");
      log90.setBroswer("MSIE 9.0");
      log90.setNote("192.168.1.103");
      log90.setTSUser(admin);
      log90.setOperatetime(DataUtils.parseTimestamp("2013-3-21 21:30:08",
          "yyyy-MM-dd HH:mm"));
      log90.setOperatetype((short) 1);
      log90.setLoglevel((short) 5);
      commonDao.saveOrUpdate(log90);

      TSLog log91 = new TSLog();
      log91.setLogcontent("用户: admin更新成功");
      log91.setBroswer("MSIE 9.0");
      log91.setNote("192.168.1.103");
      log91.setTSUser(admin);
      log91.setOperatetime(DataUtils.parseTimestamp("2013-3-21 21:31:21",
          "yyyy-MM-dd HH:mm"));
      log91.setOperatetype((short) 1);
      log91.setLoglevel((short) 5);
      commonDao.saveOrUpdate(log91);

      TSLog log92 = new TSLog();
      log92.setLogcontent("流程参数: 采购审批员审批被添加成功");
      log92.setBroswer("MSIE 9.0");
      log92.setNote("192.168.1.103");
      log92.setTSUser(admin);
      log92.setOperatetime(DataUtils.parseTimestamp("2013-3-21 21:36:03",
          "yyyy-MM-dd HH:mm"));
      log92.setOperatetype((short) 1);
      log92.setLoglevel((short) 3);
      commonDao.saveOrUpdate(log92);

      TSLog log93 = new TSLog();
      log93.setLogcontent("流程参数: 采购审批员审批被更新成功");
      log93.setBroswer("MSIE 9.0");
      log93.setNote("192.168.1.103");
      log93.setTSUser(admin);
      log93.setOperatetime(DataUtils.parseTimestamp("2013-3-21 21:36:11",
          "yyyy-MM-dd HH:mm"));
      log93.setOperatetype((short) 1);
      log93.setLoglevel((short) 5);
      commonDao.saveOrUpdate(log93);

      TSLog log94 = new TSLog();
      log94.setLogcontent("流程参数: 采购审批员审批被更新成功");
      log94.setBroswer("MSIE 9.0");
      log94.setNote("192.168.1.103");
      log94.setTSUser(admin);
      log94.setOperatetime(DataUtils.parseTimestamp("2013-3-21 21:37:16",
          "yyyy-MM-dd HH:mm"));
      log94.setOperatetype((short) 1);
      log94.setLoglevel((short) 5);
      commonDao.saveOrUpdate(log94);

      TSLog log95 = new TSLog();
      log95.setLogcontent("流程类别: 采购审批员审批被删除 成功");
      log95.setBroswer("MSIE 9.0");
      log95.setNote("192.168.1.103");
      log95.setTSUser(admin);
      log95.setOperatetime(DataUtils.parseTimestamp("2013-3-21 21:38:20",
          "yyyy-MM-dd HH:mm"));
      log95.setOperatetype((short) 1);
      log95.setLoglevel((short) 4);
      commonDao.saveOrUpdate(log95);

      TSLog log96 = new TSLog();
      log96.setLogcontent("物品: 44添加成功");
      log96.setBroswer("MSIE 9.0");
      log96.setNote("192.168.1.103");
      log96.setTSUser(admin);
      log96.setOperatetime(DataUtils.parseTimestamp("2013-3-21 21:43:51",
          "yyyy-MM-dd HH:mm"));
      log96.setOperatetype((short) 1);
      log96.setLoglevel((short) 3);
      commonDao.saveOrUpdate(log96);

      TSLog log97 = new TSLog();
      log97.setLogcontent("用户: admin登录成功");
      log97.setBroswer("MSIE 9.0");
      log97.setNote("192.168.1.105");
      log97.setTSUser(admin);
      log97.setOperatetime(DataUtils.parseTimestamp("2013-2-7 10:10:29",
          "yyyy-MM-dd HH:mm"));
      log97.setOperatetype((short) 1);
      log97.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log97);

      TSLog log98 = new TSLog();
      log98.setLogcontent("权限: 上传下载被添加成功");
      log98.setBroswer("MSIE 9.0");
      log98.setNote("192.168.1.105");
      log98.setTSUser(admin);
      log98.setOperatetime(DataUtils.parseTimestamp("2013-2-7 11:07:26",
          "yyyy-MM-dd HH:mm"));
      log98.setOperatetype((short) 1);
      log98.setLoglevel((short) 3);
      commonDao.saveOrUpdate(log98);

      TSLog log99 = new TSLog();
      log99.setLogcontent("权限: 插件演示被删除成功");
      log99.setBroswer("MSIE 9.0");
      log99.setNote("192.168.1.105");
      log99.setTSUser(admin);
      log99.setOperatetime(DataUtils.parseTimestamp("2013-2-7 11:07:39",
          "yyyy-MM-dd HH:mm"));
      log99.setOperatetype((short) 1);
      log99.setLoglevel((short) 4);
      commonDao.saveOrUpdate(log99);

      TSLog log100 = new TSLog();
      log100.setLogcontent("用户: admin登录成功");
      log100.setBroswer("MSIE 9.0");
      log100.setNote("192.168.1.105");
      log100.setTSUser(admin);
      log100.setOperatetime(DataUtils.parseTimestamp("2013-2-7 11:07:54",
          "yyyy-MM-dd HH:mm"));
      log100.setOperatetype((short) 1);
      log100.setLoglevel((short) 1);
      commonDao.saveOrUpdate(log100);
    } catch (ParseException e) {
      e.printStackTrace();
    }
  }
View Full Code Here


            rs=st.executeQuery(sql9);
            List log = new ArrayList();
            i=1;
            while(rs.next())
            {
                TSLog slog = new TSLog();
                slog.setId(i+"");
//                 org.jeecgframework.core.util.LogUtil.info(rs.getString("signaturefile"));
//                 suer.setSignatureFile(rs.getString("signaturefile"));
//                 tsType.setTypename(rs.getString("typename"));
//                 tsType.setTypecode(rs.getString("typecode"));
//                 type.add(tsType);
                   slog.setId(i+"");
//                   org.jeecgframework.core.util.LogUtil.info(rs.getString("logcontent"));
                   slog.setLogcontent(rs.getString("logcontent"));
                   slog.setLoglevel(rs.getShort("loglevel"));
                   slog.setBroswer(rs.getString("broswer"));
                   slog.setNote(rs.getString("note"));
                   slog.setOperatetime(rs.getTimestamp("operatetime"));
                   slog.setOperatetype(rs.getShort("operatetype"));
                   log.add(slog);
                 i++;
            }
            root.put("log", log);
           
View Full Code Here

   * 添加日志
   */
  public void addLog(String logcontent, Short loglevel, Short operatetype) {
    HttpServletRequest request = ContextHolderUtils.getRequest();
    String broswer = BrowserUtils.checkBrowse(request);
    TSLog log = new TSLog();
    log.setLogcontent(logcontent);
    log.setLoglevel(loglevel);
    log.setOperatetype(operatetype);
    log.setNote(oConvertUtils.getIp());
    log.setBroswer(broswer);
    log.setOperatetime(DataUtils.gettimestamp());
    log.setTSUser(ResourceUtil.getSessionUserName());
    commonDao.save(log);
  }
View Full Code Here

TOP

Related Classes of org.jeecgframework.web.system.pojo.base.TSLog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.