Commit 3147f516 authored by libin's avatar libin

客服悠

parent 4ba6d368
...@@ -134,7 +134,7 @@ public class CustomerServiceBiz extends BaseBiz<CustomerServiceMapper, CustomerS ...@@ -134,7 +134,7 @@ public class CustomerServiceBiz extends BaseBiz<CustomerServiceMapper, CustomerS
Example example = new Example(CustomerService.class); Example example = new Example(CustomerService.class);
Example.Criteria criteria = example.createCriteria(); Example.Criteria criteria = example.createCriteria();
criteria.andEqualTo("is_del",false); criteria.andEqualTo("isDel",false);
PageDataVO<CustomerService> pageDataVO = PageDataVO.pageInfo(page,limit,()->mapper.selectByExample(example)); PageDataVO<CustomerService> pageDataVO = PageDataVO.pageInfo(page,limit,()->mapper.selectByExample(example));
List<CustomerService> data = pageDataVO.getData(); List<CustomerService> data = pageDataVO.getData();
...@@ -161,7 +161,7 @@ public class CustomerServiceBiz extends BaseBiz<CustomerServiceMapper, CustomerS ...@@ -161,7 +161,7 @@ public class CustomerServiceBiz extends BaseBiz<CustomerServiceMapper, CustomerS
public CustomerServiceDTO findCustomerServiceById(Long id) { public CustomerServiceDTO findCustomerServiceById(Long id) {
CustomerServiceDTO customerServiceDTO = new CustomerServiceDTO(); CustomerServiceDTO customerServiceDTO = new CustomerServiceDTO();
CustomerService customerService = mapper.selectByPrimaryKey(id); CustomerService customerService = mapper.selectByPrimaryKey(id);
BeanUtils.copyProperties(customerService,customerService); BeanUtils.copyProperties(customerService,customerServiceDTO);
return customerServiceDTO; return customerServiceDTO;
} }
} }
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