peternameyakj
2025-04-29 acf1c75a32aa05f34d9d60b6ae3f3e052b532e9f
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
50
51
52
53
54
55
56
57
58
59
60
package project.c2c;
 
import java.util.List;
import java.util.Map;
 
import kernel.web.Page;
 
public interface C2cAdvertService {
    
    public Page pagedQuery(int page_no, int page_size, String c2c_user_id, String direction, String currency, String symbol, String amount, Integer on_sale, Integer closed, boolean is_c2c_user);
    
    public Page pagedQueryQuick(int pageNo, int pageSize, String currency, String symbol, String direction, double amount, double coinAmount, String method_config_id);
 
    public Map<String, Map<String, Object>> getBestPriceAdvert(String currency, String symbol, String direction, String order_type, double amount, double coinAmount, List<C2cPaymentMethod> cpmList);
    
    public C2cAdvert get(String id);
    
    public List<C2cAdvert> getByC2cUserId(String c2c_user_id);
 
    public void save(C2cAdvert entity);
 
    public void update(C2cAdvert entity);
 
    public void delete(String id);
 
    public C2cAdvert findById(String id);
    
    /**
     * 获取 支付币种Map
     */
    public Map<String, String> getCurrencyMap();
 
    /**
     * 获取 上架币种Map
     */
    public Map<String, String> getSymbolMap();
    
    public Map<String, Object> getComputeValue(double all_deposit, String currency, String symbol, double coin_amount, double symbol_value);
    
    /**
     * 获取所有上架币种单价
     */
    public Map<String, String> getAllSymbolPrice(String currency);
    
    /*
     * 获取 C2C支付方式类型、C2C支付币种配置、C2C上架币种配置、C2C广告支付时效
     */
    public Map<String, String> getC2cSyspara(String syspara);
    
    /*
     * 获取 语种说明
     */
    public String getLanguageIntro();
    
    /*
     * 获取 支付方式类型说明
     */
    public String getMethodTypeIntro();
    
}