|
|
|
@@ -130,7 +130,7 @@ public class InvestBizServiceImpl implements InvestBizService { |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
@Override |
|
|
|
public boolean saveCustomerAndDemand(InvestDemandDto demandDto) { |
|
|
|
InvestHelper.allNotNull(demandDto, demandDto.getCustomerId()); |
|
|
|
InvestHelper.allNotNull(demandDto); |
|
|
|
InvestCustomerEntity customerEntity = demandDto.getCustomer(); |
|
|
|
InvestCustomerEntity customerEntityDB = customerService.getById(demandDto.getCustomerId()); |
|
|
|
if (Objects.nonNull(customerEntity)) { |
|
|
|
|