private?<T?extends?Object>?T?getResult(Class<?>?className,?String?sql,
String...?params)?{
List<?>?list?=?getResultList(className,?sql,?params);
if?(list?!=?null?&&?list....
分类:
数据库 时间:
2015-08-30 06:39:21
阅读次数:
155
<if?test="params.status?!=?null"?>
????????????and?a.status?in
????????????<foreach?collection="params.status"?index="index"?item="item"?open="("?...
分类:
数据库 时间:
2015-08-28 20:01:09
阅读次数:
476
了解作者更多
// -------- start genLayoutParams
public static int mCommonHeight = 1920;
public static int mCommonWidth = 1080;
public static int NO_PARAMS = -1001;
public static voi...
分类:
移动开发 时间:
2015-08-28 13:18:01
阅读次数:
199
private static String sendPost(String url, NameValuePair[] params) {HttpClient client = new HttpClient();// 请求超时client.getParams().setParameter(CoreConnectionPNames.CONNECTION_TIMEOUT, 15000);// 读取超时c...
分类:
编程语言 时间:
2015-08-27 13:34:15
阅读次数:
172
@RequestMapping(params = "datagrid") public void datagrid(TbStudentDepEntity tbStudentDep,HttpServletRequest request, HttpServletResponse response, D....
分类:
其他好文 时间:
2015-08-27 12:31:37
阅读次数:
376
Echart1.4.1效果图
如果是最新的2.2.7,大家可以参照官网提供的http://echarts.baidu.com/doc/example/bar15.html
如果是1.4.1,那么color中如果写function(params),params没有向2.2.7中那么多的参数,如果还要颜色随值变化,可以这样处理
var zrColor =...
分类:
其他好文 时间:
2015-08-26 12:09:26
阅读次数:
250
上一章我们学习了抽象类AsyncTask的基本使用(地址:http://blog.csdn.net/wangyongge85/article/details/47988569),下面我将以问答的方法分析AsyncTask源码内容,源码版本为:API22。1. 为什么必须在UI线程实例化我们的AsyncTask,并且必须在主线程中调用execute(Params... params)?在分析为什么在U...
分类:
移动开发 时间:
2015-08-26 01:58:37
阅读次数:
245
jQuery.validator.addMethod(name,method[,message])name方法名method:function(value,element,params)//value表示元素里的值 params表示元素的参数,如minlength的2message表示提示信息//此...
分类:
Web程序 时间:
2015-08-21 17:02:20
阅读次数:
173
从网路获取图片,使用AsyncTask异步通信。
异步代码如下:
public void addTask(String url) {
new AsyncTask() {
@Override
protected Bitmap doInBackground(String... params) {
...
分类:
其他好文 时间:
2015-08-20 15:20:57
阅读次数:
176
AsyncHttpClient client = new AsyncHttpClient();RequestParams params = new RequestParams();params.put("key", "value");params.put("more", "data");client...
分类:
移动开发 时间:
2015-08-20 14:36:32
阅读次数:
154