Commit 8b04c2d3 by jianan

新单跟进94

parent c679646c
...@@ -95,7 +95,7 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerMapper, Customer> ...@@ -95,7 +95,7 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerMapper, Customer>
@Override @Override
public CustomerExpand getCustomerExpand(CustomerAddRequest customerAddRequest) { public CustomerExpand getCustomerExpand(CustomerAddRequest customerAddRequest) {
CustomerExpand customerExpand = new CustomerExpand(); CustomerExpand customerExpand = new CustomerExpand();
BeanUtils.copyProperties(customerAddRequest, customerExpand); BeanUtils.copyProperties(customerAddRequest, customerExpand, "addressList");
List<AddressVO> addressList = customerAddRequest.getAddressList(); List<AddressVO> addressList = customerAddRequest.getAddressList();
if (CollUtil.isNotEmpty(addressList)) { if (CollUtil.isNotEmpty(addressList)) {
customerExpand.setAddressList(GSON.toJson(addressList)); customerExpand.setAddressList(GSON.toJson(addressList));
......
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