Commit d7b32eea authored by đinh thị đầm's avatar đinh thị đầm

damdt commit

parent d8886a16
...@@ -34,7 +34,7 @@ public interface CustomerService { ...@@ -34,7 +34,7 @@ public interface CustomerService {
ResultDTO getAllCustomerList(int page, int pageSize, String sort, Long companySiteId); ResultDTO getAllCustomerList(int page, int pageSize, String sort, Long companySiteId);
CustomerList createCustomerList(CustomerListDTO customerListDTO, String userName); ResultDTO createCustomerList(CustomerListDTO customerListDTO, String userName);
ResultDTO updateCustomerList(CustomerListDTO customerListDTO); ResultDTO updateCustomerList(CustomerListDTO customerListDTO);
......
...@@ -598,7 +598,7 @@ public class CustomerServiceImpl implements CustomerService { ...@@ -598,7 +598,7 @@ public class CustomerServiceImpl implements CustomerService {
@Override @Override
@Transactional(DataSourceQualify.CCMS_FULL) @Transactional(DataSourceQualify.CCMS_FULL)
public CustomerList createCustomerList(CustomerListDTO customerListDTO, String userName) { public ResultDTO createCustomerList(CustomerListDTO customerListDTO, String userName) {
ResultDTO resultDTO = new ResultDTO(); ResultDTO resultDTO = new ResultDTO();
CustomerListMapper customerListMapper = new CustomerListMapper(); CustomerListMapper customerListMapper = new CustomerListMapper();
CustomerList customerList = new CustomerList(); CustomerList customerList = new CustomerList();
...@@ -627,7 +627,7 @@ public class CustomerServiceImpl implements CustomerService { ...@@ -627,7 +627,7 @@ public class CustomerServiceImpl implements CustomerService {
e.printStackTrace(); e.printStackTrace();
} }
return customerList; return resultDTO;
} }
@Override @Override
......
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