You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
893 B
45 lines
893 B
|
2 years ago
|
import request from '@/utils/request'
|
||
|
|
|
||
|
|
// 查询统计当日持仓列表
|
||
|
|
export function listStatistictotal(query) {
|
||
|
|
return request({
|
||
|
|
url: '/booksystem/statistictotal/list',
|
||
|
|
method: 'get',
|
||
|
|
params: query
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 查询统计当日持仓详细
|
||
|
|
export function getStatistictotal(id) {
|
||
|
|
return request({
|
||
|
|
url: '/booksystem/statistictotal/' + id,
|
||
|
|
method: 'get'
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 新增统计当日持仓
|
||
|
|
export function addStatistictotal(data) {
|
||
|
|
return request({
|
||
|
|
url: '/booksystem/statistictotal',
|
||
|
|
method: 'post',
|
||
|
|
data: data
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 修改统计当日持仓
|
||
|
|
export function updateStatistictotal(data) {
|
||
|
|
return request({
|
||
|
|
url: '/booksystem/statistictotal',
|
||
|
|
method: 'put',
|
||
|
|
data: data
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 删除统计当日持仓
|
||
|
|
export function delStatistictotal(id) {
|
||
|
|
return request({
|
||
|
|
url: '/booksystem/statistictotal/' + id,
|
||
|
|
method: 'delete'
|
||
|
|
})
|
||
|
|
}
|