摘要: -- 使用 GROUP_CONCAT( DISTINCT --需要去重加 CONCAT_WS(',', NAME) SEPARATOR ',')函数。 SELECT GROUP_CONCAT( DISTINCT CONCAT_WS(',', NAME) SEPARATOR ',' ) NAMEFRO 阅读全文
posted @ 2021-01-21 11:07 pengchengcheng 阅读(1767) 评论(1) 推荐(0) 编辑
摘要: public static JSONObject xmltoJson(String xmlString){ JSONObject obj=new JSONObject(); XMLSerializer xmlSerializer=new XMLSerializer(); String resulSt 阅读全文
posted @ 2020-05-12 15:46 pengchengcheng 阅读(2661) 评论(0) 推荐(0) 编辑
摘要: 引入jar包 commons-codec-1.3.jar commons-httpclient-3.0.jar commons-logging-1.0.4.jar jdom-1.0.jar wsdl4j-1.6.1.jar xfire-all-1.2.6.jar XmlSchema-1.1.jar 阅读全文
posted @ 2020-05-12 15:25 pengchengcheng 阅读(153) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/xuzhw/p/10143626.html 阅读全文
posted @ 2020-05-12 15:04 pengchengcheng 阅读(1518) 评论(0) 推荐(0) 编辑
摘要: /** * 计算两点的距离 * * @param fromPoint * @param toPoint * @return 返回String类型带距离单位 */ public static String measureDistanceStr(LatLng fromPoint, LatLng toPo 阅读全文
posted @ 2020-05-12 15:00 pengchengcheng 阅读(7024) 评论(0) 推荐(1) 编辑
摘要: 首先说以shape字段在oracle中会被自动解析为5个子字段,分别是shape.sdo_gtype,类型分为点,线,面等,点是指只有一组坐标代号为2001,线就是两个点了也就是有两组坐标2002后面的应该都知道了,然后就是shape.sdo_srid,shape.sdo_point.x,shape 阅读全文
posted @ 2020-04-15 11:33 pengchengcheng 阅读(1595) 评论(0) 推荐(0) 编辑
摘要: 下面分享一下本人写的工具类,手码的,代码如有写错望指正 1 //body参数是用来作为xml参数最外层的标签头的 2 public static String jsontoXmlString(JSONObject jsonObject,String body){ 3 Set f=jsonObject 阅读全文
posted @ 2020-04-08 17:38 pengchengcheng 阅读(2601) 评论(0) 推荐(0) 编辑