|
|
|
@@ -170,8 +170,8 @@ public class InvestBizServiceImpl implements InvestBizService { |
|
|
|
InvestHelper.notNull(customerDto, customerDto.getDemandId()); |
|
|
|
InvestDemandEntity demandEntity = demandService.getByIdNotNull(customerDto.getDemandId()); |
|
|
|
InvestCustomerEntity customerEntity = new InvestCustomerEntity(); |
|
|
|
customerDto.setId(demandEntity.getCustomerId()); |
|
|
|
BeanUtils.copyProperties(customerDto, customerEntity); |
|
|
|
customerEntity.setId(customerDto.getId()); |
|
|
|
customerService.updateById(customerEntity); |
|
|
|
setValDmand(customerDto, demandEntity); |
|
|
|
return demandService.updateById(demandEntity); |
|
|
|
|