ccj 3 年之前
父節點
當前提交
b634753e42

+ 4 - 1
winsea-haixin-plugin-wangluohuoyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/service/impl/HyOrderTravelPathServiceImpl.java

@@ -39,7 +39,10 @@ public class HyOrderTravelPathServiceImpl extends ServiceImpl<HyOrderTravelPathM
             this.insert(hyOrderTravelPath);
             this.insert(hyOrderTravelPath);
         }
         }
         else{
         else{
-            hyOrderTravelPath1.setLongitudeLatitude(hyOrderTravelPath1.getLongitudeLatitude()+hyOrderTravelPath.getLongitudeLatitude());
+            hyOrderTravelPath1.setLongitudeLatitude(hyOrderTravelPath1.getLongitudeLatitude()
+                    .substring(0,hyOrderTravelPath1.getLongitudeLatitude().length()-1)+","
+                    +hyOrderTravelPath.getLongitudeLatitude()
+                    .substring(1));
             this.updateById(hyOrderTravelPath1);
             this.updateById(hyOrderTravelPath1);
         }
         }
         return "ok";
         return "ok";