Commit af728e2d by zhangxingmin

push

parent e0d2344b
...@@ -37,7 +37,7 @@ public class ApiTaxationServiceImpl implements ApiTaxationService { ...@@ -37,7 +37,7 @@ public class ApiTaxationServiceImpl implements ApiTaxationService {
if (!CollectionUtils.isEmpty(dto.getApiTaxationDtoList())) { if (!CollectionUtils.isEmpty(dto.getApiTaxationDtoList())) {
List<Taxation> saveList = dto.getApiTaxationDtoList().stream().map(d -> { List<Taxation> saveList = dto.getApiTaxationDtoList().stream().map(d -> {
Taxation taxation = new Taxation(); Taxation taxation = new Taxation();
BeanUtils.copyProperties(d,taxation); BeanUtils.copyProperties(dto,taxation);
taxation.setTaxId(d.getTaxId()); taxation.setTaxId(d.getTaxId());
taxation.setTaxCountry(d.getTaxCountry()); taxation.setTaxCountry(d.getTaxCountry());
taxation.setTaxationBizId(RandomStringGenerator.generateBizId16(CommonEnum.UID_TYPE_TAXATION.getCode())); taxation.setTaxationBizId(RandomStringGenerator.generateBizId16(CommonEnum.UID_TYPE_TAXATION.getCode()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment