AuctionChangeController.ts
1.91 KB
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
61
62
63
64
65
66
import { AxiosResponse, AxiosStatic } from "axios";
import dayjs, { Dayjs } from "dayjs";
// region 前端扩展导入包
import { AuctionChange } from "lib/src/entity/auction/entity/AuctionChange";
import { AuctionVehicleChange } from "lib/src/entity/auction/entity/AuctionVehicleChange";
import { Page } from "autumn-vue/lib/core/page/Page";
// endregion
/**
*/
export class AuctionChangeController {
/**
* 新增拍卖场次变更审批
* @param auctionChange
* @return AuctionChange
*/
static addAuctionChange(axios: AxiosStatic, auctionChange: any): Promise<AxiosResponse<AuctionChange>> {
return axios.post("auction/change/addAuctionChange", auctionChange);
}
/**
*/
static addAuctionVehicleChange(
axios: AxiosStatic,
auctionVehicleChange: any,
): Promise<AxiosResponse<AuctionVehicleChange>> {
return axios.post("auction/change/addAuctionVehicleChange", auctionVehicleChange);
}
/**
*/
static auditAuctionChange(axios: AxiosStatic, approveHistory: any): Promise<AxiosResponse<AuctionChange>> {
return axios.post("auction/change/auditAuctionChange", approveHistory);
}
/**
*/
static auditAuctionVehicleChange(
axios: AxiosStatic,
approveHistory: any,
): Promise<AxiosResponse<AuctionVehicleChange>> {
return axios.post("auction/change/auditAuctionVehicleChange", approveHistory);
}
/**
*/
static pageAuctionChange(axios: AxiosStatic, pagination: any): Promise<AxiosResponse<Page<AuctionChange>>> {
return axios.post("auction/change/pageAuctionChange", pagination);
}
static PAGE_AUCTION_CHANGE = "auction/change/pageAuctionChange";
/**
*/
static pageAuctionVehicleChange(
axios: AxiosStatic,
pagination: any,
): Promise<AxiosResponse<Page<AuctionVehicleChange>>> {
return axios.post("auction/change/pageAuctionVehicleChange", pagination);
}
static PAGE_AUCTION_VEHICLE_CHANGE = "auction/change/pageAuctionVehicleChange";
// region 前端扩展代码区
// endregion
}