1
zj
2024-06-13 8eea5be3b36875bd4ffe70e6c3a5bb07b1d829bf
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
package com.yami.trading.service.c2c;
 
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.trading.bean.c2c.C2cAdvert;
import com.yami.trading.bean.model.C2cPaymentMethod;
 
import java.util.List;
import java.util.Map;
 
public interface C2cAdvertService extends IService<C2cAdvert> {
    Map<String, String> getC2cSyspara(String c2c_payment_method_type);
 
    public Map<String, Map<String, Object>> getBestPriceAdvert(String currency, String symbol, String direction, String order_type, double amount, double coinAmount, List<C2cPaymentMethod> cpmList);
    public Map<String, Map<String, Object>> getBestPriceAdvert(String currency, String symbol, String direction, String order_type, double amount, double coinAmount);
    /*
     * 获取 语种说明
     */
    public String getLanguageIntro();
 
    /**
     * 获取所有上架币种单价
     */
    public Map<String, String> getAllSymbolPrice(String currency);
 
    /*
     * 获取 支付方式类型说明
     */
    public String getMethodTypeIntro();
 
    /**
     * 获取 支付币种Map
     */
    public Map<String, String> getCurrencyMap();
    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);
 
    /**
     * 获取 上架币种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 List<C2cAdvert> getByC2cUserId(String c2c_user_id);
    public Page pagedQuery(long pageNo, long pageSize, String c2cUserCode, String c2cUserType,String userCode, String direction,String currency,String symbol);
 
    void saveAdvert(C2cAdvert c2cAdvert);
    void updateAdvert(C2cAdvert c2cAdvert);
 
}