|
@@ -722,14 +722,15 @@ public class BmstruckDetailsOrderServiceImpl implements IBmstruckDetailsOrderSer
|
|
Map<String, Object> stringObjectMap = bmstruckDetailsOrderMapper.getsaleShippingAddressId(mapValue);
|
|
Map<String, Object> stringObjectMap = bmstruckDetailsOrderMapper.getsaleShippingAddressId(mapValue);
|
|
BigDecimal saleShippingAddressId = (BigDecimal) stringObjectMap.get("saleShippingAddressId");
|
|
BigDecimal saleShippingAddressId = (BigDecimal) stringObjectMap.get("saleShippingAddressId");
|
|
BigDecimal historyShippingAddressId = (BigDecimal) stringObjectMap.get("historyShippingAddressId");
|
|
BigDecimal historyShippingAddressId = (BigDecimal) stringObjectMap.get("historyShippingAddressId");
|
|
- if (historyShippingAddressId!=null){
|
|
|
|
- //修改地址(不修改历史地址)
|
|
|
|
- bmstruckDetailsOrderMapper.updatePlaceNew(mapValue);
|
|
|
|
- }else if (historyShippingAddressId==null ) {
|
|
|
|
- mapValue.put("historyPlaceId", saleShippingAddressId);
|
|
|
|
- //修改地址(不修改历史地址)
|
|
|
|
- bmstruckDetailsOrderMapper.updatePlace(mapValue);
|
|
|
|
- }
|
|
|
|
|
|
+ bmstruckDetailsOrderMapper.updateActuallyPlace(mapValue);
|
|
|
|
+ //if (historyShippingAddressId!=null){
|
|
|
|
+ // //修改地址(不修改历史地址)
|
|
|
|
+ // bmstruckDetailsOrderMapper.updatePlaceNew(mapValue);
|
|
|
|
+ //}else if (historyShippingAddressId==null ) {
|
|
|
|
+ // mapValue.put("historyPlaceId", saleShippingAddressId);
|
|
|
|
+ // //修改地址(不修改历史地址)
|
|
|
|
+ // bmstruckDetailsOrderMapper.updatePlace(mapValue);
|
|
|
|
+ //}
|
|
}
|
|
}
|
|
return result;
|
|
return result;
|
|
}
|
|
}
|
|
@@ -741,14 +742,15 @@ public class BmstruckDetailsOrderServiceImpl implements IBmstruckDetailsOrderSer
|
|
Map<String, Object> stringObjectMap = bmstruckDetailsOrderMapper.getsaleShippingAddressId(mapValue);
|
|
Map<String, Object> stringObjectMap = bmstruckDetailsOrderMapper.getsaleShippingAddressId(mapValue);
|
|
BigDecimal saleShippingAddressId = (BigDecimal) stringObjectMap.get("saleShippingAddressId");
|
|
BigDecimal saleShippingAddressId = (BigDecimal) stringObjectMap.get("saleShippingAddressId");
|
|
BigDecimal historyShippingAddressId = (BigDecimal) stringObjectMap.get("historyShippingAddressId");
|
|
BigDecimal historyShippingAddressId = (BigDecimal) stringObjectMap.get("historyShippingAddressId");
|
|
- if (historyShippingAddressId!=null){
|
|
|
|
- //修改地址(不修改历史地址)
|
|
|
|
- bmstruckDetailsOrderMapper.updatePlaceNew(mapValue);
|
|
|
|
- }else if (historyShippingAddressId==null ) {
|
|
|
|
- mapValue.put("historyPlaceId", saleShippingAddressId);
|
|
|
|
- //修改地址(不修改历史地址)
|
|
|
|
- bmstruckDetailsOrderMapper.updatePlace(mapValue);
|
|
|
|
- }
|
|
|
|
|
|
+ bmstruckDetailsOrderMapper.updateActuallyPlace(mapValue);
|
|
|
|
+ //if (historyShippingAddressId!=null){
|
|
|
|
+ // //修改地址(不修改历史地址)
|
|
|
|
+ // bmstruckDetailsOrderMapper.updatePlaceNew(mapValue);
|
|
|
|
+ //}else if (historyShippingAddressId==null ) {
|
|
|
|
+ // mapValue.put("historyPlaceId", saleShippingAddressId);
|
|
|
|
+ // //修改地址(不修改历史地址)
|
|
|
|
+ // bmstruckDetailsOrderMapper.updatePlace(mapValue);
|
|
|
|
+ //}
|
|
}
|
|
}
|
|
return bmstruckDetailsOrderMapper.updateAsomPriceId(mapValue);
|
|
return bmstruckDetailsOrderMapper.updateAsomPriceId(mapValue);
|
|
}
|
|
}
|