38 lines
852 B
Java
38 lines
852 B
Java
|
|
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) {
|
||
|
|
return baseMapper.page(new Page<>(), dto);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public List<AddressBook> find(AddressBook dto) {
|
||
|
|
return baseMapper.find(dto);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
}
|