Fix:BeanUtils.copyProperties(ordersDO,ordersSaveReqVO);
This commit is contained in:
parent
73194f5f42
commit
058bf99296
|
@ -336,7 +336,7 @@ public class DouDianOrderCatchServiceImpl implements OrderCatchService {
|
|||
orderListAll.addAll(orderList);
|
||||
for (OrdersDO ordersDO : orderList) {
|
||||
OrdersSaveReqVO ordersSaveReqVO = new OrdersSaveReqVO();
|
||||
BeanUtils.copyProperties(ordersSaveReqVO,ordersDO);
|
||||
BeanUtils.copyProperties(ordersDO,ordersSaveReqVO);
|
||||
ordersService.createOrders(ordersSaveReqVO);
|
||||
}
|
||||
// ordersMapper.insertBatch(orderList);
|
||||
|
@ -518,7 +518,7 @@ public class DouDianOrderCatchServiceImpl implements OrderCatchService {
|
|||
//调用创建订单流程,触发发送短信
|
||||
for (OrdersDO ordersDO : orderList) {
|
||||
OrdersSaveReqVO ordersSaveReqVO = new OrdersSaveReqVO();
|
||||
BeanUtils.copyProperties(ordersSaveReqVO,ordersDO);
|
||||
BeanUtils.copyProperties(ordersDO,ordersSaveReqVO);
|
||||
ordersService.createOrders(ordersSaveReqVO);
|
||||
}
|
||||
// ordersMapper.insertBatch(orderList);
|
||||
|
|
Loading…
Reference in New Issue