摘要: function rejectUserCountPage(){ $('#dg').datagrid('options').queryParams = { 'state' : 3 }; $('#dg').datagrid('load'); } 阅读全文
posted @ 2017-04-20 09:16 JLCUI 阅读(841) 评论(0) 推荐(0) 编辑
摘要: Map<Object, Object> m = JSONProcesser.parseDataToMap(result); /** * 将json转为map * lidhai * @param data * @return */ public static Map<Object, Object> p 阅读全文
posted @ 2017-04-11 13:45 JLCUI 阅读(182) 评论(0) 推荐(0) 编辑
摘要: columns:[[ {field:'ck',checkbox:true,id:'ck'}, {field:'id',hidden:true,title:'id'}, {field:'action',title:'操作',align:'center',formatter:formatAction}, 阅读全文
posted @ 2017-04-08 14:23 JLCUI 阅读(492) 评论(0) 推荐(0) 编辑
摘要: jxl.write.NumberFormat nf = new jxl.write.NumberFormat("#,##0.00"); // 设置数字格式 jxl.write.WritableCellFormat wcfN = new jxl.write.WritableCellFormat(nf) 阅读全文
posted @ 2017-04-08 14:01 JLCUI 阅读(1102) 评论(0) 推荐(0) 编辑
摘要: timestamp=getUrlParam("timestamps"); function getUrlParam(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); var r = window.location.sear 阅读全文
posted @ 2017-04-05 14:15 JLCUI 阅读(9309) 评论(0) 推荐(0) 编辑
摘要: package net.joystart.vehicle.enums; import net.joystart.order.enums.OrderStatus; public enum VehicleStatus { /** 未定义 */ UNDEFINED(-1){public String ge 阅读全文
posted @ 2017-03-31 14:29 JLCUI 阅读(138) 评论(0) 推荐(0) 编辑
摘要: // 定义实体转json需要方法 Product product = new Product(); GsonBuilder gb = new GsonBuilder(); gb.registerTypeAdapter(java.util.Date.class, new DateSerializer( 阅读全文
posted @ 2017-03-31 13:36 JLCUI 阅读(217) 评论(0) 推荐(0) 编辑
摘要: CASE WHEN TIMESTAMPDIFF(MINUTE,o.createDate,o.chargingStartDate) !=15 THEN 'APP解锁计费' ELSE '系统自动计费' END TIMESTAMPDIFF(MINUTE,o.createDate,o.chargingSta 阅读全文
posted @ 2017-03-28 11:04 JLCUI 阅读(24757) 评论(0) 推荐(0) 编辑
摘要: String[] ids = activityIds.split("\\,"); res = activitiesService.deleteActivity(ids); int deleteActivity(String[] ids); public int deleteActivity(Stri 阅读全文
posted @ 2017-03-28 09:26 JLCUI 阅读(249) 评论(0) 推荐(0) 编辑
摘要: post 请求: function deleteActivity(){ var path = '<%=request.getContextPath()%>/activity/deleteActivity'; var rows = $('#dg').datagrid('getChecked'); if 阅读全文
posted @ 2017-03-21 16:57 JLCUI 阅读(490) 评论(0) 推荐(0) 编辑