package com.doumee.service.business;
|
|
import com.doumee.core.model.PageData;
|
import com.doumee.core.model.PageWrap;
|
import com.doumee.dao.business.model.Addr;
|
|
import java.util.List;
|
|
/**
|
* 地址簿Service
|
* @author rk
|
* @date 2026/04/15
|
*/
|
public interface AddrService {
|
|
Integer create(Addr addr);
|
|
void deleteById(Integer id);
|
|
void delete(Addr addr);
|
|
void deleteByIdInBatch(List<Integer> ids);
|
|
void updateById(Addr addr);
|
|
void updateByIdInBatch(List<Addr> addrs);
|
|
void updateStatus(Addr addr);
|
|
Addr findById(Integer id);
|
|
Addr findOne(Addr addr);
|
|
List<Addr> findList(Addr addr);
|
|
PageData<Addr> findPage(PageWrap<Addr> pageWrap);
|
|
long count(Addr addr);
|
|
/**
|
* 查询会员地址列表(含省市区信息)
|
*/
|
List<Addr> findListWithArea(Integer memberId);
|
|
/**
|
* 根据ID查询地址(含省市区信息)
|
*/
|
Addr findByIdWithArea(Integer id);
|
}
|