摘要: com.alibaba fastjson 1.2.24 Map map=new HashMap(); map.put("page_size","10"); map.put("page_index","1"); String param= JSON.toJSONString(map); Map resultMap = new HashMap(); ... 阅读全文
posted @ 2019-04-28 16:01 DebuGger丶 阅读(6577) 评论(0) 推荐(0) 编辑
摘要: 使用 <set></set>可以智能去掉最后一个逗号,十分方便! 阅读全文
posted @ 2019-02-12 13:06 DebuGger丶 阅读(1478) 评论(0) 推荐(0) 编辑
摘要: data-url 直接使用data-url在table标签中定义 使用load方法加载数据 $(“#finishingTask”).bootstrapTable(‘load’,data); //data为json数组 jquery.ajax取值 $.ajax( { type:"GET", url:" 阅读全文
posted @ 2019-01-15 15:33 DebuGger丶 阅读(342) 评论(0) 推荐(0) 编辑
摘要: DIv样式 <div id= "inner_stop" class="progress progress-striped active" style= "width: 50%;margin: auto;"> <div id="inner" class="progress-bar progress-b 阅读全文
posted @ 2019-01-11 14:07 DebuGger丶 阅读(192) 评论(0) 推荐(0) 编辑
摘要: import java.text.SimpleDateFormat;import java.util.Calendar; public class DayTest { public static void main(String[] args) { try { // 获取当前时间 Calendar 阅读全文
posted @ 2019-01-03 13:56 DebuGger丶 阅读(876) 评论(0) 推荐(0) 编辑
摘要: 获取某个日期的上个月(日期格式为 xxxx-xx-xx) <script type="text/javascript"> function getPreMonth(date) { var arr = date.split('-'); //用-将获取到的日期分割 var year = arr[0]; 阅读全文
posted @ 2018-12-20 14:06 DebuGger丶 阅读(980) 评论(0) 推荐(0) 编辑
摘要: INSERT INTO TbaleName(字段名) SELECT (字段名) FROM TbaleName WHERE 1=1 AND 注意A表与B表之间表字段名对其,结构相同。 阅读全文
posted @ 2018-11-29 14:38 DebuGger丶 阅读(201) 评论(0) 推荐(0) 编辑