|
|
|
@ -795,14 +795,14 @@ public class IoOrderDetailBizController extends BaseController {
|
|
|
|
|
addBizProductReqeust.setOrderEntity(ioOrderEntity);
|
|
|
|
|
}
|
|
|
|
|
addBizProductReqeust.setProductType(udiRelevanceResponse.getProductType());
|
|
|
|
|
// BaseResponse response = orderDetailBizService.addBizProduct(addBizProductReqeust);
|
|
|
|
|
// if (response.getCode() != 20000) {
|
|
|
|
|
// return response;
|
|
|
|
|
// }
|
|
|
|
|
// if (i == 0) {
|
|
|
|
|
// ioOrderEntity = JSONObject.parseObject(JSONObject.toJSONString(response.getData()), IoOrderEntity.class);
|
|
|
|
|
// addBizProductReqeust.setOrderEntity(ioOrderEntity);
|
|
|
|
|
// }
|
|
|
|
|
BaseResponse response = orderDetailBizService.addBizProduct(addBizProductReqeust);
|
|
|
|
|
if (response.getCode() != 20000) {
|
|
|
|
|
return response;
|
|
|
|
|
}
|
|
|
|
|
if (i == 0) {
|
|
|
|
|
ioOrderEntity = JSONObject.parseObject(JSONObject.toJSONString(response.getData()), IoOrderEntity.class);
|
|
|
|
|
addBizProductReqeust.setOrderEntity(ioOrderEntity);
|
|
|
|
|
}
|
|
|
|
|
AddOrderRequest addOrderRequest = new AddOrderRequest();
|
|
|
|
|
BeanUtils.copyProperties(ioOrderEntity, addOrderRequest);
|
|
|
|
|
|
|
|
|
|