记得上下班打卡 | git大法好,push需谨慎

Commit 64684c06 authored by sunyuntian's avatar sunyuntian

修改 价格字段

parent 30a31d56
...@@ -78,12 +78,13 @@ public class KylinFreightChargeServiceImpl { ...@@ -78,12 +78,13 @@ public class KylinFreightChargeServiceImpl {
String result = shunfengSignUtils.generateSignatureAndRequestNew(hBody, "/public/order/v1/getFreight"); String result = shunfengSignUtils.generateSignatureAndRequestNew(hBody, "/public/order/v1/getFreight");
HashMap hashMap = JsonUtils.fromJson(result, HashMap.class); HashMap hashMap = JsonUtils.fromJson(result, HashMap.class);
HashMap<String, String> map = (HashMap<String, String>) hashMap.get("result"); HashMap<String, String> map = (HashMap<String, String>) hashMap.get("result");
String price = map.get("price");
String p = price.replace("元",".00");
kylinFreightCharge.setFieldsId(IDGenerator.nextTimeId2()); kylinFreightCharge.setFieldsId(IDGenerator.nextTimeId2());
kylinFreightCharge.setProvince(dProvince); kylinFreightCharge.setProvince(dProvince);
kylinFreightCharge.setCity(dCity); kylinFreightCharge.setCity(dCity);
kylinFreightCharge.setAdname(dAddress); kylinFreightCharge.setAdname(dAddress);
kylinFreightCharge.setPrice(map.get("price")); kylinFreightCharge.setPrice(p);
kylinFreightCharge.setAdcode(adcode); kylinFreightCharge.setAdcode(adcode);
kylinFreightCharge.setBusinessType(map.get("businessType")); kylinFreightCharge.setBusinessType(map.get("businessType"));
kylinFreightCharge.setBusinessTypeDesc(map.get("businessTypeDesc")); kylinFreightCharge.setBusinessTypeDesc(map.get("businessTypeDesc"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment