| 对比新文件 |
| | |
| | | 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; |
| | | |
| | | /** |
| | | * 鍦板潃绨縎ervice |
| | | * @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); |
| | | |
| | | /** |
| | | * 灏忕▼搴忕鏂板鍦板潃 |
| | | */ |
| | | Integer createByMember(Addr addr, Integer memberId); |
| | | |
| | | /** |
| | | * 灏忕▼搴忕淇敼鍦板潃 |
| | | */ |
| | | void updateByMember(Addr addr, Integer memberId); |
| | | } |