Commit 3147f516 authored by libin's avatar libin

客服悠

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