摘要: MySQL可以通过field()函数自定义排序,格式:field(value,str1,str2,str3,str4),value与str1、str2、str3、str4比较,返回1、2、3、4,如遇到null或者不在列表中的数据则返回0.mysql> select * from driver_lo... 阅读全文
posted @ 2014-09-09 16:54 GrandKai 阅读(324) 评论(0) 推荐(0)
摘要: C:\Windows\system32>mysql -hlocalhoset -uroot -pEnter password: *****mysql> use sshDatabase changedmysql> show tables;+----------------+| Tables_in_ss... 阅读全文
posted @ 2014-09-09 12:38 GrandKai 阅读(1058) 评论(0) 推荐(0)
摘要: public class BaseAction extends ActionSupport implements ModelDriven { private static final long serialVersionUID = 1L; protec... 阅读全文
posted @ 2014-09-09 11:09 GrandKai 阅读(945) 评论(0) 推荐(0)