1
zj
8 days ago 7d008bf58373926bbdcf67fa7bcf92510f427fb6
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
package com.nq.service;
 
import com.github.pagehelper.PageInfo;
import com.nq.common.ServerResponse;
import com.nq.pojo.SiteSpread;
 
import java.math.BigDecimal;
 
public interface ISiteSpreadService {
    /**
     * 新增
     */
    int insert(SiteSpread siteSpread);
 
    /**
     * 删除
     */
    int delete(int id);
 
    /**
     * 更新
     */
    int update(SiteSpread siteSpread);
 
    /**
     * 根据主键 id 查询
     */
    SiteSpread load(int id);
 
    /**
     * 分页查询
     */
    ServerResponse<PageInfo> pageList(int pageNum, int pageSize, String typeName);
 
    /**
     * 查询点差费率
     * @author lr
     * @date 2020/07/01
     * applies:涨跌幅
     * turnover:成交额
     * code:股票代码
     * unitprice:股票单价
     **/
    SiteSpread findSpreadRateOne(BigDecimal applies, BigDecimal turnover, String code, BigDecimal unitprice);
 
    /**
     * 设置页面样式
     */
 
}