2024-05-13 10:07:53 +08:00
|
|
|
package com.whdc.service.impl;
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
|
|
import com.whdc.mapper.AddressBookMapper;
|
|
|
|
|
import com.whdc.model.dto.AddressBootDto;
|
|
|
|
|
import com.whdc.model.entity.AddressBook;
|
|
|
|
|
import com.whdc.service.IAddressBookService;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* <p>
|
|
|
|
|
* 服务实现类
|
|
|
|
|
* </p>
|
|
|
|
|
* @author xusan
|
|
|
|
|
* @date 2024-05-11
|
|
|
|
|
*/
|
|
|
|
|
@Service
|
|
|
|
|
public class AddressBookServiceImpl extends ServiceImpl<AddressBookMapper, AddressBook> implements IAddressBookService {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public IPage<AddressBook> page(AddressBootDto dto) {
|
2024-05-13 15:21:03 +08:00
|
|
|
return baseMapper.page(dto.getPage(), dto);
|
2024-05-13 10:07:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public List<AddressBook> find(AddressBook dto) {
|
|
|
|
|
return baseMapper.find(dto);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|