上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 20 下一页
摘要: public class ZCloudSignUtil { public static boolean verify(Map params, String md5_key) { if (params.get("sign") == null) { return false; } String sign = params.get("sign"); // 过滤空值、sign与s... 阅读全文
posted @ 2017-12-26 12:01 JLCUI 阅读(5165) 评论(0) 推荐(0) 编辑
摘要: select a.id vehid,a.PlateNumber platenumber from t_base_vehicle a inner join t_base_vehicle_location b on a.SN=b.sn where a.status=17 and a.modifyDate 阅读全文
posted @ 2017-12-13 16:58 JLCUI 阅读(397) 评论(0) 推荐(0) 编辑
摘要: GsonBuilder gb = new GsonBuilder(); Gson g = gb.create(); Map<Object, Object> map1 = g.fromJson(result, new TypeToken<Map<Object, Object>>() { }.getTy 阅读全文
posted @ 2017-11-25 08:54 JLCUI 阅读(229) 评论(0) 推荐(0) 编辑
摘要: package net.joystart.data; import java.sql.*; import java.util.Map; import java.util.HashMap; import java.util.List; import java.util.ArrayList; import net.joystart.common.util.ConfigUtil; import o... 阅读全文
posted @ 2017-11-22 16:45 JLCUI 阅读(536) 评论(0) 推荐(0) 编辑
摘要: Date d1 = vo.getAllocationtime(); Date d2 = new Date(); long diff = d2.getTime() - d1.getTime();//这样得到的差值是微秒级别 long days = diff / (1000 * 60 * 60 * 24 阅读全文
posted @ 2017-11-10 17:52 JLCUI 阅读(206) 评论(0) 推荐(0) 编辑
摘要: redisTemplate.setValueSerializer(new GenericToStringSerializer<String>(String.class));//设置编码 add cjl redisTemplate.opsForList().leftPush("kpmsg:queue" 阅读全文
posted @ 2017-10-25 11:23 JLCUI 阅读(3998) 评论(0) 推荐(0) 编辑
摘要: package net.joystart.order.service.impl; import java.math.BigDecimal; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; imp... 阅读全文
posted @ 2017-10-17 18:21 JLCUI 阅读(304) 评论(0) 推荐(0) 编辑
摘要: String logsql = "INSERT INTO evrentallogs.log_edaijia(channel,orderId,status,driverNo,sign,createtime) VALUES('"+channel+"','"+orderId+"','"+status+"','"+driverNo+"','"+sign+"',NOW())"; DataBaseUtil.. 阅读全文
posted @ 2017-10-12 17:41 JLCUI 阅读(1037) 评论(0) 推荐(0) 编辑
摘要: @RequestMapping("/getServiceCityList") public void getServiceCityList(HttpServletResponse response,HttpServletRequest request) { String cityId = request.getParameter("id"); int icityId = -1; ... 阅读全文
posted @ 2017-09-29 15:54 JLCUI 阅读(279) 评论(0) 推荐(0) 编辑
摘要: package net.joystart.common.util; import java.io.IOException; import java.io.InputStream; import java.util.Properties; import org.springframework.core.io.ClassPathResource; import org.springfram... 阅读全文
posted @ 2017-09-26 11:03 JLCUI 阅读(186) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 20 下一页