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

Commit 4954cc0d authored by sunyuntian's avatar sunyuntian

判断京津冀无特快

parent 537e65af
......@@ -67,11 +67,14 @@ public class KylinFreightChargeServiceImpl {
String productCode = kylinExpressModuleVo.getProductCode().toString(); //快件类型码
String adcode = (String) adMap.get("adcode");
String dAddress = (String) adMap.get("name");
if (dProvince.equals("北京市") || dProvince.equals("天津市") || dProvince.equals("河北省")){
if (productCode.equals("1")){
hBody.put("expressType", "2");//快递类型
}else {
hBody.put("expressType", productCode);//快递类型
}
}
hBody.put("dProvince", dProvince); //省
hBody.put("dCity", dCity);
hBody.put("dAddress", dAddress);
......
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