|
@@ -1143,16 +1143,16 @@ public class AmsSaleOrderController<RedisTemplate> extends BaseRESTfulController
|
|
public RESTfulResult updateCarAddress(@RequestBody Map<String, Object> mapValue) throws Exception {
|
|
public RESTfulResult updateCarAddress(@RequestBody Map<String, Object> mapValue) throws Exception {
|
|
int result = amsSaleOrderService.updateCarAddress(mapValue);
|
|
int result = amsSaleOrderService.updateCarAddress(mapValue);
|
|
//查询单拼的数据
|
|
//查询单拼的数据
|
|
- try {
|
|
|
|
- BigDecimal orderId = DataChange.dataToBigDecimal(mapValue.get("orderId"));
|
|
|
|
- BigDecimal capacityIdS=amsSaleOrderMapper.queueSingle(orderId);
|
|
|
|
- if (capacityIdS !=null){
|
|
|
|
- //删除单拼
|
|
|
|
- amsSaleOrderMapper.delectQueueS(capacityIdS);
|
|
|
|
- }
|
|
|
|
- }catch (Exception e){
|
|
|
|
- e.printStackTrace();
|
|
|
|
- }
|
|
|
|
|
|
+ //try {
|
|
|
|
+ // BigDecimal orderId = DataChange.dataToBigDecimal(mapValue.get("orderId"));
|
|
|
|
+ // BigDecimal capacityIdS=amsSaleOrderMapper.queueSingle(orderId);
|
|
|
|
+ // if (capacityIdS !=null){
|
|
|
|
+ // //删除单拼
|
|
|
|
+ // amsSaleOrderMapper.delectQueueS(capacityIdS);
|
|
|
|
+ // }
|
|
|
|
+ //}catch (Exception e){
|
|
|
|
+ // e.printStackTrace();
|
|
|
|
+ //}
|
|
if (result == 0) {
|
|
if (result == 0) {
|
|
// 如果返回结果为0,则认定是关闭了车辆
|
|
// 如果返回结果为0,则认定是关闭了车辆
|
|
BigDecimal saleOrderMaterialId = DataChange.dataToBigDecimal(mapValue.get("saleOrderMaterialId"));
|
|
BigDecimal saleOrderMaterialId = DataChange.dataToBigDecimal(mapValue.get("saleOrderMaterialId"));
|