|
@@ -79,7 +79,7 @@ public class AmsContractTruckPriceController extends BaseRESTfulController {
|
|
|
|
|
|
String s = (String) stringObjectMap.get("addressProvince");
|
|
|
if(s!=null){
|
|
|
- addressProvince= s.replaceAll("省", "");
|
|
|
+ addressProvince= s.replaceAll("省", "").replace("市","");
|
|
|
}
|
|
|
|
|
|
String s1 = (String) stringObjectMap.get("addressDistrict");
|
|
@@ -171,7 +171,7 @@ public class AmsContractTruckPriceController extends BaseRESTfulController {
|
|
|
amsContractTransportPrice.setCarrierId(bigDecimal);
|
|
|
}*/
|
|
|
|
|
|
- amsContractTruckPriceMapper.updateForImport(placeId,simpleDateFormat.format(date));
|
|
|
+ amsContractTruckPriceMapper.updateForImport(priceId,simpleDateFormat.format(date));
|
|
|
if (carrierName!=null){
|
|
|
String[] split = carrierName.split("/");
|
|
|
for (String s2 : split) {
|