|
@@ -14,7 +14,10 @@ import com.steerinfo.dil.service.impl.AmsSaleOrderMaterialServiceImpl;
|
|
|
import com.steerinfo.dil.util.*;
|
|
|
import com.steerinfo.framework.controller.RESTfulResult;
|
|
|
import com.steerinfo.framework.service.pagehelper.PageHelper;
|
|
|
-import io.swagger.annotations.*;
|
|
|
+import io.swagger.annotations.ApiImplicitParam;
|
|
|
+import io.swagger.annotations.ApiImplicitParams;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
@@ -1101,7 +1104,7 @@ public class AmsSaleOrderController extends BaseRESTfulController {
|
|
|
int result = amsSaleOrderService.updateCarAddress(mapValue);
|
|
|
//查询单拼的数据
|
|
|
try {
|
|
|
- BigDecimal orderId = (BigDecimal) mapValue.get("orderId");
|
|
|
+ BigDecimal orderId = DataChange.dataToBigDecimal(mapValue.get("orderId"));
|
|
|
BigDecimal capacityIdS=amsSaleOrderMapper.queueSingle(orderId);
|
|
|
if (capacityIdS !=null){
|
|
|
//删除单拼
|
|
@@ -1133,6 +1136,10 @@ public class AmsSaleOrderController extends BaseRESTfulController {
|
|
|
Map<String, Object> resultMap = joinFeign.deleteSaleOrderToEas(totalMap);
|
|
|
System.out.println("--------------------------------------------");
|
|
|
System.out.println(resultMap);
|
|
|
+ //Map<String,Object> outMap = (Map<String,Object>) resultMap.get("output");
|
|
|
+ //JSONObject jsonObject = new JSONObject(outMap);
|
|
|
+ //System.out.println(jsonObject);
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
return success(result);
|