haungfuli 3 år sedan
förälder
incheckning
73d82b70ec

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

@@ -145,6 +145,7 @@ public class CargoOwnerInfoServiceImpl extends ServiceImpl<CargoOwnerInfoMapper,
         else{
             //新增主键id
             hyCargoOwnerInfo.setId(IdGenerator.generateUUID());
+            hyCargoOwnerInfo.setAdvancePayment(0.7d);
             //判断是否存在货主身份
             HyCargoOwnerInfo hyCargoOwnerInfo2 = this.selectOne(new EntityWrapper<HyCargoOwnerInfo>().eq("phone",hyCargoOwnerInfo.getPhone())
                     .eq("card_number",hyCargoOwnerInfo.getCardNumber()).eq("delete_flag", NumberConstant.CONSTANT0));

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

@@ -11,12 +11,10 @@ import com.yh.saas.plugin.yiliangyiyun.entity.view.GpsView;
 import com.yh.saas.plugin.yiliangyiyun.mapper.HyOrderTravelPathMapper;
 import com.yh.saas.plugin.yiliangyiyun.service.*;
 import com.yh.saas.plugin.yiliangyiyun.util.PositionUtil;
-import org.apache.http.util.EntityUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
 import java.math.BigDecimal;
-import java.text.NumberFormat;
 import java.text.SimpleDateFormat;
 import java.util.*;
 
@@ -82,6 +80,7 @@ public class HyOrderTravelPathServiceImpl extends ServiceImpl<HyOrderTravelPathM
         return hyOrderTravelPath1;
     }
 
+
     public void login() {
         try {
             Map<String, String> map = new HashMap<String, String>(4);