rk
2 天以前 c313a253b1fcdc75b6be5db575fc2b29fb407021
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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);
}