|
|
|
@ -94,8 +94,8 @@ public class RecycleOrderServiceImpl extends ServiceImpl<RecycleOrderMapper, Rec
|
|
|
|
|
throw new DbException("散户不存在");
|
|
|
|
|
}
|
|
|
|
|
RecycleOrder recycleOrder = BeanUtils.copyBean(orderCreateVO, RecycleOrder.class, (source, target) -> {
|
|
|
|
|
target.setLatitude(source.getLocationDTO().getLatitude());
|
|
|
|
|
target.setLongitude(source.getLocationDTO().getLongitude());
|
|
|
|
|
target.setLatitude(source.getLocation().getLatitude());
|
|
|
|
|
target.setLongitude(source.getLocation().getLongitude());
|
|
|
|
|
});
|
|
|
|
|
String idNumber = CommonUtil.getIdNumber(BusinessCodeEnum.ORDER.getCode());
|
|
|
|
|
recycleOrder.setClientId(client.getId());
|
|
|
|
|