Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
usedCarAuction
/
aus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d06a7310
authored
Jan 13, 2026
by
gonglei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
加入框架代码
1 parent
36af49c3
Show whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
464 additions
and
407 deletions
aus-front/admin/src/api/AccountController.ts
aus-front/admin/src/api/AgreementController.ts
aus-front/admin/src/api/AppealController.ts
aus-front/admin/src/api/AppraiseController.ts
aus-front/admin/src/api/AuctionChangeController.ts
aus-front/admin/src/api/AuctionController.ts
aus-front/admin/src/api/AuctionOrderController.ts
aus-front/admin/src/api/BankAccountController.ts
aus-front/admin/src/api/BidController.ts
aus-front/admin/src/api/BreachController.ts
aus-front/admin/src/api/CarouselController.ts
aus-front/admin/src/api/CommissionRuleController.ts
aus-front/admin/src/api/ConfigController.ts
aus-front/admin/src/api/ContractController.ts
aus-front/admin/src/api/DataSyncController.ts
aus-front/admin/src/api/DeliveryOrderController.ts
aus-front/admin/src/api/DepositController.ts
aus-front/admin/src/api/DictionaryController.ts
aus-front/admin/src/api/FavoriteController.ts
aus-front/admin/src/api/NoticeController.ts
aus-front/admin/src/api/PriceRuleController.ts
aus-front/admin/src/api/RechargeController.ts
aus-front/admin/src/api/ReleaseOrderController.ts
aus-front/admin/src/api/RelocationController.ts
aus-front/admin/src/api/StorageController.ts
aus-front/admin/src/api/TrackController.ts
aus-front/admin/src/api/TransactionController.ts
aus-front/admin/src/api/VehicleController.ts
aus-front/admin/src/api/VenueController.ts
aus-front/admin/src/api/WithdrawController.ts
aus-front/admin/src/api/AccountController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
Account
}
from
"lib/src/entity/account/entity/Account"
;
import
{
Account
}
from
"lib/src/entity/account/entity/Account"
;
import
{
AccountTag
}
from
"lib/src/entity/account/entity/AccountTag"
;
import
{
AccountTag
}
from
"lib/src/entity/account/entity/AccountTag"
;
...
@@ -11,17 +10,21 @@ import {NameCount} from "lib/src/entity/analysis/domain/NameCount";
...
@@ -11,17 +10,21 @@ import {NameCount} from "lib/src/entity/analysis/domain/NameCount";
import
{
AccountProjection
}
from
"lib/src/entity/account/domain/AccountProjection"
;
import
{
AccountProjection
}
from
"lib/src/entity/account/domain/AccountProjection"
;
import
{
ProvinceCount
}
from
"lib/src/entity/account/domain/ProvinceCount"
;
import
{
ProvinceCount
}
from
"lib/src/entity/account/domain/ProvinceCount"
;
import
{
AccountDateStat
}
from
"lib/src/entity/account/domain/AccountDateStat"
;
import
{
AccountDateStat
}
from
"lib/src/entity/account/domain/AccountDateStat"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
import
{
ResponseEntity
}
from
"lib/src/domain/ResponseEntity"
;
import
{
TagAccount
}
from
"lib/src/entity/account/domain/TagAccount"
;
// endregion
// endregion
/**
/**
* 个人账户(Account) PI接口
* 个人账户(Account) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
AccountController
{
export
class
AccountController
{
/**
/**
*/
*/
static
accountTagQrCode
(
axios
:
AxiosStatic
,
code
:
string
,
config
?:
any
):
Promise
<
AxiosResponse
<
ResponseEntity
<
byte
[]
>>>
{
static
accountTagQrCode
(
axios
:
AxiosStatic
,
code
:
string
,
config
?:
any
):
Promise
<
AxiosResponse
<
ResponseEntity
<
byte
[]
>>>
{
return
axios
.
get
(
'account/accountTagQrCode'
,
{
params
:
{
code
:
code
}},
config
);
return
axios
.
get
(
'account/accountTagQrCode'
,
{
params
:
{
code
:
code
}},
config
);
}
}
...
@@ -30,13 +33,13 @@ export class AccountController{
...
@@ -30,13 +33,13 @@ export class AccountController{
* @param accountTag
* @param accountTag
* @return AccountTag
* @return AccountTag
*/
*/
static
addAccountTag
(
axios
:
AxiosStatic
,
accountTag
:
any
):
Promise
<
AxiosResponse
<
AccountTag
>>
{
static
addAccountTag
(
axios
:
AxiosStatic
,
accountTag
:
AccountTag
):
Promise
<
AxiosResponse
<
AccountTag
>>
{
return
axios
.
post
(
'account/addAccountTag'
,
accountTag
);
return
axios
.
post
(
'account/addAccountTag'
,
accountTag
);
}
}
/**
/**
*/
*/
static
addTagAccounts
(
axios
:
AxiosStatic
,
tagAccount
:
any
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
addTagAccounts
(
axios
:
AxiosStatic
,
tagAccount
:
TagAccount
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'account/addTagAccounts'
,
tagAccount
);
return
axios
.
post
(
'account/addTagAccounts'
,
tagAccount
);
}
}
...
@@ -45,7 +48,7 @@ export class AccountController{
...
@@ -45,7 +48,7 @@ export class AccountController{
* @param approveHistory
* @param approveHistory
* @return ApproveHistory
* @return ApproveHistory
*/
*/
static
auditAccount
(
axios
:
AxiosStatic
,
approveHistory
:
an
y
):
Promise
<
AxiosResponse
<
ApproveHistory
>>
{
static
auditAccount
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistor
y
):
Promise
<
AxiosResponse
<
ApproveHistory
>>
{
return
axios
.
post
(
'account/auditAccount'
,
approveHistory
);
return
axios
.
post
(
'account/auditAccount'
,
approveHistory
);
}
}
...
@@ -55,19 +58,19 @@ export class AccountController{
...
@@ -55,19 +58,19 @@ export class AccountController{
* @param authentication
* @param authentication
* @return ApproveHistory
* @return ApproveHistory
*/
*/
static
auditAccounts
(
axios
:
AxiosStatic
,
approveHistory
:
an
y
):
Promise
<
AxiosResponse
<
ApproveHistory
>>
{
static
auditAccounts
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistor
y
):
Promise
<
AxiosResponse
<
ApproveHistory
>>
{
return
axios
.
post
(
'account/auditAccounts'
,
approveHistory
);
return
axios
.
post
(
'account/auditAccounts'
,
approveHistory
);
}
}
/**
/**
*/
*/
static
enableAccount
(
axios
:
AxiosStatic
,
disableReason
:
any
,
accountId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
enableAccount
(
axios
:
AxiosStatic
,
disableReason
:
string
,
accountId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'account/enableAccount'
,
disableReason
,
{
params
:
{
accountId
:
accountId
,
enabled
:
enabled
}});
return
axios
.
post
(
'account/enableAccount'
,
disableReason
,
{
params
:
{
accountId
:
accountId
,
enabled
:
enabled
}});
}
}
/**
/**
*/
*/
static
exportAccount
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportAccount
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Account
>
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'account/exportAccount'
,
pagination
,
config
);
return
axios
.
post
(
'account/exportAccount'
,
pagination
,
config
);
}
}
...
@@ -76,47 +79,51 @@ export class AccountController{
...
@@ -76,47 +79,51 @@ export class AccountController{
* @param accountId
* @param accountId
* @return Account
* @return Account
*/
*/
static
getAccountById
(
axios
:
AxiosStatic
,
accountId
:
number
):
Promise
<
AxiosResponse
<
Account
>>
{
static
getAccountById
(
axios
:
AxiosStatic
,
accountId
:
number
):
Promise
<
AxiosResponse
<
Account
>>
{
return
axios
.
get
(
'account/getAccountById'
,
{
params
:
{
accountId
:
accountId
}});
return
axios
.
get
(
'account/getAccountById'
,
{
params
:
{
accountId
:
accountId
}});
}
}
/**
/**
*/
*/
static
getAccountByNameOrMobile
(
axios
:
AxiosStatic
,
searchText
:
string
):
Promise
<
AxiosResponse
<
AccountProjection
[]
>>
{
static
getAccountByNameOrMobile
(
axios
:
AxiosStatic
,
searchText
:
string
):
Promise
<
AxiosResponse
<
AccountProjection
[]
>>
{
return
axios
.
get
(
'account/getAccountByNameOrMobile'
,
{
params
:
{
searchText
:
searchText
}});
return
axios
.
get
(
'account/getAccountByNameOrMobile'
,
{
params
:
{
searchText
:
searchText
}});
}
}
/**
/**
*/
*/
static
getAccountCountByState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
static
getAccountCountByState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
get
(
'account/getAccountCountByState'
);
return
axios
.
get
(
'account/getAccountCountByState'
);
}
}
/**
/**
*/
*/
static
getAccountCountGroupByCityCode
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
NameCount
[]
>>
{
static
getAccountCountGroupByCityCode
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
NameCount
[]
>>
{
return
axios
.
get
(
'account/getAccountCountGroupByCityCode'
);
return
axios
.
get
(
'account/getAccountCountGroupByCityCode'
);
}
}
/**
/**
*/
*/
static
getAccountCountGroupByProvince
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
ProvinceCount
[]
>>
{
static
getAccountCountGroupByProvince
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
ProvinceCount
[]
>>
{
return
axios
.
get
(
'account/getAccountCountGroupByProvince'
);
return
axios
.
get
(
'account/getAccountCountGroupByProvince'
);
}
}
/**
/**
*/
*/
static
getAccountDetailById
(
axios
:
AxiosStatic
,
accountId
:
number
):
Promise
<
AxiosResponse
<
Account
>>
{
static
getAccountDetailById
(
axios
:
AxiosStatic
,
accountId
:
number
):
Promise
<
AxiosResponse
<
Account
>>
{
return
axios
.
get
(
'account/getAccountDetailById'
,
{
params
:
{
accountId
:
accountId
}});
return
axios
.
get
(
'account/getAccountDetailById'
,
{
params
:
{
accountId
:
accountId
}});
}
}
/**
/**
*/
*/
static
getAccountStat
(
axios
:
AxiosStatic
,
startDate
:
Dayjs
|
string
,
endDate
:
Dayjs
|
string
):
Promise
<
AxiosResponse
<
AccountDateStat
>>
{
static
getAccountStat
(
axios
:
AxiosStatic
,
startDate
:
Dayjs
|
string
,
endDate
:
Dayjs
|
string
):
Promise
<
AxiosResponse
<
AccountDateStat
>>
{
if
(
startDate
instanceof
Object
)
{
startDate
=
dayjs
(
startDate
).
format
(
'YYYY-MM-DD'
)
}
if
(
startDate
instanceof
Object
)
{
if
(
endDate
instanceof
Object
)
{
endDate
=
dayjs
(
endDate
).
format
(
'YYYY-MM-DD'
)
}
startDate
=
dayjs
(
startDate
).
format
(
'YYYY-MM-DD'
)
}
if
(
endDate
instanceof
Object
)
{
endDate
=
dayjs
(
endDate
).
format
(
'YYYY-MM-DD'
)
}
return
axios
.
get
(
'account/getAccountStat'
,
{
params
:
{
startDate
:
startDate
,
endDate
:
endDate
}});
return
axios
.
get
(
'account/getAccountStat'
,
{
params
:
{
startDate
:
startDate
,
endDate
:
endDate
}});
}
}
/**
/**
...
@@ -124,25 +131,25 @@ export class AccountController{
...
@@ -124,25 +131,25 @@ export class AccountController{
* @param groupId
* @param groupId
* @return AccountTag
* @return AccountTag
*/
*/
static
getAccountTagById
(
axios
:
AxiosStatic
,
groupId
:
number
):
Promise
<
AxiosResponse
<
AccountTag
>>
{
static
getAccountTagById
(
axios
:
AxiosStatic
,
groupId
:
number
):
Promise
<
AxiosResponse
<
AccountTag
>>
{
return
axios
.
get
(
'account/getAccountTagById'
,
{
params
:
{
groupId
:
groupId
}});
return
axios
.
get
(
'account/getAccountTagById'
,
{
params
:
{
groupId
:
groupId
}});
}
}
/**
/**
*/
*/
static
getAccountTagGroupName
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
string
[]
>>
{
static
getAccountTagGroupName
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
string
[]
>>
{
return
axios
.
get
(
'account/getAccountTagGroupName'
);
return
axios
.
get
(
'account/getAccountTagGroupName'
);
}
}
/**
/**
*/
*/
static
getAccountTags
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
AccountTag
[]
>>
{
static
getAccountTags
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
AccountTag
[]
>>
{
return
axios
.
get
(
'account/getAccountTags'
);
return
axios
.
get
(
'account/getAccountTags'
);
}
}
/**
/**
*/
*/
static
getDashboardAccountStat
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
AccountTotalStat
>>
{
static
getDashboardAccountStat
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
AccountTotalStat
>>
{
return
axios
.
get
(
'account/getDashboardAccountStat'
);
return
axios
.
get
(
'account/getDashboardAccountStat'
);
}
}
...
@@ -151,7 +158,7 @@ export class AccountController{
...
@@ -151,7 +158,7 @@ export class AccountController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageAccount
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Account
>>>
{
static
pageAccount
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Account
>
):
Promise
<
AxiosResponse
<
Page
<
Account
>>>
{
return
axios
.
post
(
'account/pageAccount'
,
pagination
);
return
axios
.
post
(
'account/pageAccount'
,
pagination
);
}
}
...
@@ -162,7 +169,7 @@ export class AccountController{
...
@@ -162,7 +169,7 @@ export class AccountController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageAccountTag
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AccountTag
>>>
{
static
pageAccountTag
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
AccountTag
>
):
Promise
<
AxiosResponse
<
Page
<
AccountTag
>>>
{
return
axios
.
post
(
'account/pageAccountTag'
,
pagination
);
return
axios
.
post
(
'account/pageAccountTag'
,
pagination
);
}
}
...
@@ -170,7 +177,7 @@ export class AccountController{
...
@@ -170,7 +177,7 @@ export class AccountController{
/**
/**
*/
*/
static
pageAuctionAccount
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Account
>>>
{
static
pageAuctionAccount
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Account
>
):
Promise
<
AxiosResponse
<
Page
<
Account
>>>
{
return
axios
.
post
(
'account/pageAuctionAccount'
,
pagination
);
return
axios
.
post
(
'account/pageAuctionAccount'
,
pagination
);
}
}
...
@@ -181,7 +188,7 @@ export class AccountController{
...
@@ -181,7 +188,7 @@ export class AccountController{
* @param accountId
* @param accountId
* @return int
* @return int
*/
*/
static
removeAccountById
(
axios
:
AxiosStatic
,
accountId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeAccountById
(
axios
:
AxiosStatic
,
accountId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'account/removeAccountById'
,
{
params
:
{
accountId
:
accountId
}});
return
axios
.
delete
(
'account/removeAccountById'
,
{
params
:
{
accountId
:
accountId
}});
}
}
...
@@ -190,7 +197,7 @@ export class AccountController{
...
@@ -190,7 +197,7 @@ export class AccountController{
* @param tagId
* @param tagId
* @return int
* @return int
*/
*/
static
removeAccountTagById
(
axios
:
AxiosStatic
,
tagId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeAccountTagById
(
axios
:
AxiosStatic
,
tagId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'account/removeAccountTagById'
,
{
params
:
{
tagId
:
tagId
}});
return
axios
.
delete
(
'account/removeAccountTagById'
,
{
params
:
{
tagId
:
tagId
}});
}
}
...
@@ -199,7 +206,7 @@ export class AccountController{
...
@@ -199,7 +206,7 @@ export class AccountController{
* @param account
* @param account
* @return Account
* @return Account
*/
*/
static
updateAccount
(
axios
:
AxiosStatic
,
account
:
any
):
Promise
<
AxiosResponse
<
Account
>>
{
static
updateAccount
(
axios
:
AxiosStatic
,
account
:
Account
):
Promise
<
AxiosResponse
<
Account
>>
{
return
axios
.
post
(
'account/updateAccount'
,
account
);
return
axios
.
post
(
'account/updateAccount'
,
account
);
}
}
...
@@ -208,7 +215,7 @@ export class AccountController{
...
@@ -208,7 +215,7 @@ export class AccountController{
* @param accountTag
* @param accountTag
* @return AccountTag
* @return AccountTag
*/
*/
static
updateAccountTag
(
axios
:
AxiosStatic
,
accountTag
:
any
):
Promise
<
AxiosResponse
<
AccountTag
>>
{
static
updateAccountTag
(
axios
:
AxiosStatic
,
accountTag
:
AccountTag
):
Promise
<
AxiosResponse
<
AccountTag
>>
{
return
axios
.
post
(
'account/updateAccountTag'
,
accountTag
);
return
axios
.
post
(
'account/updateAccountTag'
,
accountTag
);
}
}
...
...
aus-front/admin/src/api/AgreementController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
Agreement
}
from
"lib/src/entity/business/entity/Agreement"
;
import
{
Agreement
}
from
"lib/src/entity/business/entity/Agreement"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// endregion
// endregion
/**
/**
* 协议管理(Agreement) PI接口
* 协议管理(Agreement) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
AgreementController
{
export
class
AgreementController
{
/**
/**
* 新增协议管理
* 新增协议管理
* @param agreement
* @param agreement
* @return Agreement
* @return Agreement
*/
*/
static
addAgreement
(
axios
:
AxiosStatic
,
agreement
:
any
):
Promise
<
AxiosResponse
<
Agreement
>>
{
static
addAgreement
(
axios
:
AxiosStatic
,
agreement
:
Agreement
):
Promise
<
AxiosResponse
<
Agreement
>>
{
return
axios
.
post
(
'agreement/addAgreement'
,
agreement
);
return
axios
.
post
(
'agreement/addAgreement'
,
agreement
);
}
}
...
@@ -26,13 +27,13 @@ export class AgreementController{
...
@@ -26,13 +27,13 @@ export class AgreementController{
* @param agreementId
* @param agreementId
* @return Agreement
* @return Agreement
*/
*/
static
getAgreementById
(
axios
:
AxiosStatic
,
agreementId
:
number
):
Promise
<
AxiosResponse
<
Agreement
>>
{
static
getAgreementById
(
axios
:
AxiosStatic
,
agreementId
:
number
):
Promise
<
AxiosResponse
<
Agreement
>>
{
return
axios
.
get
(
'agreement/getAgreementById'
,
{
params
:
{
agreementId
:
agreementId
}});
return
axios
.
get
(
'agreement/getAgreementById'
,
{
params
:
{
agreementId
:
agreementId
}});
}
}
/**
/**
*/
*/
static
getAgreementsByKey
(
axios
:
AxiosStatic
,
agreementKey
:
any
):
Promise
<
AxiosResponse
<
Agreement
[]
>>
{
static
getAgreementsByKey
(
axios
:
AxiosStatic
,
agreementKey
:
any
):
Promise
<
AxiosResponse
<
Agreement
[]
>>
{
return
axios
.
get
(
'agreement/getAgreementsByKey'
,
{
params
:
{
agreementKey
:
agreementKey
}});
return
axios
.
get
(
'agreement/getAgreementsByKey'
,
{
params
:
{
agreementKey
:
agreementKey
}});
}
}
...
@@ -41,7 +42,7 @@ export class AgreementController{
...
@@ -41,7 +42,7 @@ export class AgreementController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageAgreement
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Agreement
>>>
{
static
pageAgreement
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Agreement
>
):
Promise
<
AxiosResponse
<
Page
<
Agreement
>>>
{
return
axios
.
post
(
'agreement/pageAgreement'
,
pagination
);
return
axios
.
post
(
'agreement/pageAgreement'
,
pagination
);
}
}
...
@@ -52,7 +53,7 @@ export class AgreementController{
...
@@ -52,7 +53,7 @@ export class AgreementController{
* @param agreementId
* @param agreementId
* @return int
* @return int
*/
*/
static
removeAgreementById
(
axios
:
AxiosStatic
,
agreementId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeAgreementById
(
axios
:
AxiosStatic
,
agreementId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'agreement/removeAgreementById'
,
{
params
:
{
agreementId
:
agreementId
}});
return
axios
.
delete
(
'agreement/removeAgreementById'
,
{
params
:
{
agreementId
:
agreementId
}});
}
}
...
@@ -61,7 +62,7 @@ export class AgreementController{
...
@@ -61,7 +62,7 @@ export class AgreementController{
* @param agreement
* @param agreement
* @return Agreement
* @return Agreement
*/
*/
static
updateAgreement
(
axios
:
AxiosStatic
,
agreement
:
any
):
Promise
<
AxiosResponse
<
Agreement
>>
{
static
updateAgreement
(
axios
:
AxiosStatic
,
agreement
:
Agreement
):
Promise
<
AxiosResponse
<
Agreement
>>
{
return
axios
.
post
(
'agreement/updateAgreement'
,
agreement
);
return
axios
.
post
(
'agreement/updateAgreement'
,
agreement
);
}
}
...
...
aus-front/admin/src/api/AppealController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
Appeal
}
from
"lib/src/entity/auction/entity/Appeal"
;
import
{
Appeal
}
from
"lib/src/entity/auction/entity/Appeal"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// endregion
// endregion
/**
/**
* 申诉(Appeal) PI接口
* 申诉(Appeal) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
AppealController
{
export
class
AppealController
{
/**
/**
* 修改申诉
* 修改申诉
* @param appeal
* @param appeal
* @return Appeal
* @return Appeal
*/
*/
static
acceptanceAppeal
(
axios
:
AxiosStatic
,
appeal
:
any
):
Promise
<
AxiosResponse
<
Appeal
>>
{
static
acceptanceAppeal
(
axios
:
AxiosStatic
,
appeal
:
Appeal
):
Promise
<
AxiosResponse
<
Appeal
>>
{
return
axios
.
post
(
'appeal/acceptanceAppeal'
,
appeal
);
return
axios
.
post
(
'appeal/acceptanceAppeal'
,
appeal
);
}
}
/**
/**
*/
*/
static
exportAppeal
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportAppeal
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Appeal
>
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'appeal/exportAppeal'
,
pagination
,
config
);
return
axios
.
post
(
'appeal/exportAppeal'
,
pagination
,
config
);
}
}
...
@@ -32,13 +33,13 @@ export class AppealController{
...
@@ -32,13 +33,13 @@ export class AppealController{
* @param appealId
* @param appealId
* @return Appeal
* @return Appeal
*/
*/
static
getAppealById
(
axios
:
AxiosStatic
,
appealId
:
number
):
Promise
<
AxiosResponse
<
Appeal
>>
{
static
getAppealById
(
axios
:
AxiosStatic
,
appealId
:
number
):
Promise
<
AxiosResponse
<
Appeal
>>
{
return
axios
.
get
(
'appeal/getAppealById'
,
{
params
:
{
appealId
:
appealId
}});
return
axios
.
get
(
'appeal/getAppealById'
,
{
params
:
{
appealId
:
appealId
}});
}
}
/**
/**
*/
*/
static
getAppealDetailId
(
axios
:
AxiosStatic
,
appealId
:
number
):
Promise
<
AxiosResponse
<
Appeal
>>
{
static
getAppealDetailId
(
axios
:
AxiosStatic
,
appealId
:
number
):
Promise
<
AxiosResponse
<
Appeal
>>
{
return
axios
.
get
(
'appeal/getAppealDetailId'
,
{
params
:
{
appealId
:
appealId
}});
return
axios
.
get
(
'appeal/getAppealDetailId'
,
{
params
:
{
appealId
:
appealId
}});
}
}
...
@@ -47,7 +48,7 @@ export class AppealController{
...
@@ -47,7 +48,7 @@ export class AppealController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageAppeal
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Appeal
>>>
{
static
pageAppeal
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Appeal
>
):
Promise
<
AxiosResponse
<
Page
<
Appeal
>>>
{
return
axios
.
post
(
'appeal/pageAppeal'
,
pagination
);
return
axios
.
post
(
'appeal/pageAppeal'
,
pagination
);
}
}
...
@@ -55,7 +56,7 @@ export class AppealController{
...
@@ -55,7 +56,7 @@ export class AppealController{
/**
/**
*/
*/
static
processingAppeal
(
axios
:
AxiosStatic
,
appeal
:
any
):
Promise
<
AxiosResponse
<
Appeal
>>
{
static
processingAppeal
(
axios
:
AxiosStatic
,
appeal
:
Appeal
):
Promise
<
AxiosResponse
<
Appeal
>>
{
return
axios
.
post
(
'appeal/processingAppeal'
,
appeal
);
return
axios
.
post
(
'appeal/processingAppeal'
,
appeal
);
}
}
...
@@ -64,7 +65,7 @@ export class AppealController{
...
@@ -64,7 +65,7 @@ export class AppealController{
* @param appealId
* @param appealId
* @return int
* @return int
*/
*/
static
removeAppealById
(
axios
:
AxiosStatic
,
appealId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeAppealById
(
axios
:
AxiosStatic
,
appealId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'appeal/removeAppealById'
,
{
params
:
{
appealId
:
appealId
}});
return
axios
.
delete
(
'appeal/removeAppealById'
,
{
params
:
{
appealId
:
appealId
}});
}
}
...
...
aus-front/admin/src/api/AppraiseController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
AppraisePrice
}
from
"lib/src/entity/auction/entity/AppraisePrice"
;
import
{
AppraisePrice
}
from
"lib/src/entity/auction/entity/AppraisePrice"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
ApproveHistory
}
from
"lib/src/entity/track/entity/ApproveHistory"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// endregion
// endregion
/**
/**
*/
*/
export
class
AppraiseController
{
export
class
AppraiseController
{
/**
/**
*/
*/
static
addAppraisePrice
(
axios
:
AxiosStatic
,
appraisePrice
:
any
):
Promise
<
AxiosResponse
<
AppraisePrice
>>
{
static
addAppraisePrice
(
axios
:
AxiosStatic
,
appraisePrice
:
AppraisePrice
):
Promise
<
AxiosResponse
<
AppraisePrice
>>
{
return
axios
.
post
(
'appraise/addAppraisePrice'
,
appraisePrice
);
return
axios
.
post
(
'appraise/addAppraisePrice'
,
appraisePrice
);
}
}
/**
/**
*/
*/
static
auditAppraisePrice
(
axios
:
AxiosStatic
,
appraisePrice
:
an
y
):
Promise
<
AxiosResponse
<
AppraisePrice
>>
{
static
auditAppraisePrice
(
axios
:
AxiosStatic
,
appraisePrice
:
ApproveHistor
y
):
Promise
<
AxiosResponse
<
AppraisePrice
>>
{
return
axios
.
post
(
'appraise/auditAppraisePrice'
,
appraisePrice
);
return
axios
.
post
(
'appraise/auditAppraisePrice'
,
appraisePrice
);
}
}
/**
/**
*/
*/
static
getAppraisePricesByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
AppraisePrice
[]
>>
{
static
getAppraisePricesByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
AppraisePrice
[]
>>
{
return
axios
.
get
(
'appraise/getAppraisePricesByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
return
axios
.
get
(
'appraise/getAppraisePricesByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
}
}
/**
/**
*/
*/
static
pageAppraisePrice
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AppraisePrice
>>>
{
static
pageAppraisePrice
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
AppraisePrice
>
):
Promise
<
AxiosResponse
<
Page
<
AppraisePrice
>>>
{
return
axios
.
post
(
'appraise/pageAppraisePrice'
,
pagination
);
return
axios
.
post
(
'appraise/pageAppraisePrice'
,
pagination
);
}
}
...
...
aus-front/admin/src/api/AuctionChangeController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
AuctionChange
}
from
"lib/src/entity/auction/entity/AuctionChange"
;
import
{
AuctionChange
}
from
"lib/src/entity/auction/entity/AuctionChange"
;
import
{
AuctionVehicleChange
}
from
"lib/src/entity/auction/entity/AuctionVehicleChange"
;
import
{
AuctionVehicleChange
}
from
"lib/src/entity/auction/entity/AuctionVehicleChange"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
ApproveHistory
}
from
"lib/src/entity/track/entity/ApproveHistory"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// endregion
// endregion
/**
/**
*/
*/
export
class
AuctionChangeController
{
export
class
AuctionChangeController
{
/**
/**
* 新增拍卖场次变更审批
* 新增拍卖场次变更审批
* @param auctionChange
* @param auctionChange
* @return AuctionChange
* @return AuctionChange
*/
*/
static
addAuctionChange
(
axios
:
AxiosStatic
,
auctionChange
:
any
):
Promise
<
AxiosResponse
<
AuctionChange
>>
{
static
addAuctionChange
(
axios
:
AxiosStatic
,
auctionChange
:
AuctionChange
):
Promise
<
AxiosResponse
<
AuctionChange
>>
{
return
axios
.
post
(
'auction/change/addAuctionChange'
,
auctionChange
);
return
axios
.
post
(
'auction/change/addAuctionChange'
,
auctionChange
);
}
}
/**
/**
*/
*/
static
addAuctionVehicleChange
(
axios
:
AxiosStatic
,
auctionVehicleChange
:
any
):
Promise
<
AxiosResponse
<
AuctionVehicleChange
>>
{
static
addAuctionVehicleChange
(
axios
:
AxiosStatic
,
auctionVehicleChange
:
AuctionVehicleChange
):
Promise
<
AxiosResponse
<
AuctionVehicleChange
>>
{
return
axios
.
post
(
'auction/change/addAuctionVehicleChange'
,
auctionVehicleChange
);
return
axios
.
post
(
'auction/change/addAuctionVehicleChange'
,
auctionVehicleChange
);
}
}
/**
/**
*/
*/
static
auditAuctionChange
(
axios
:
AxiosStatic
,
approveHistory
:
an
y
):
Promise
<
AxiosResponse
<
AuctionChange
>>
{
static
auditAuctionChange
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistor
y
):
Promise
<
AxiosResponse
<
AuctionChange
>>
{
return
axios
.
post
(
'auction/change/auditAuctionChange'
,
approveHistory
);
return
axios
.
post
(
'auction/change/auditAuctionChange'
,
approveHistory
);
}
}
/**
/**
*/
*/
static
auditAuctionVehicleChange
(
axios
:
AxiosStatic
,
approveHistory
:
an
y
):
Promise
<
AxiosResponse
<
AuctionVehicleChange
>>
{
static
auditAuctionVehicleChange
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistor
y
):
Promise
<
AxiosResponse
<
AuctionVehicleChange
>>
{
return
axios
.
post
(
'auction/change/auditAuctionVehicleChange'
,
approveHistory
);
return
axios
.
post
(
'auction/change/auditAuctionVehicleChange'
,
approveHistory
);
}
}
/**
/**
*/
*/
static
pageAuctionChange
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionChange
>>>
{
static
pageAuctionChange
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
AuctionChange
>
):
Promise
<
AxiosResponse
<
Page
<
AuctionChange
>>>
{
return
axios
.
post
(
'auction/change/pageAuctionChange'
,
pagination
);
return
axios
.
post
(
'auction/change/pageAuctionChange'
,
pagination
);
}
}
...
@@ -48,7 +50,7 @@ export class AuctionChangeController{
...
@@ -48,7 +50,7 @@ export class AuctionChangeController{
/**
/**
*/
*/
static
pageAuctionVehicleChange
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionVehicleChange
>>>
{
static
pageAuctionVehicleChange
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
AuctionVehicleChange
>
):
Promise
<
AxiosResponse
<
Page
<
AuctionVehicleChange
>>>
{
return
axios
.
post
(
'auction/change/pageAuctionVehicleChange'
,
pagination
);
return
axios
.
post
(
'auction/change/pageAuctionVehicleChange'
,
pagination
);
}
}
...
...
aus-front/admin/src/api/AuctionController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
Auction
}
from
"lib/src/entity/auction/entity/Auction"
;
import
{
Auction
}
from
"lib/src/entity/auction/entity/Auction"
;
import
{
AuctionVehicle
}
from
"lib/src/entity/auction/entity/AuctionVehicle"
;
import
{
AuctionVehicle
}
from
"lib/src/entity/auction/entity/AuctionVehicle"
;
...
@@ -8,32 +7,35 @@ import {Page} from "lib/src/core/page/Page";
...
@@ -8,32 +7,35 @@ import {Page} from "lib/src/core/page/Page";
import
{
AuctionControl
}
from
"lib/src/entity/auction/domain/AuctionControl"
;
import
{
AuctionControl
}
from
"lib/src/entity/auction/domain/AuctionControl"
;
import
{
ApproveHistory
}
from
"lib/src/entity/track/entity/ApproveHistory"
;
import
{
ApproveHistory
}
from
"lib/src/entity/track/entity/ApproveHistory"
;
import
{
AuctionVehicleRate
}
from
"lib/src/entity/analysis/domain/AuctionVehicleRate"
;
import
{
AuctionVehicleRate
}
from
"lib/src/entity/analysis/domain/AuctionVehicleRate"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
import
{
PendingAuction
}
from
"lib/src/entity/auction/domain/PendingAuction"
;
// endregion
// endregion
/**
/**
* 拍卖场次(Auction) PI接口
* 拍卖场次(Auction) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
AuctionController
{
export
class
AuctionController
{
/**
/**
* 新增拍卖场次
* 新增拍卖场次
* @param auction
* @param auction
* @return Auction
* @return Auction
*/
*/
static
addAuction
(
axios
:
AxiosStatic
,
auction
:
any
):
Promise
<
AxiosResponse
<
Auction
>>
{
static
addAuction
(
axios
:
AxiosStatic
,
auction
:
Auction
):
Promise
<
AxiosResponse
<
Auction
>>
{
return
axios
.
post
(
'auction/addAuction'
,
auction
);
return
axios
.
post
(
'auction/addAuction'
,
auction
);
}
}
/**
/**
*/
*/
static
auditAuction
(
axios
:
AxiosStatic
,
approveHistory
:
an
y
):
Promise
<
AxiosResponse
<
ApproveHistory
>>
{
static
auditAuction
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistor
y
):
Promise
<
AxiosResponse
<
ApproveHistory
>>
{
return
axios
.
post
(
'auction/auditAuction'
,
approveHistory
);
return
axios
.
post
(
'auction/auditAuction'
,
approveHistory
);
}
}
/**
/**
*/
*/
static
auditAuctionVehicle
(
axios
:
AxiosStatic
,
approveHistory
:
an
y
):
Promise
<
AxiosResponse
<
ApproveHistory
>>
{
static
auditAuctionVehicle
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistor
y
):
Promise
<
AxiosResponse
<
ApproveHistory
>>
{
return
axios
.
post
(
'auction/auditAuctionVehicle'
,
approveHistory
);
return
axios
.
post
(
'auction/auditAuctionVehicle'
,
approveHistory
);
}
}
...
@@ -42,7 +44,7 @@ export class AuctionController{
...
@@ -42,7 +44,7 @@ export class AuctionController{
* @param auctionId
* @param auctionId
* @return int
* @return int
*/
*/
static
cancelAuctionById
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
cancelAuctionById
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'auction/cancelAuctionById'
,
{
params
:
{
auctionId
:
auctionId
}});
return
axios
.
delete
(
'auction/cancelAuctionById'
,
{
params
:
{
auctionId
:
auctionId
}});
}
}
...
@@ -51,19 +53,19 @@ export class AuctionController{
...
@@ -51,19 +53,19 @@ export class AuctionController{
* @param auctionId
* @param auctionId
* @return Auction
* @return Auction
*/
*/
static
getAuctionById
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
Auction
>>
{
static
getAuctionById
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
Auction
>>
{
return
axios
.
get
(
'auction/getAuctionById'
,
{
params
:
{
auctionId
:
auctionId
}});
return
axios
.
get
(
'auction/getAuctionById'
,
{
params
:
{
auctionId
:
auctionId
}});
}
}
/**
/**
*/
*/
static
getAuctionCountRate
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
AuctionVehicleRate
[]
>>
{
static
getAuctionCountRate
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
AuctionVehicleRate
[]
>>
{
return
axios
.
get
(
'auction/getAuctionCountRate'
);
return
axios
.
get
(
'auction/getAuctionCountRate'
);
}
}
/**
/**
*/
*/
static
getAuctionDetailById
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
Auction
>>
{
static
getAuctionDetailById
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
Auction
>>
{
return
axios
.
get
(
'auction/getAuctionDetailById'
,
{
params
:
{
auctionId
:
auctionId
}});
return
axios
.
get
(
'auction/getAuctionDetailById'
,
{
params
:
{
auctionId
:
auctionId
}});
}
}
...
@@ -72,13 +74,13 @@ export class AuctionController{
...
@@ -72,13 +74,13 @@ export class AuctionController{
* @param auctionId
* @param auctionId
* @return Auction
* @return Auction
*/
*/
static
getAuctionInfoById
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
Auction
>>
{
static
getAuctionInfoById
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
Auction
>>
{
return
axios
.
get
(
'auction/getAuctionInfoById'
,
{
params
:
{
auctionId
:
auctionId
}});
return
axios
.
get
(
'auction/getAuctionInfoById'
,
{
params
:
{
auctionId
:
auctionId
}});
}
}
/**
/**
*/
*/
static
getAuctionStateCountByType
(
axios
:
AxiosStatic
,
auctionType
:
any
):
Promise
<
AxiosResponse
<
any
>>
{
static
getAuctionStateCountByType
(
axios
:
AxiosStatic
,
auctionType
:
any
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
get
(
'auction/getAuctionStateCountByType'
,
{
params
:
{
auctionType
:
auctionType
}});
return
axios
.
get
(
'auction/getAuctionStateCountByType'
,
{
params
:
{
auctionType
:
auctionType
}});
}
}
...
@@ -87,7 +89,7 @@ export class AuctionController{
...
@@ -87,7 +89,7 @@ export class AuctionController{
* @param aucvehId
* @param aucvehId
* @return AuctionVehicle
* @return AuctionVehicle
*/
*/
static
getAuctionVehicleById
(
axios
:
AxiosStatic
,
aucvehId
:
number
):
Promise
<
AxiosResponse
<
AuctionVehicle
>>
{
static
getAuctionVehicleById
(
axios
:
AxiosStatic
,
aucvehId
:
number
):
Promise
<
AxiosResponse
<
AuctionVehicle
>>
{
return
axios
.
get
(
'auction/getAuctionVehicleById'
,
{
params
:
{
aucvehId
:
aucvehId
}});
return
axios
.
get
(
'auction/getAuctionVehicleById'
,
{
params
:
{
aucvehId
:
aucvehId
}});
}
}
...
@@ -96,7 +98,7 @@ export class AuctionController{
...
@@ -96,7 +98,7 @@ export class AuctionController{
* @param vehicleId
* @param vehicleId
* @return AuctionVehicle
* @return AuctionVehicle
*/
*/
static
getAuctionVehicleByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
AuctionVehicle
>>
{
static
getAuctionVehicleByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
AuctionVehicle
>>
{
return
axios
.
get
(
'auction/getAuctionVehicleByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
return
axios
.
get
(
'auction/getAuctionVehicleByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
}
}
...
@@ -105,31 +107,31 @@ export class AuctionController{
...
@@ -105,31 +107,31 @@ export class AuctionController{
* @param auctionId
* @param auctionId
* @return List
* @return List
*/
*/
static
getAuctionVehiclesByAuctionId
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
AuctionVehicle
[]
>>
{
static
getAuctionVehiclesByAuctionId
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
AuctionVehicle
[]
>>
{
return
axios
.
get
(
'auction/getAuctionVehiclesByAuctionId'
,
{
params
:
{
auctionId
:
auctionId
}});
return
axios
.
get
(
'auction/getAuctionVehiclesByAuctionId'
,
{
params
:
{
auctionId
:
auctionId
}});
}
}
/**
/**
*/
*/
static
getAuctionVehiclesByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
AuctionVehicle
[]
>>
{
static
getAuctionVehiclesByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
AuctionVehicle
[]
>>
{
return
axios
.
get
(
'auction/getAuctionVehiclesByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
return
axios
.
get
(
'auction/getAuctionVehiclesByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
}
}
/**
/**
*/
*/
static
getBiddingAuctions
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Auction
[]
>>
{
static
getBiddingAuctions
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Auction
[]
>>
{
return
axios
.
get
(
'auction/getBiddingAuctions'
);
return
axios
.
get
(
'auction/getBiddingAuctions'
);
}
}
/**
/**
*/
*/
static
getHotAuctionVehiclesOrderByBidCount
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
AuctionVehicle
[]
>>
{
static
getHotAuctionVehiclesOrderByBidCount
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
AuctionVehicle
[]
>>
{
return
axios
.
get
(
'auction/getHotAuctionVehiclesOrderByBidCount'
);
return
axios
.
get
(
'auction/getHotAuctionVehiclesOrderByBidCount'
);
}
}
/**
/**
*/
*/
static
getTop3AuctionsByAuctionState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Auction
[]
>>
{
static
getTop3AuctionsByAuctionState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Auction
[]
>>
{
return
axios
.
get
(
'auction/getTop3AuctionsByAuctionState'
);
return
axios
.
get
(
'auction/getTop3AuctionsByAuctionState'
);
}
}
...
@@ -138,7 +140,7 @@ export class AuctionController{
...
@@ -138,7 +140,7 @@ export class AuctionController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageAuction
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Auction
>>>
{
static
pageAuction
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Auction
>
):
Promise
<
AxiosResponse
<
Page
<
Auction
>>>
{
return
axios
.
post
(
'auction/pageAuction'
,
pagination
);
return
axios
.
post
(
'auction/pageAuction'
,
pagination
);
}
}
...
@@ -146,7 +148,7 @@ export class AuctionController{
...
@@ -146,7 +148,7 @@ export class AuctionController{
/**
/**
*/
*/
static
pageAuctionControl
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionControl
>>>
{
static
pageAuctionControl
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Auction
>
):
Promise
<
AxiosResponse
<
Page
<
AuctionControl
>>>
{
return
axios
.
post
(
'auction/pageAuctionControl'
,
pagination
);
return
axios
.
post
(
'auction/pageAuctionControl'
,
pagination
);
}
}
...
@@ -157,7 +159,7 @@ export class AuctionController{
...
@@ -157,7 +159,7 @@ export class AuctionController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageAuctionVehicle
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionVehicle
>>>
{
static
pageAuctionVehicle
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
AuctionVehicle
>
):
Promise
<
AxiosResponse
<
Page
<
AuctionVehicle
>>>
{
return
axios
.
post
(
'auction/pageAuctionVehicle'
,
pagination
);
return
axios
.
post
(
'auction/pageAuctionVehicle'
,
pagination
);
}
}
...
@@ -165,7 +167,7 @@ export class AuctionController{
...
@@ -165,7 +167,7 @@ export class AuctionController{
/**
/**
*/
*/
static
pageAuctionVehicleCtrl
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionVehicle
>>>
{
static
pageAuctionVehicleCtrl
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
AuctionVehicle
>
):
Promise
<
AxiosResponse
<
Page
<
AuctionVehicle
>>>
{
return
axios
.
post
(
'auction/pageAuctionVehicleCtrl'
,
pagination
);
return
axios
.
post
(
'auction/pageAuctionVehicleCtrl'
,
pagination
);
}
}
...
@@ -176,7 +178,7 @@ export class AuctionController{
...
@@ -176,7 +178,7 @@ export class AuctionController{
* @param pendingAuction
* @param pendingAuction
* @return int
* @return int
*/
*/
static
pendingAuction
(
axios
:
AxiosStatic
,
pendingAuction
:
any
):
Promise
<
AxiosResponse
<
number
>>
{
static
pendingAuction
(
axios
:
AxiosStatic
,
pendingAuction
:
PendingAuction
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
post
(
'auction/pendingAuction'
,
pendingAuction
);
return
axios
.
post
(
'auction/pendingAuction'
,
pendingAuction
);
}
}
...
@@ -185,7 +187,7 @@ export class AuctionController{
...
@@ -185,7 +187,7 @@ export class AuctionController{
* @param auctionId
* @param auctionId
* @return int
* @return int
*/
*/
static
removeAuctionById
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeAuctionById
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'auction/removeAuctionById'
,
{
params
:
{
auctionId
:
auctionId
}});
return
axios
.
delete
(
'auction/removeAuctionById'
,
{
params
:
{
auctionId
:
auctionId
}});
}
}
...
@@ -194,7 +196,7 @@ export class AuctionController{
...
@@ -194,7 +196,7 @@ export class AuctionController{
* @param auction
* @param auction
* @return Auction
* @return Auction
*/
*/
static
updateAuction
(
axios
:
AxiosStatic
,
auction
:
any
):
Promise
<
AxiosResponse
<
Auction
>>
{
static
updateAuction
(
axios
:
AxiosStatic
,
auction
:
Auction
):
Promise
<
AxiosResponse
<
Auction
>>
{
return
axios
.
post
(
'auction/updateAuction'
,
auction
);
return
axios
.
post
(
'auction/updateAuction'
,
auction
);
}
}
...
...
aus-front/admin/src/api/AuctionOrderController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
AuctionOrder
}
from
"lib/src/entity/auction/entity/AuctionOrder"
;
import
{
AuctionOrder
}
from
"lib/src/entity/auction/entity/AuctionOrder"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
BidOrder
}
from
"lib/src/entity/auction/domain/BidOrder"
;
import
{
ApproveHistory
}
from
"lib/src/entity/track/entity/ApproveHistory"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// endregion
// endregion
/**
/**
* 拍卖订单(AuctionOrder) PI接口
* 拍卖订单(AuctionOrder) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
AuctionOrderController
{
export
class
AuctionOrderController
{
/**
/**
* 新增拍卖订单
* 新增拍卖订单
* @param bidOrder
* @param bidOrder
* @return AuctionOrder
* @return AuctionOrder
*/
*/
static
addAuctionOrder
(
axios
:
AxiosStatic
,
bidOrder
:
any
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
static
addAuctionOrder
(
axios
:
AxiosStatic
,
bidOrder
:
BidOrder
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
return
axios
.
post
(
'auctionOrder/addAuctionOrder'
,
bidOrder
);
return
axios
.
post
(
'auctionOrder/addAuctionOrder'
,
bidOrder
);
}
}
...
@@ -27,7 +30,7 @@ export class AuctionOrderController{
...
@@ -27,7 +30,7 @@ export class AuctionOrderController{
* @return AuctionOrder
* @return AuctionOrder
* @throws FieldException
* @throws FieldException
*/
*/
static
auditTransferAuctionOrder
(
axios
:
AxiosStatic
,
approveHistory
:
an
y
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
static
auditTransferAuctionOrder
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistor
y
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
return
axios
.
post
(
'auctionOrder/auditTransferAuctionOrder'
,
approveHistory
);
return
axios
.
post
(
'auctionOrder/auditTransferAuctionOrder'
,
approveHistory
);
}
}
...
@@ -36,13 +39,13 @@ export class AuctionOrderController{
...
@@ -36,13 +39,13 @@ export class AuctionOrderController{
* @param auctionOrder
* @param auctionOrder
* @return AuctionOrder
* @return AuctionOrder
*/
*/
static
cancelAuctionOrder
(
axios
:
AxiosStatic
,
auctionOrder
:
any
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
static
cancelAuctionOrder
(
axios
:
AxiosStatic
,
auctionOrder
:
AuctionOrder
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
return
axios
.
post
(
'auctionOrder/cancelAuctionOrder'
,
auctionOrder
);
return
axios
.
post
(
'auctionOrder/cancelAuctionOrder'
,
auctionOrder
);
}
}
/**
/**
*/
*/
static
exportAuctionOrder
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportAuctionOrder
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
AuctionOrder
>
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'auctionOrder/exportAuctionOrder'
,
pagination
,
config
);
return
axios
.
post
(
'auctionOrder/exportAuctionOrder'
,
pagination
,
config
);
}
}
...
@@ -51,37 +54,37 @@ export class AuctionOrderController{
...
@@ -51,37 +54,37 @@ export class AuctionOrderController{
* @param orderId
* @param orderId
* @return AuctionOrder
* @return AuctionOrder
*/
*/
static
getAuctionOrderById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
static
getAuctionOrderById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
return
axios
.
get
(
'auctionOrder/getAuctionOrderById'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
get
(
'auctionOrder/getAuctionOrderById'
,
{
params
:
{
orderId
:
orderId
}});
}
}
/**
/**
*/
*/
static
getAuctionOrderByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
static
getAuctionOrderByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
return
axios
.
get
(
'auctionOrder/getAuctionOrderByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
return
axios
.
get
(
'auctionOrder/getAuctionOrderByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
}
}
/**
/**
*/
*/
static
getAuctionOrderDetailById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
static
getAuctionOrderDetailById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
return
axios
.
get
(
'auctionOrder/getAuctionOrderDetailById'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
get
(
'auctionOrder/getAuctionOrderDetailById'
,
{
params
:
{
orderId
:
orderId
}});
}
}
/**
/**
*/
*/
static
getAuctionOrdersByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
AuctionOrder
[]
>>
{
static
getAuctionOrdersByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
AuctionOrder
[]
>>
{
return
axios
.
get
(
'auctionOrder/getAuctionOrdersByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
return
axios
.
get
(
'auctionOrder/getAuctionOrdersByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
}
}
/**
/**
*/
*/
static
getOrderCountByOrderState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
static
getOrderCountByOrderState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
get
(
'auctionOrder/getOrderCountByOrderState'
);
return
axios
.
get
(
'auctionOrder/getOrderCountByOrderState'
);
}
}
/**
/**
*/
*/
static
getTop3AuctionOrdersByAuctioning
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
AuctionOrder
[]
>>
{
static
getTop3AuctionOrdersByAuctioning
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
AuctionOrder
[]
>>
{
return
axios
.
get
(
'auctionOrder/getTop3AuctionOrdersByAuctioning'
);
return
axios
.
get
(
'auctionOrder/getTop3AuctionOrdersByAuctioning'
);
}
}
...
@@ -90,7 +93,7 @@ export class AuctionOrderController{
...
@@ -90,7 +93,7 @@ export class AuctionOrderController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageAuctionOrder
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionOrder
>>>
{
static
pageAuctionOrder
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
AuctionOrder
>
):
Promise
<
AxiosResponse
<
Page
<
AuctionOrder
>>>
{
return
axios
.
post
(
'auctionOrder/pageAuctionOrder'
,
pagination
);
return
axios
.
post
(
'auctionOrder/pageAuctionOrder'
,
pagination
);
}
}
...
@@ -101,7 +104,7 @@ export class AuctionOrderController{
...
@@ -101,7 +104,7 @@ export class AuctionOrderController{
* @param orderId
* @param orderId
* @return int
* @return int
*/
*/
static
removeAuctionOrderById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeAuctionOrderById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'auctionOrder/removeAuctionOrderById'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
delete
(
'auctionOrder/removeAuctionOrderById'
,
{
params
:
{
orderId
:
orderId
}});
}
}
...
...
aus-front/admin/src/api/BankAccountController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
BankAccount
}
from
"lib/src/entity/finance/entity/BankAccount"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
// endregion
// endregion
/**
/**
* 银行账户(BankAccount) PI接口
* 银行账户(BankAccount) PI接口
* @since 2025-10-19 11:05:09
* @since 2025-10-19 11:05:09
*/
*/
export
class
BankAccountController
{
export
class
BankAccountController
{
/**
/**
* 新增银行账户
* 新增银行账户
* @param bankAccount
* @param bankAccount
* @return BankAccount
* @return BankAccount
*/
*/
static
addBankAccount
(
axios
:
AxiosStatic
,
bankAccount
:
any
):
Promise
<
AxiosResponse
<
BankAccount
>>
{
static
addBankAccount
(
axios
:
AxiosStatic
,
bankAccount
:
BankAccount
):
Promise
<
AxiosResponse
<
BankAccount
>>
{
return
axios
.
post
(
'bankAccount/addBankAccount'
,
bankAccount
);
return
axios
.
post
(
'bankAccount/addBankAccount'
,
bankAccount
);
}
}
...
@@ -24,15 +28,15 @@ export class BankAccountController{
...
@@ -24,15 +28,15 @@ export class BankAccountController{
* @param accountId
* @param accountId
* @return boolean
* @return boolean
*/
*/
static
enableBankAccount
(
axios
:
AxiosStatic
,
accountId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
enableBankAccount
(
axios
:
AxiosStatic
,
accountId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'bankAccount/enableBankAccount'
,
null
,
{
params
:
{
accountId
:
accountId
,
enabled
:
enabled
}});
return
axios
.
post
(
'bankAccount/enableBankAccount'
,
null
,
{
params
:
{
accountId
:
accountId
,
enabled
:
enabled
}});
}
}
/**
/**
* 查询全部$银行账户
* 查询全部$银行账户
* @return List
* @return List
*/
*/
static
getAllBankAccounts
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
BankAccount
[]
>>
{
static
getAllBankAccounts
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
BankAccount
[]
>>
{
return
axios
.
get
(
'bankAccount/getAllBankAccounts'
);
return
axios
.
get
(
'bankAccount/getAllBankAccounts'
);
}
}
...
@@ -41,7 +45,7 @@ export class BankAccountController{
...
@@ -41,7 +45,7 @@ export class BankAccountController{
* @param accountId
* @param accountId
* @return BankAccount
* @return BankAccount
*/
*/
static
getBankAccountById
(
axios
:
AxiosStatic
,
accountId
:
number
):
Promise
<
AxiosResponse
<
BankAccount
>>
{
static
getBankAccountById
(
axios
:
AxiosStatic
,
accountId
:
number
):
Promise
<
AxiosResponse
<
BankAccount
>>
{
return
axios
.
get
(
'bankAccount/getBankAccountById'
,
{
params
:
{
accountId
:
accountId
}});
return
axios
.
get
(
'bankAccount/getBankAccountById'
,
{
params
:
{
accountId
:
accountId
}});
}
}
...
@@ -49,7 +53,7 @@ export class BankAccountController{
...
@@ -49,7 +53,7 @@ export class BankAccountController{
* 查询全部启用$银行账户
* 查询全部启用$银行账户
* @return List
* @return List
*/
*/
static
getEnableBankAccounts
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
BankAccount
[]
>>
{
static
getEnableBankAccounts
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
BankAccount
[]
>>
{
return
axios
.
get
(
'bankAccount/getEnabledBankAccounts'
);
return
axios
.
get
(
'bankAccount/getEnabledBankAccounts'
);
}
}
...
@@ -58,7 +62,7 @@ export class BankAccountController{
...
@@ -58,7 +62,7 @@ export class BankAccountController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageBankAccount
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
BankAccount
>>>
{
static
pageBankAccount
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
BankAccount
>
):
Promise
<
AxiosResponse
<
Page
<
BankAccount
>>>
{
return
axios
.
post
(
'bankAccount/pageBankAccount'
,
pagination
);
return
axios
.
post
(
'bankAccount/pageBankAccount'
,
pagination
);
}
}
...
@@ -69,7 +73,7 @@ export class BankAccountController{
...
@@ -69,7 +73,7 @@ export class BankAccountController{
* @param accountId
* @param accountId
* @return int
* @return int
*/
*/
static
removeBankAccountById
(
axios
:
AxiosStatic
,
accountId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeBankAccountById
(
axios
:
AxiosStatic
,
accountId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'bankAccount/removeBankAccountById'
,
{
params
:
{
accountId
:
accountId
}});
return
axios
.
delete
(
'bankAccount/removeBankAccountById'
,
{
params
:
{
accountId
:
accountId
}});
}
}
...
@@ -78,7 +82,7 @@ export class BankAccountController{
...
@@ -78,7 +82,7 @@ export class BankAccountController{
* @param bankAccount
* @param bankAccount
* @return BankAccount
* @return BankAccount
*/
*/
static
updateBankAccount
(
axios
:
AxiosStatic
,
bankAccount
:
any
):
Promise
<
AxiosResponse
<
BankAccount
>>
{
static
updateBankAccount
(
axios
:
AxiosStatic
,
bankAccount
:
BankAccount
):
Promise
<
AxiosResponse
<
BankAccount
>>
{
return
axios
.
post
(
'bankAccount/updateBankAccount'
,
bankAccount
);
return
axios
.
post
(
'bankAccount/updateBankAccount'
,
bankAccount
);
}
}
...
...
aus-front/admin/src/api/BidController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
Bid
}
from
"lib/src/entity/auction/entity/Bid"
;
import
{
Bid
}
from
"lib/src/entity/auction/entity/Bid"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
IndexValue
}
from
"lib/src/entity/analysis/domain/IndexValue"
;
import
{
IndexValue
}
from
"lib/src/entity/analysis/domain/IndexValue"
;
import
{
ProvinceRate
}
from
"lib/src/entity/analysis/domain/ProvinceRate"
;
import
{
ProvinceRate
}
from
"lib/src/entity/analysis/domain/ProvinceRate"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// endregion
// endregion
/**
/**
* 投标竞价(Bid) PI接口
* 投标竞价(Bid) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
BidController
{
export
class
BidController
{
/**
/**
*/
*/
static
getAccountCountByCreateTimeAfter
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
static
getAccountCountByCreateTimeAfter
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
get
(
'bid/getAccountCountByCreateTimeAfter'
);
return
axios
.
get
(
'bid/getAccountCountByCreateTimeAfter'
);
}
}
/**
/**
*/
*/
static
getBidAccountCountGroupByHour
(
axios
:
AxiosStatic
,
date
:
Dayjs
|
string
):
Promise
<
AxiosResponse
<
IndexValue
[]
>>
{
static
getBidAccountCountGroupByHour
(
axios
:
AxiosStatic
,
date
:
Dayjs
|
string
):
Promise
<
AxiosResponse
<
IndexValue
[]
>>
{
if
(
date
instanceof
Object
)
{
date
=
dayjs
(
date
).
format
(
'YYYY-MM-DD'
)
}
if
(
date
instanceof
Object
)
{
date
=
dayjs
(
date
).
format
(
'YYYY-MM-DD'
)
}
return
axios
.
get
(
'bid/getBidAccountCountGroupByHour'
,
{
params
:
{
date
:
date
}});
return
axios
.
get
(
'bid/getBidAccountCountGroupByHour'
,
{
params
:
{
date
:
date
}});
}
}
...
@@ -33,7 +36,7 @@ export class BidController{
...
@@ -33,7 +36,7 @@ export class BidController{
* @param orderId
* @param orderId
* @return List
* @return List
*/
*/
static
getLastBidsByOrderId
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
Bid
[]
>>
{
static
getLastBidsByOrderId
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
Bid
[]
>>
{
return
axios
.
get
(
'bid/getLastBidsByOrderId'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
get
(
'bid/getLastBidsByOrderId'
,
{
params
:
{
orderId
:
orderId
}});
}
}
...
@@ -42,7 +45,7 @@ export class BidController{
...
@@ -42,7 +45,7 @@ export class BidController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageBid
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Bid
>>>
{
static
pageBid
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Bid
>
):
Promise
<
AxiosResponse
<
Page
<
Bid
>>>
{
return
axios
.
post
(
'bid/pageBid'
,
pagination
);
return
axios
.
post
(
'bid/pageBid'
,
pagination
);
}
}
...
@@ -53,7 +56,7 @@ export class BidController{
...
@@ -53,7 +56,7 @@ export class BidController{
* @param bidId
* @param bidId
* @return int
* @return int
*/
*/
static
removeBidById
(
axios
:
AxiosStatic
,
bidId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeBidById
(
axios
:
AxiosStatic
,
bidId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'bid/removeBidById'
,
{
params
:
{
bidId
:
bidId
}});
return
axios
.
delete
(
'bid/removeBidById'
,
{
params
:
{
bidId
:
bidId
}});
}
}
...
...
aus-front/admin/src/api/BreachController.ts
View file @
d06a731
...
@@ -11,7 +11,7 @@ export class BreachController{
...
@@ -11,7 +11,7 @@ export class BreachController{
/**
/**
*/
*/
static
addBreachRecord
(
axios
:
AxiosStatic
,
breachRecord
:
any
):
Promise
<
AxiosResponse
<
BreachRecord
>>
{
static
addBreachRecord
(
axios
:
AxiosStatic
,
breachRecord
:
BreachRecord
):
Promise
<
AxiosResponse
<
BreachRecord
>>
{
return
axios
.
post
(
'breach/addBreachRecord'
,
breachRecord
);
return
axios
.
post
(
'breach/addBreachRecord'
,
breachRecord
);
}
}
...
...
aus-front/admin/src/api/CarouselController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
Carousel
}
from
"lib/src/entity/business/entity/Carousel"
;
import
{
Carousel
}
from
"lib/src/entity/business/entity/Carousel"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// endregion
// endregion
/**
/**
* 轮播图(Carousel) PI接口
* 轮播图(Carousel) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
CarouselController
{
export
class
CarouselController
{
/**
/**
* 新增轮播图
* 新增轮播图
* @param carousel
* @param carousel
* @return Carousel
* @return Carousel
*/
*/
static
addCarousel
(
axios
:
AxiosStatic
,
carousel
:
any
):
Promise
<
AxiosResponse
<
Carousel
>>
{
static
addCarousel
(
axios
:
AxiosStatic
,
carousel
:
Carousel
):
Promise
<
AxiosResponse
<
Carousel
>>
{
return
axios
.
post
(
'carousel/addCarousel'
,
carousel
);
return
axios
.
post
(
'carousel/addCarousel'
,
carousel
);
}
}
...
@@ -26,7 +27,7 @@ export class CarouselController{
...
@@ -26,7 +27,7 @@ export class CarouselController{
* @param carouselId
* @param carouselId
* @return Carousel
* @return Carousel
*/
*/
static
getCarouselById
(
axios
:
AxiosStatic
,
carouselId
:
number
):
Promise
<
AxiosResponse
<
Carousel
>>
{
static
getCarouselById
(
axios
:
AxiosStatic
,
carouselId
:
number
):
Promise
<
AxiosResponse
<
Carousel
>>
{
return
axios
.
get
(
'carousel/getCarouselById'
,
{
params
:
{
carouselId
:
carouselId
}});
return
axios
.
get
(
'carousel/getCarouselById'
,
{
params
:
{
carouselId
:
carouselId
}});
}
}
...
@@ -35,7 +36,7 @@ export class CarouselController{
...
@@ -35,7 +36,7 @@ export class CarouselController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageCarousel
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Carousel
>>>
{
static
pageCarousel
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Carousel
>
):
Promise
<
AxiosResponse
<
Page
<
Carousel
>>>
{
return
axios
.
post
(
'carousel/pageCarousel'
,
pagination
);
return
axios
.
post
(
'carousel/pageCarousel'
,
pagination
);
}
}
...
@@ -46,7 +47,7 @@ export class CarouselController{
...
@@ -46,7 +47,7 @@ export class CarouselController{
* @param carouselId
* @param carouselId
* @return int
* @return int
*/
*/
static
removeCarouselById
(
axios
:
AxiosStatic
,
carouselId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeCarouselById
(
axios
:
AxiosStatic
,
carouselId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'carousel/removeCarouselById'
,
{
params
:
{
carouselId
:
carouselId
}});
return
axios
.
delete
(
'carousel/removeCarouselById'
,
{
params
:
{
carouselId
:
carouselId
}});
}
}
...
@@ -55,7 +56,7 @@ export class CarouselController{
...
@@ -55,7 +56,7 @@ export class CarouselController{
* @param carousel
* @param carousel
* @return Carousel
* @return Carousel
*/
*/
static
updateCarousel
(
axios
:
AxiosStatic
,
carousel
:
any
):
Promise
<
AxiosResponse
<
Carousel
>>
{
static
updateCarousel
(
axios
:
AxiosStatic
,
carousel
:
Carousel
):
Promise
<
AxiosResponse
<
Carousel
>>
{
return
axios
.
post
(
'carousel/updateCarousel'
,
carousel
);
return
axios
.
post
(
'carousel/updateCarousel'
,
carousel
);
}
}
...
...
aus-front/admin/src/api/CommissionRuleController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
CommissionRule
}
from
"lib/src/entity/account/entity/CommissionRule"
;
import
{
CommissionRule
}
from
"lib/src/entity/account/entity/CommissionRule"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// endregion
// endregion
/**
/**
* 佣金规则(CommissionRule) PI接口
* 佣金规则(CommissionRule) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
CommissionRuleController
{
export
class
CommissionRuleController
{
/**
/**
* 新增佣金规则
* 新增佣金规则
* @param commissionRule
* @param commissionRule
* @return CommissionRule
* @return CommissionRule
*/
*/
static
addCommissionRule
(
axios
:
AxiosStatic
,
commissionRule
:
any
):
Promise
<
AxiosResponse
<
CommissionRule
>>
{
static
addCommissionRule
(
axios
:
AxiosStatic
,
commissionRule
:
CommissionRule
):
Promise
<
AxiosResponse
<
CommissionRule
>>
{
return
axios
.
post
(
'commissionRule/addCommissionRule'
,
commissionRule
);
return
axios
.
post
(
'commissionRule/addCommissionRule'
,
commissionRule
);
}
}
...
@@ -26,15 +27,15 @@ export class CommissionRuleController{
...
@@ -26,15 +27,15 @@ export class CommissionRuleController{
* @param ruleId
* @param ruleId
* @return boolean
* @return boolean
*/
*/
static
enableCommissionRule
(
axios
:
AxiosStatic
,
ruleId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
enableCommissionRule
(
axios
:
AxiosStatic
,
ruleId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'commissionRule/enableCommissionRule'
,
null
,
{
params
:
{
ruleId
:
ruleId
,
enabled
:
enabled
}});
return
axios
.
post
(
'commissionRule/enableCommissionRule'
,
null
,
{
params
:
{
ruleId
:
ruleId
,
enabled
:
enabled
}});
}
}
/**
/**
* 查询全部$佣金规则
* 查询全部$佣金规则
* @return List
* @return List
*/
*/
static
getAllCommissionRules
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
CommissionRule
[]
>>
{
static
getAllCommissionRules
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
CommissionRule
[]
>>
{
return
axios
.
get
(
'commissionRule/getAllCommissionRules'
);
return
axios
.
get
(
'commissionRule/getAllCommissionRules'
);
}
}
...
@@ -43,7 +44,7 @@ export class CommissionRuleController{
...
@@ -43,7 +44,7 @@ export class CommissionRuleController{
* @param ruleId
* @param ruleId
* @return CommissionRule
* @return CommissionRule
*/
*/
static
getCommissionRuleById
(
axios
:
AxiosStatic
,
ruleId
:
number
):
Promise
<
AxiosResponse
<
CommissionRule
>>
{
static
getCommissionRuleById
(
axios
:
AxiosStatic
,
ruleId
:
number
):
Promise
<
AxiosResponse
<
CommissionRule
>>
{
return
axios
.
get
(
'commissionRule/getCommissionRuleById'
,
{
params
:
{
ruleId
:
ruleId
}});
return
axios
.
get
(
'commissionRule/getCommissionRuleById'
,
{
params
:
{
ruleId
:
ruleId
}});
}
}
...
@@ -51,7 +52,7 @@ export class CommissionRuleController{
...
@@ -51,7 +52,7 @@ export class CommissionRuleController{
* 查询全部启用$佣金规则
* 查询全部启用$佣金规则
* @return List
* @return List
*/
*/
static
getEnableCommissionRules
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
CommissionRule
[]
>>
{
static
getEnableCommissionRules
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
CommissionRule
[]
>>
{
return
axios
.
get
(
'commissionRule/getEnabledCommissionRules'
);
return
axios
.
get
(
'commissionRule/getEnabledCommissionRules'
);
}
}
...
@@ -60,7 +61,7 @@ export class CommissionRuleController{
...
@@ -60,7 +61,7 @@ export class CommissionRuleController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageCommissionRule
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
CommissionRule
>>>
{
static
pageCommissionRule
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
CommissionRule
>
):
Promise
<
AxiosResponse
<
Page
<
CommissionRule
>>>
{
return
axios
.
post
(
'commissionRule/pageCommissionRule'
,
pagination
);
return
axios
.
post
(
'commissionRule/pageCommissionRule'
,
pagination
);
}
}
...
@@ -71,7 +72,7 @@ export class CommissionRuleController{
...
@@ -71,7 +72,7 @@ export class CommissionRuleController{
* @param ruleId
* @param ruleId
* @return int
* @return int
*/
*/
static
removeCommissionRuleById
(
axios
:
AxiosStatic
,
ruleId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeCommissionRuleById
(
axios
:
AxiosStatic
,
ruleId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'commissionRule/removeCommissionRuleById'
,
{
params
:
{
ruleId
:
ruleId
}});
return
axios
.
delete
(
'commissionRule/removeCommissionRuleById'
,
{
params
:
{
ruleId
:
ruleId
}});
}
}
...
@@ -80,7 +81,7 @@ export class CommissionRuleController{
...
@@ -80,7 +81,7 @@ export class CommissionRuleController{
* @param commissionRule
* @param commissionRule
* @return CommissionRule
* @return CommissionRule
*/
*/
static
updateCommissionRule
(
axios
:
AxiosStatic
,
commissionRule
:
any
):
Promise
<
AxiosResponse
<
CommissionRule
>>
{
static
updateCommissionRule
(
axios
:
AxiosStatic
,
commissionRule
:
CommissionRule
):
Promise
<
AxiosResponse
<
CommissionRule
>>
{
return
axios
.
post
(
'commissionRule/updateCommissionRule'
,
commissionRule
);
return
axios
.
post
(
'commissionRule/updateCommissionRule'
,
commissionRule
);
}
}
...
...
aus-front/admin/src/api/ConfigController.ts
View file @
d06a731
...
@@ -43,25 +43,25 @@ export class ConfigController{
...
@@ -43,25 +43,25 @@ export class ConfigController{
* @param businessConfig
* @param businessConfig
* @return boolean
* @return boolean
*/
*/
static
updateBusinessConfig
(
axios
:
AxiosStatic
,
businessConfig
:
any
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
updateBusinessConfig
(
axios
:
AxiosStatic
,
businessConfig
:
BusinessConfig
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'config/updateBusinessConfig'
,
businessConfig
);
return
axios
.
post
(
'config/updateBusinessConfig'
,
businessConfig
);
}
}
/**
/**
*/
*/
static
updateDarkBidPriceRange
(
axios
:
AxiosStatic
,
darkBidPriceRange
:
any
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
updateDarkBidPriceRange
(
axios
:
AxiosStatic
,
darkBidPriceRange
:
DarkBidPriceRange
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'config/updateDarkBidPriceRange'
,
darkBidPriceRange
);
return
axios
.
post
(
'config/updateDarkBidPriceRange'
,
darkBidPriceRange
);
}
}
/**
/**
*/
*/
static
updateESignPartAConfig
(
axios
:
AxiosStatic
,
businessConfig
:
any
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
updateESignPartAConfig
(
axios
:
AxiosStatic
,
businessConfig
:
ESignPartAConfig
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'config/updateESignPartAConfig'
,
businessConfig
);
return
axios
.
post
(
'config/updateESignPartAConfig'
,
businessConfig
);
}
}
/**
/**
*/
*/
static
updateLightBidPriceRange
(
axios
:
AxiosStatic
,
lightBidPriceRange
:
any
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
updateLightBidPriceRange
(
axios
:
AxiosStatic
,
lightBidPriceRange
:
LightBidPriceRange
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'config/updateLightBidPriceRange'
,
lightBidPriceRange
);
return
axios
.
post
(
'config/updateLightBidPriceRange'
,
lightBidPriceRange
);
}
}
...
...
aus-front/admin/src/api/ContractController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
Contract
}
from
"lib/src/entity/auction/entity/Contract"
;
import
{
Contract
}
from
"lib/src/entity/auction/entity/Contract"
;
import
{
ContractTemplate
}
from
"lib/src/entity/auction/entity/ContractTemplate"
;
import
{
ContractTemplate
}
from
"lib/src/entity/auction/entity/ContractTemplate"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// endregion
// endregion
/**
/**
* 合同(Contract) PI接口
* 合同(Contract) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
ContractController
{
export
class
ContractController
{
/**
/**
* 新增合同
* 新增合同
* @param contract
* @param contract
* @return Contract
* @return Contract
*/
*/
static
addContract
(
axios
:
AxiosStatic
,
contract
:
any
):
Promise
<
AxiosResponse
<
Contract
>>
{
static
addContract
(
axios
:
AxiosStatic
,
contract
:
Contract
):
Promise
<
AxiosResponse
<
Contract
>>
{
return
axios
.
post
(
'contract/addContract'
,
contract
);
return
axios
.
post
(
'contract/addContract'
,
contract
);
}
}
...
@@ -27,7 +28,7 @@ export class ContractController{
...
@@ -27,7 +28,7 @@ export class ContractController{
* @param contractTemplate
* @param contractTemplate
* @return ContractTemplate
* @return ContractTemplate
*/
*/
static
addContractTemplate
(
axios
:
AxiosStatic
,
contractTemplate
:
any
):
Promise
<
AxiosResponse
<
ContractTemplate
>>
{
static
addContractTemplate
(
axios
:
AxiosStatic
,
contractTemplate
:
ContractTemplate
):
Promise
<
AxiosResponse
<
ContractTemplate
>>
{
return
axios
.
post
(
'contract/addContractTemplate'
,
contractTemplate
);
return
axios
.
post
(
'contract/addContractTemplate'
,
contractTemplate
);
}
}
...
@@ -36,8 +37,8 @@ export class ContractController{
...
@@ -36,8 +37,8 @@ export class ContractController{
* @param templateId
* @param templateId
* @return boolean
* @return boolean
*/
*/
static
enableContractTemplate
(
axios
:
AxiosStatic
,
templateId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
enableContractTemplate
(
axios
:
AxiosStatic
,
templateId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'contract/enableContractTemplate'
,
null
,
{
params
:
{
templateId
:
templateId
,
enabled
:
enabled
}});
return
axios
.
post
(
'contract/enableContractTemplate'
,
null
,
{
params
:
{
templateId
:
templateId
,
enabled
:
enabled
}});
}
}
/**
/**
...
@@ -45,7 +46,7 @@ export class ContractController{
...
@@ -45,7 +46,7 @@ export class ContractController{
* @param contractId
* @param contractId
* @return Contract
* @return Contract
*/
*/
static
getContractById
(
axios
:
AxiosStatic
,
contractId
:
number
):
Promise
<
AxiosResponse
<
Contract
>>
{
static
getContractById
(
axios
:
AxiosStatic
,
contractId
:
number
):
Promise
<
AxiosResponse
<
Contract
>>
{
return
axios
.
get
(
'contract/getContractById'
,
{
params
:
{
contractId
:
contractId
}});
return
axios
.
get
(
'contract/getContractById'
,
{
params
:
{
contractId
:
contractId
}});
}
}
...
@@ -53,7 +54,7 @@ export class ContractController{
...
@@ -53,7 +54,7 @@ export class ContractController{
* 查询全部$合同模板
* 查询全部$合同模板
* @return Contract
* @return Contract
*/
*/
static
getContractFileById
(
axios
:
AxiosStatic
,
contractId
:
number
):
Promise
<
AxiosResponse
<
Contract
>>
{
static
getContractFileById
(
axios
:
AxiosStatic
,
contractId
:
number
):
Promise
<
AxiosResponse
<
Contract
>>
{
return
axios
.
get
(
'contract/getContractFileById'
,
{
params
:
{
contractId
:
contractId
}});
return
axios
.
get
(
'contract/getContractFileById'
,
{
params
:
{
contractId
:
contractId
}});
}
}
...
@@ -62,13 +63,13 @@ export class ContractController{
...
@@ -62,13 +63,13 @@ export class ContractController{
* @param templateId
* @param templateId
* @return ContractTemplate
* @return ContractTemplate
*/
*/
static
getContractTemplateById
(
axios
:
AxiosStatic
,
templateId
:
number
):
Promise
<
AxiosResponse
<
ContractTemplate
>>
{
static
getContractTemplateById
(
axios
:
AxiosStatic
,
templateId
:
number
):
Promise
<
AxiosResponse
<
ContractTemplate
>>
{
return
axios
.
get
(
'contract/getContractTemplateById'
,
{
params
:
{
templateId
:
templateId
}});
return
axios
.
get
(
'contract/getContractTemplateById'
,
{
params
:
{
templateId
:
templateId
}});
}
}
/**
/**
*/
*/
static
getContractsByOrderId
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
Contract
[]
>>
{
static
getContractsByOrderId
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
Contract
[]
>>
{
return
axios
.
get
(
'contract/getContractsByOrderId'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
get
(
'contract/getContractsByOrderId'
,
{
params
:
{
orderId
:
orderId
}});
}
}
...
@@ -76,7 +77,7 @@ export class ContractController{
...
@@ -76,7 +77,7 @@ export class ContractController{
* 查询全部启用$合同模板
* 查询全部启用$合同模板
* @return List
* @return List
*/
*/
static
getEnableContractTemplates
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
ContractTemplate
[]
>>
{
static
getEnableContractTemplates
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
ContractTemplate
[]
>>
{
return
axios
.
get
(
'contract/getEnabledContractTemplates'
);
return
axios
.
get
(
'contract/getEnabledContractTemplates'
);
}
}
...
@@ -85,7 +86,7 @@ export class ContractController{
...
@@ -85,7 +86,7 @@ export class ContractController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageContract
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Contract
>>>
{
static
pageContract
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Contract
>
):
Promise
<
AxiosResponse
<
Page
<
Contract
>>>
{
return
axios
.
post
(
'contract/pageContract'
,
pagination
);
return
axios
.
post
(
'contract/pageContract'
,
pagination
);
}
}
...
@@ -96,7 +97,7 @@ export class ContractController{
...
@@ -96,7 +97,7 @@ export class ContractController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageContractTemplate
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
ContractTemplate
>>>
{
static
pageContractTemplate
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
ContractTemplate
>
):
Promise
<
AxiosResponse
<
Page
<
ContractTemplate
>>>
{
return
axios
.
post
(
'contract/pageContractTemplate'
,
pagination
);
return
axios
.
post
(
'contract/pageContractTemplate'
,
pagination
);
}
}
...
@@ -107,7 +108,7 @@ export class ContractController{
...
@@ -107,7 +108,7 @@ export class ContractController{
* @param contractId
* @param contractId
* @return int
* @return int
*/
*/
static
removeContractById
(
axios
:
AxiosStatic
,
contractId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeContractById
(
axios
:
AxiosStatic
,
contractId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'contract/removeContractById'
,
{
params
:
{
contractId
:
contractId
}});
return
axios
.
delete
(
'contract/removeContractById'
,
{
params
:
{
contractId
:
contractId
}});
}
}
...
@@ -116,7 +117,7 @@ export class ContractController{
...
@@ -116,7 +117,7 @@ export class ContractController{
* @param templateId
* @param templateId
* @return int
* @return int
*/
*/
static
removeContractTemplateById
(
axios
:
AxiosStatic
,
templateId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeContractTemplateById
(
axios
:
AxiosStatic
,
templateId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'contract/removeContractTemplateById'
,
{
params
:
{
templateId
:
templateId
}});
return
axios
.
delete
(
'contract/removeContractTemplateById'
,
{
params
:
{
templateId
:
templateId
}});
}
}
...
@@ -125,7 +126,7 @@ export class ContractController{
...
@@ -125,7 +126,7 @@ export class ContractController{
* @param contractId
* @param contractId
* @return String
* @return String
*/
*/
static
signFlowUrge
(
axios
:
AxiosStatic
,
contractId
:
number
):
Promise
<
AxiosResponse
<
string
>>
{
static
signFlowUrge
(
axios
:
AxiosStatic
,
contractId
:
number
):
Promise
<
AxiosResponse
<
string
>>
{
return
axios
.
get
(
'contract/signFlowUrge'
,
{
params
:
{
contractId
:
contractId
}});
return
axios
.
get
(
'contract/signFlowUrge'
,
{
params
:
{
contractId
:
contractId
}});
}
}
...
@@ -134,7 +135,7 @@ export class ContractController{
...
@@ -134,7 +135,7 @@ export class ContractController{
* @param contractTemplate
* @param contractTemplate
* @return ContractTemplate
* @return ContractTemplate
*/
*/
static
updateContractTemplate
(
axios
:
AxiosStatic
,
contractTemplate
:
any
):
Promise
<
AxiosResponse
<
ContractTemplate
>>
{
static
updateContractTemplate
(
axios
:
AxiosStatic
,
contractTemplate
:
ContractTemplate
):
Promise
<
AxiosResponse
<
ContractTemplate
>>
{
return
axios
.
post
(
'contract/updateContractTemplate'
,
contractTemplate
);
return
axios
.
post
(
'contract/updateContractTemplate'
,
contractTemplate
);
}
}
...
...
aus-front/admin/src/api/DataSyncController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
Vehicle
}
from
"lib/src/entity/vehicle/entity/Vehicle"
;
import
{
DeliveryStatus
}
from
"lib/src/entity/auction/domain/DeliveryStatus"
;
// endregion
// endregion
/**
/**
*/
*/
export
class
DataSyncController
{
export
class
DataSyncController
{
/**
/**
*/
*/
static
pushCarData
(
axios
:
AxiosStatic
,
vehicle
:
any
):
Promise
<
AxiosResponse
<
ResponseResult
>>
{
static
pushCarData
(
axios
:
AxiosStatic
,
vehicle
:
Vehicle
):
Promise
<
AxiosResponse
<
ResponseResult
>>
{
return
axios
.
post
(
'//pushCarData'
,
vehicle
);
return
axios
.
post
(
'//pushCarData'
,
vehicle
);
}
}
/**
/**
*/
*/
static
syncDeliveryStatus
(
axios
:
AxiosStatic
,
deliveryStatus
:
any
):
Promise
<
AxiosResponse
<
ResponseResult
>>
{
static
syncDeliveryStatus
(
axios
:
AxiosStatic
,
deliveryStatus
:
DeliveryStatus
):
Promise
<
AxiosResponse
<
ResponseResult
>>
{
return
axios
.
post
(
'//syncDeliveryStatus'
,
deliveryStatus
);
return
axios
.
post
(
'//syncDeliveryStatus'
,
deliveryStatus
);
}
}
...
...
aus-front/admin/src/api/DeliveryOrderController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
DeliveryOrder
}
from
"lib/src/entity/auction/entity/DeliveryOrder"
;
import
{
DeliveryOrder
}
from
"lib/src/entity/auction/entity/DeliveryOrder"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// endregion
// endregion
/**
/**
* 交付订单(DeliveryOrder) PI接口
* 交付订单(DeliveryOrder) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
DeliveryOrderController
{
export
class
DeliveryOrderController
{
/**
/**
* 指派交付工单
* 指派交付工单
* @param deliveryOrder
* @param deliveryOrder
* @return DeliveryOrder
* @return DeliveryOrder
*/
*/
static
assignDeliveryOrder
(
axios
:
AxiosStatic
,
deliveryOrder
:
any
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
static
assignDeliveryOrder
(
axios
:
AxiosStatic
,
deliveryOrder
:
DeliveryOrder
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
return
axios
.
post
(
'deliveryOrder/assignDeliveryOrder'
,
deliveryOrder
);
return
axios
.
post
(
'deliveryOrder/assignDeliveryOrder'
,
deliveryOrder
);
}
}
/**
/**
*/
*/
static
cancelDeliveryOrder
(
axios
:
AxiosStatic
,
deliveryOrder
:
any
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
static
cancelDeliveryOrder
(
axios
:
AxiosStatic
,
deliveryOrder
:
DeliveryOrder
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
return
axios
.
post
(
'deliveryOrder/cancelDeliveryOrder'
,
deliveryOrder
);
return
axios
.
post
(
'deliveryOrder/cancelDeliveryOrder'
,
deliveryOrder
);
}
}
/**
/**
*/
*/
static
confirmDeliveryOrderArrived
(
axios
:
AxiosStatic
,
deliveryOrderId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
static
confirmDeliveryOrderArrived
(
axios
:
AxiosStatic
,
deliveryOrderId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
return
axios
.
post
(
'deliveryOrder/confirmDeliveryOrderArrived'
,
null
,
{
params
:
{
deliveryOrderId
:
deliveryOrderId
}});
return
axios
.
post
(
'deliveryOrder/confirmDeliveryOrderArrived'
,
null
,
{
params
:
{
deliveryOrderId
:
deliveryOrderId
}});
}
}
/**
/**
*/
*/
static
exportDeliveryOrder
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportDeliveryOrder
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
DeliveryOrder
>
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'deliveryOrder/exportDeliveryOrder'
,
pagination
,
config
);
return
axios
.
post
(
'deliveryOrder/exportDeliveryOrder'
,
pagination
,
config
);
}
}
...
@@ -44,37 +45,37 @@ export class DeliveryOrderController{
...
@@ -44,37 +45,37 @@ export class DeliveryOrderController{
* @param orderId
* @param orderId
* @return DeliveryOrder
* @return DeliveryOrder
*/
*/
static
getDeliveryOrderById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
static
getDeliveryOrderById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
return
axios
.
get
(
'deliveryOrder/getDeliveryOrderById'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
get
(
'deliveryOrder/getDeliveryOrderById'
,
{
params
:
{
orderId
:
orderId
}});
}
}
/**
/**
*/
*/
static
getDeliveryOrderByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
static
getDeliveryOrderByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
return
axios
.
get
(
'deliveryOrder/getDeliveryOrderByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
return
axios
.
get
(
'deliveryOrder/getDeliveryOrderByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
}
}
/**
/**
*/
*/
static
getDeliveryOrderDetailById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
static
getDeliveryOrderDetailById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
return
axios
.
get
(
'deliveryOrder/getDeliveryOrderDetailById'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
get
(
'deliveryOrder/getDeliveryOrderDetailById'
,
{
params
:
{
orderId
:
orderId
}});
}
}
/**
/**
*/
*/
static
getDeliveryOrdersByOrderId
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
[]
>>
{
static
getDeliveryOrdersByOrderId
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
[]
>>
{
return
axios
.
get
(
'deliveryOrder/getDeliveryOrdersByOrderId'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
get
(
'deliveryOrder/getDeliveryOrdersByOrderId'
,
{
params
:
{
orderId
:
orderId
}});
}
}
/**
/**
*/
*/
static
getDeliveryOrdersByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
[]
>>
{
static
getDeliveryOrdersByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
[]
>>
{
return
axios
.
get
(
'deliveryOrder/getDeliveryOrdersByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
return
axios
.
get
(
'deliveryOrder/getDeliveryOrdersByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
}
}
/**
/**
*/
*/
static
getOrderCountByOrderState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
static
getOrderCountByOrderState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
get
(
'deliveryOrder/getOrderCountByOrderState'
);
return
axios
.
get
(
'deliveryOrder/getOrderCountByOrderState'
);
}
}
...
@@ -83,7 +84,7 @@ export class DeliveryOrderController{
...
@@ -83,7 +84,7 @@ export class DeliveryOrderController{
* @param deliveryOrder
* @param deliveryOrder
* @return DeliveryOrder
* @return DeliveryOrder
*/
*/
static
handleDeliveryOrder
(
axios
:
AxiosStatic
,
deliveryOrder
:
any
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
static
handleDeliveryOrder
(
axios
:
AxiosStatic
,
deliveryOrder
:
DeliveryOrder
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
return
axios
.
post
(
'deliveryOrder/handleDeliveryOrder'
,
deliveryOrder
);
return
axios
.
post
(
'deliveryOrder/handleDeliveryOrder'
,
deliveryOrder
);
}
}
...
@@ -92,7 +93,7 @@ export class DeliveryOrderController{
...
@@ -92,7 +93,7 @@ export class DeliveryOrderController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageDeliveryOrder
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
DeliveryOrder
>>>
{
static
pageDeliveryOrder
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
DeliveryOrder
>
):
Promise
<
AxiosResponse
<
Page
<
DeliveryOrder
>>>
{
return
axios
.
post
(
'deliveryOrder/pageDeliveryOrder'
,
pagination
);
return
axios
.
post
(
'deliveryOrder/pageDeliveryOrder'
,
pagination
);
}
}
...
@@ -103,7 +104,7 @@ export class DeliveryOrderController{
...
@@ -103,7 +104,7 @@ export class DeliveryOrderController{
* @param orderId
* @param orderId
* @return int
* @return int
*/
*/
static
removeDeliveryOrderById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeDeliveryOrderById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'deliveryOrder/removeDeliveryOrderById'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
delete
(
'deliveryOrder/removeDeliveryOrderById'
,
{
params
:
{
orderId
:
orderId
}});
}
}
...
...
aus-front/admin/src/api/DepositController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
DepositRule
}
from
"lib/src/entity/finance/entity/DepositRule"
;
import
{
DepositRule
}
from
"lib/src/entity/finance/entity/DepositRule"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Deposit
}
from
"lib/src/entity/finance/entity/Deposit"
;
import
{
Deposit
}
from
"lib/src/entity/finance/entity/Deposit"
;
import
{
DepositStat
}
from
"lib/src/entity/finance/domain/DepositStat"
;
import
{
DepositStat
}
from
"lib/src/entity/finance/domain/DepositStat"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// endregion
// endregion
/**
/**
* 保证金规则(DepositRule) PI接口
* 保证金规则(DepositRule) PI接口
* @since 2025-10-13 12:18:10
* @since 2025-10-13 12:18:10
*/
*/
export
class
DepositController
{
export
class
DepositController
{
/**
/**
* 新增保证金规则
* 新增保证金规则
* @param depositRule
* @param depositRule
* @return DepositRule
* @return DepositRule
*/
*/
static
addDepositRule
(
axios
:
AxiosStatic
,
depositRule
:
any
):
Promise
<
AxiosResponse
<
DepositRule
>>
{
static
addDepositRule
(
axios
:
AxiosStatic
,
depositRule
:
DepositRule
):
Promise
<
AxiosResponse
<
DepositRule
>>
{
return
axios
.
post
(
'depositRule/addDepositRule'
,
depositRule
);
return
axios
.
post
(
'depositRule/addDepositRule'
,
depositRule
);
}
}
...
@@ -28,19 +29,19 @@ export class DepositController{
...
@@ -28,19 +29,19 @@ export class DepositController{
* @param ruleId
* @param ruleId
* @return boolean
* @return boolean
*/
*/
static
enableDepositRule
(
axios
:
AxiosStatic
,
ruleId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
enableDepositRule
(
axios
:
AxiosStatic
,
ruleId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'depositRule/enableDepositRule'
,
null
,
{
params
:
{
ruleId
:
ruleId
,
enabled
:
enabled
}});
return
axios
.
post
(
'depositRule/enableDepositRule'
,
null
,
{
params
:
{
ruleId
:
ruleId
,
enabled
:
enabled
}});
}
}
/**
/**
*/
*/
static
exportDeposit
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportDeposit
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Deposit
>
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'depositRule/exportDeposit'
,
pagination
,
config
);
return
axios
.
post
(
'depositRule/exportDeposit'
,
pagination
,
config
);
}
}
/**
/**
*/
*/
static
exportDepositRefund
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportDepositRefund
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Deposit
>
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'depositRule/exportDepositRefund'
,
pagination
,
config
);
return
axios
.
post
(
'depositRule/exportDepositRefund'
,
pagination
,
config
);
}
}
...
@@ -48,19 +49,19 @@ export class DepositController{
...
@@ -48,19 +49,19 @@ export class DepositController{
* 查询全部$保证金规则
* 查询全部$保证金规则
* @return List
* @return List
*/
*/
static
getAllDepositRules
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
DepositRule
[]
>>
{
static
getAllDepositRules
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
DepositRule
[]
>>
{
return
axios
.
get
(
'depositRule/getAllDepositRules'
);
return
axios
.
get
(
'depositRule/getAllDepositRules'
);
}
}
/**
/**
*/
*/
static
getDepositByAccountAndVehicleAndAuction
(
axios
:
AxiosStatic
,
accountId
:
number
,
vehicleId
:
number
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
Deposit
>>
{
static
getDepositByAccountAndVehicleAndAuction
(
axios
:
AxiosStatic
,
accountId
:
number
,
vehicleId
:
number
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
Deposit
>>
{
return
axios
.
get
(
'depositRule/getDepositByAccountAndVehicleAndAuction'
,
{
params
:
{
accountId
:
accountId
,
vehicleId
:
vehicleId
,
auctionId
:
auctionId
}});
return
axios
.
get
(
'depositRule/getDepositByAccountAndVehicleAndAuction'
,
{
params
:
{
accountId
:
accountId
,
vehicleId
:
vehicleId
,
auctionId
:
auctionId
}});
}
}
/**
/**
*/
*/
static
getDepositDetailById
(
axios
:
AxiosStatic
,
depositId
:
number
):
Promise
<
AxiosResponse
<
Deposit
>>
{
static
getDepositDetailById
(
axios
:
AxiosStatic
,
depositId
:
number
):
Promise
<
AxiosResponse
<
Deposit
>>
{
return
axios
.
get
(
'depositRule/getDepositDetailById'
,
{
params
:
{
depositId
:
depositId
}});
return
axios
.
get
(
'depositRule/getDepositDetailById'
,
{
params
:
{
depositId
:
depositId
}});
}
}
...
@@ -69,13 +70,13 @@ export class DepositController{
...
@@ -69,13 +70,13 @@ export class DepositController{
* @param ruleId
* @param ruleId
* @return DepositRule
* @return DepositRule
*/
*/
static
getDepositRuleById
(
axios
:
AxiosStatic
,
ruleId
:
number
):
Promise
<
AxiosResponse
<
DepositRule
>>
{
static
getDepositRuleById
(
axios
:
AxiosStatic
,
ruleId
:
number
):
Promise
<
AxiosResponse
<
DepositRule
>>
{
return
axios
.
get
(
'depositRule/getDepositRuleById'
,
{
params
:
{
ruleId
:
ruleId
}});
return
axios
.
get
(
'depositRule/getDepositRuleById'
,
{
params
:
{
ruleId
:
ruleId
}});
}
}
/**
/**
*/
*/
static
getDepositStat
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
DepositStat
>>
{
static
getDepositStat
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
DepositStat
>>
{
return
axios
.
get
(
'depositRule/getDepositStat'
);
return
axios
.
get
(
'depositRule/getDepositStat'
);
}
}
...
@@ -83,19 +84,19 @@ export class DepositController{
...
@@ -83,19 +84,19 @@ export class DepositController{
* 查询全部启用$保证金规则
* 查询全部启用$保证金规则
* @return List
* @return List
*/
*/
static
getEnableDepositRules
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
DepositRule
[]
>>
{
static
getEnableDepositRules
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
DepositRule
[]
>>
{
return
axios
.
get
(
'depositRule/getEnabledDepositRules'
);
return
axios
.
get
(
'depositRule/getEnabledDepositRules'
);
}
}
/**
/**
*/
*/
static
getFreezeAmountByAccount
(
axios
:
AxiosStatic
,
accountId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
getFreezeAmountByAccount
(
axios
:
AxiosStatic
,
accountId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
get
(
'depositRule/getFreezeAmountByAccount'
,
{
params
:
{
accountId
:
accountId
}});
return
axios
.
get
(
'depositRule/getFreezeAmountByAccount'
,
{
params
:
{
accountId
:
accountId
}});
}
}
/**
/**
*/
*/
static
pageDeposit
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Deposit
>>>
{
static
pageDeposit
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Deposit
>
):
Promise
<
AxiosResponse
<
Page
<
Deposit
>>>
{
return
axios
.
post
(
'depositRule/pageDeposit'
,
pagination
);
return
axios
.
post
(
'depositRule/pageDeposit'
,
pagination
);
}
}
...
@@ -103,7 +104,7 @@ export class DepositController{
...
@@ -103,7 +104,7 @@ export class DepositController{
/**
/**
*/
*/
static
pageDepositFetchOrder
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Deposit
>>>
{
static
pageDepositFetchOrder
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Deposit
>
):
Promise
<
AxiosResponse
<
Page
<
Deposit
>>>
{
return
axios
.
post
(
'depositRule/pageDepositFetchOrder'
,
pagination
);
return
axios
.
post
(
'depositRule/pageDepositFetchOrder'
,
pagination
);
}
}
...
@@ -114,7 +115,7 @@ export class DepositController{
...
@@ -114,7 +115,7 @@ export class DepositController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageDepositRule
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
DepositRule
>>>
{
static
pageDepositRule
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
DepositRule
>
):
Promise
<
AxiosResponse
<
Page
<
DepositRule
>>>
{
return
axios
.
post
(
'depositRule/pageDepositRule'
,
pagination
);
return
axios
.
post
(
'depositRule/pageDepositRule'
,
pagination
);
}
}
...
@@ -125,7 +126,7 @@ export class DepositController{
...
@@ -125,7 +126,7 @@ export class DepositController{
* @param ruleId
* @param ruleId
* @return int
* @return int
*/
*/
static
removeDepositRuleById
(
axios
:
AxiosStatic
,
ruleId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeDepositRuleById
(
axios
:
AxiosStatic
,
ruleId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'depositRule/removeDepositRuleById'
,
{
params
:
{
ruleId
:
ruleId
}});
return
axios
.
delete
(
'depositRule/removeDepositRuleById'
,
{
params
:
{
ruleId
:
ruleId
}});
}
}
...
@@ -134,7 +135,7 @@ export class DepositController{
...
@@ -134,7 +135,7 @@ export class DepositController{
* @param depositRule
* @param depositRule
* @return DepositRule
* @return DepositRule
*/
*/
static
updateDepositRule
(
axios
:
AxiosStatic
,
depositRule
:
any
):
Promise
<
AxiosResponse
<
DepositRule
>>
{
static
updateDepositRule
(
axios
:
AxiosStatic
,
depositRule
:
DepositRule
):
Promise
<
AxiosResponse
<
DepositRule
>>
{
return
axios
.
post
(
'depositRule/updateDepositRule'
,
depositRule
);
return
axios
.
post
(
'depositRule/updateDepositRule'
,
depositRule
);
}
}
...
...
aus-front/admin/src/api/DictionaryController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
Dictionary
}
from
"lib/src/core/dictionary/Dictionary"
;
import
{
Diction
}
from
"lib/src/core/dictionary/Diction"
;
// endregion
// endregion
/**
/**
* 字典表(Dictionary) 控制层
* 字典表(Dictionary) 控制层
* @since 2022-04-18 16:06:57
* @since 2022-04-18 16:06:57
*/
*/
export
class
DictionaryController
{
export
class
DictionaryController
{
/**
/**
* 根据租户新增字典表
* 根据租户新增字典表
* @param dictionary
* @param dictionary
* @return Dictionary
* @return Dictionary
*/
*/
static
addDictionary
(
axios
:
AxiosStatic
,
dictionary
:
an
y
):
Promise
<
AxiosResponse
<
Dictionary
>>
{
static
addDictionary
(
axios
:
AxiosStatic
,
dictionary
:
Dictionar
y
):
Promise
<
AxiosResponse
<
Dictionary
>>
{
return
axios
.
post
(
'dictionary/addDictionary'
,
dictionary
);
return
axios
.
post
(
'dictionary/addDictionary'
,
dictionary
);
}
}
...
@@ -25,8 +28,8 @@ export class DictionaryController{
...
@@ -25,8 +28,8 @@ export class DictionaryController{
* @param enabled
* @param enabled
* @return boolean
* @return boolean
*/
*/
static
enableDictionary
(
axios
:
AxiosStatic
,
dictionaryId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
enableDictionary
(
axios
:
AxiosStatic
,
dictionaryId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'dictionary/enableDictionary'
,
null
,
{
params
:
{
dictionaryId
:
dictionaryId
,
enabled
:
enabled
}});
return
axios
.
post
(
'dictionary/enableDictionary'
,
null
,
{
params
:
{
dictionaryId
:
dictionaryId
,
enabled
:
enabled
}});
}
}
/**
/**
...
@@ -34,7 +37,7 @@ export class DictionaryController{
...
@@ -34,7 +37,7 @@ export class DictionaryController{
* @param dictionaryName
* @param dictionaryName
* @return List
* @return List
*/
*/
static
getDictionariesByName
(
axios
:
AxiosStatic
,
dictionaryName
:
string
):
Promise
<
AxiosResponse
<
Dictionary
[]
>>
{
static
getDictionariesByName
(
axios
:
AxiosStatic
,
dictionaryName
:
string
):
Promise
<
AxiosResponse
<
Dictionary
[]
>>
{
return
axios
.
get
(
'dictionary/getDictionariesByName'
,
{
params
:
{
dictionaryName
:
dictionaryName
}});
return
axios
.
get
(
'dictionary/getDictionariesByName'
,
{
params
:
{
dictionaryName
:
dictionaryName
}});
}
}
...
@@ -43,7 +46,7 @@ export class DictionaryController{
...
@@ -43,7 +46,7 @@ export class DictionaryController{
* @param dictionaryId
* @param dictionaryId
* @return Dictionary
* @return Dictionary
*/
*/
static
getDictionaryById
(
axios
:
AxiosStatic
,
dictionaryId
:
number
):
Promise
<
AxiosResponse
<
Dictionary
>>
{
static
getDictionaryById
(
axios
:
AxiosStatic
,
dictionaryId
:
number
):
Promise
<
AxiosResponse
<
Dictionary
>>
{
return
axios
.
get
(
'dictionary/getDictionaryById'
,
{
params
:
{
dictionaryId
:
dictionaryId
}});
return
axios
.
get
(
'dictionary/getDictionaryById'
,
{
params
:
{
dictionaryId
:
dictionaryId
}});
}
}
...
@@ -52,13 +55,13 @@ export class DictionaryController{
...
@@ -52,13 +55,13 @@ export class DictionaryController{
* @param dictionaryName
* @param dictionaryName
* @return List
* @return List
*/
*/
static
getEnabledDictionsByName
(
axios
:
AxiosStatic
,
dictionaryName
:
string
):
Promise
<
AxiosResponse
<
Diction
[]
>>
{
static
getEnabledDictionsByName
(
axios
:
AxiosStatic
,
dictionaryName
:
string
):
Promise
<
AxiosResponse
<
Diction
[]
>>
{
return
axios
.
get
(
'dictionary/getEnabledDictionsByName'
,
{
params
:
{
dictionaryName
:
dictionaryName
}});
return
axios
.
get
(
'dictionary/getEnabledDictionsByName'
,
{
params
:
{
dictionaryName
:
dictionaryName
}});
}
}
/**
/**
*/
*/
static
removeDictionaryById
(
axios
:
AxiosStatic
,
dictionaryId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeDictionaryById
(
axios
:
AxiosStatic
,
dictionaryId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'dictionary/removeDictionaryById'
,
{
params
:
{
dictionaryId
:
dictionaryId
}});
return
axios
.
delete
(
'dictionary/removeDictionaryById'
,
{
params
:
{
dictionaryId
:
dictionaryId
}});
}
}
...
@@ -67,7 +70,7 @@ export class DictionaryController{
...
@@ -67,7 +70,7 @@ export class DictionaryController{
* @param dictionary
* @param dictionary
* @return Dictionary
* @return Dictionary
*/
*/
static
updateDictionary
(
axios
:
AxiosStatic
,
dictionary
:
an
y
):
Promise
<
AxiosResponse
<
Dictionary
>>
{
static
updateDictionary
(
axios
:
AxiosStatic
,
dictionary
:
Dictionar
y
):
Promise
<
AxiosResponse
<
Dictionary
>>
{
return
axios
.
post
(
'dictionary/updateDictionary'
,
dictionary
);
return
axios
.
post
(
'dictionary/updateDictionary'
,
dictionary
);
}
}
...
...
aus-front/admin/src/api/FavoriteController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
Favorite
}
from
"lib/src/entity/account/entity/Favorite"
;
import
{
Favorite
}
from
"lib/src/entity/account/entity/Favorite"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// endregion
// endregion
/**
/**
* 收藏(Favorite) PI接口
* 收藏(Favorite) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
FavoriteController
{
export
class
FavoriteController
{
/**
/**
* 新增收藏
* 新增收藏
* @param favorite
* @param favorite
* @return Favorite
* @return Favorite
*/
*/
static
addFavorite
(
axios
:
AxiosStatic
,
favorite
:
any
):
Promise
<
AxiosResponse
<
Favorite
>>
{
static
addFavorite
(
axios
:
AxiosStatic
,
favorite
:
Favorite
):
Promise
<
AxiosResponse
<
Favorite
>>
{
return
axios
.
post
(
'favorite/addFavorite'
,
favorite
);
return
axios
.
post
(
'favorite/addFavorite'
,
favorite
);
}
}
...
@@ -26,7 +27,7 @@ export class FavoriteController{
...
@@ -26,7 +27,7 @@ export class FavoriteController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageFavorite
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Favorite
>>>
{
static
pageFavorite
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Favorite
>
):
Promise
<
AxiosResponse
<
Page
<
Favorite
>>>
{
return
axios
.
post
(
'favorite/pageFavorite'
,
pagination
);
return
axios
.
post
(
'favorite/pageFavorite'
,
pagination
);
}
}
...
@@ -37,8 +38,8 @@ export class FavoriteController{
...
@@ -37,8 +38,8 @@ export class FavoriteController{
* @param favoriteId
* @param favoriteId
* @return int
* @return int
*/
*/
static
removeFavoriteById
(
axios
:
AxiosStatic
,
accountId
:
number
,
aucvehId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeFavoriteById
(
axios
:
AxiosStatic
,
accountId
:
number
,
aucvehId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'favorite/removeFavoriteById'
,
{
params
:
{
accountId
:
accountId
,
aucvehId
:
aucvehId
}});
return
axios
.
delete
(
'favorite/removeFavoriteById'
,
{
params
:
{
accountId
:
accountId
,
aucvehId
:
aucvehId
}});
}
}
// region 前端扩展代码区
// region 前端扩展代码区
...
...
aus-front/admin/src/api/NoticeController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
NoticeMessage
}
from
"lib/src/entity/business/entity/NoticeMessage"
;
import
{
NoticeMessage
}
from
"lib/src/entity/business/entity/NoticeMessage"
;
import
{
NoticeTemplate
}
from
"lib/src/entity/business/entity/NoticeTemplate"
;
import
{
NoticeTemplate
}
from
"lib/src/entity/business/entity/NoticeTemplate"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// endregion
// endregion
/**
/**
* 通知模板(NoticeTemplate) PI接口
* 通知模板(NoticeTemplate) PI接口
* @since 2025-10-13 12:18:10
* @since 2025-10-13 12:18:10
*/
*/
export
class
NoticeController
{
export
class
NoticeController
{
/**
/**
* 新增通知模板
* 新增通知模板
* @param noticeTemplate
* @param noticeTemplate
* @return NoticeTemplate
* @return NoticeTemplate
*/
*/
static
addNoticeTemplate
(
axios
:
AxiosStatic
,
noticeTemplate
:
any
):
Promise
<
AxiosResponse
<
NoticeTemplate
>>
{
static
addNoticeTemplate
(
axios
:
AxiosStatic
,
noticeTemplate
:
NoticeTemplate
):
Promise
<
AxiosResponse
<
NoticeTemplate
>>
{
return
axios
.
post
(
'notice/addNoticeTemplate'
,
noticeTemplate
);
return
axios
.
post
(
'notice/addNoticeTemplate'
,
noticeTemplate
);
}
}
...
@@ -27,8 +28,8 @@ export class NoticeController{
...
@@ -27,8 +28,8 @@ export class NoticeController{
* @param templateId
* @param templateId
* @return boolean
* @return boolean
*/
*/
static
enableNoticeTemplate
(
axios
:
AxiosStatic
,
templateId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
enableNoticeTemplate
(
axios
:
AxiosStatic
,
templateId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'notice/enableNoticeTemplate'
,
null
,
{
params
:
{
templateId
:
templateId
,
enabled
:
enabled
}});
return
axios
.
post
(
'notice/enableNoticeTemplate'
,
null
,
{
params
:
{
templateId
:
templateId
,
enabled
:
enabled
}});
}
}
/**
/**
...
@@ -36,19 +37,19 @@ export class NoticeController{
...
@@ -36,19 +37,19 @@ export class NoticeController{
* @param templateId
* @param templateId
* @return NoticeTemplate
* @return NoticeTemplate
*/
*/
static
getNoticeTemplateById
(
axios
:
AxiosStatic
,
templateId
:
number
):
Promise
<
AxiosResponse
<
NoticeTemplate
>>
{
static
getNoticeTemplateById
(
axios
:
AxiosStatic
,
templateId
:
number
):
Promise
<
AxiosResponse
<
NoticeTemplate
>>
{
return
axios
.
get
(
'notice/getNoticeTemplateById'
,
{
params
:
{
templateId
:
templateId
}});
return
axios
.
get
(
'notice/getNoticeTemplateById'
,
{
params
:
{
templateId
:
templateId
}});
}
}
/**
/**
*/
*/
static
getNoticeTemplateFieldsByType
(
axios
:
AxiosStatic
,
templateType
:
any
):
Promise
<
AxiosResponse
<
string
[]
>>
{
static
getNoticeTemplateFieldsByType
(
axios
:
AxiosStatic
,
templateType
:
any
):
Promise
<
AxiosResponse
<
string
[]
>>
{
return
axios
.
get
(
'notice/getNoticeTemplateFieldsByType'
,
{
params
:
{
templateType
:
templateType
}});
return
axios
.
get
(
'notice/getNoticeTemplateFieldsByType'
,
{
params
:
{
templateType
:
templateType
}});
}
}
/**
/**
*/
*/
static
pageNoticeMessage
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
NoticeMessage
>>>
{
static
pageNoticeMessage
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
NoticeMessage
>
):
Promise
<
AxiosResponse
<
Page
<
NoticeMessage
>>>
{
return
axios
.
post
(
'notice/pageNoticeMessage'
,
pagination
);
return
axios
.
post
(
'notice/pageNoticeMessage'
,
pagination
);
}
}
...
@@ -59,7 +60,7 @@ export class NoticeController{
...
@@ -59,7 +60,7 @@ export class NoticeController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageNoticeTemplate
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
NoticeTemplate
>>>
{
static
pageNoticeTemplate
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
NoticeTemplate
>
):
Promise
<
AxiosResponse
<
Page
<
NoticeTemplate
>>>
{
return
axios
.
post
(
'notice/pageNoticeTemplate'
,
pagination
);
return
axios
.
post
(
'notice/pageNoticeTemplate'
,
pagination
);
}
}
...
@@ -70,7 +71,7 @@ export class NoticeController{
...
@@ -70,7 +71,7 @@ export class NoticeController{
* @param templateId
* @param templateId
* @return int
* @return int
*/
*/
static
removeNoticeTemplateById
(
axios
:
AxiosStatic
,
templateId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeNoticeTemplateById
(
axios
:
AxiosStatic
,
templateId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'notice/removeNoticeTemplateById'
,
{
params
:
{
templateId
:
templateId
}});
return
axios
.
delete
(
'notice/removeNoticeTemplateById'
,
{
params
:
{
templateId
:
templateId
}});
}
}
...
@@ -79,7 +80,7 @@ export class NoticeController{
...
@@ -79,7 +80,7 @@ export class NoticeController{
* @param noticeTemplate
* @param noticeTemplate
* @return NoticeTemplate
* @return NoticeTemplate
*/
*/
static
updateNoticeTemplate
(
axios
:
AxiosStatic
,
noticeTemplate
:
any
):
Promise
<
AxiosResponse
<
NoticeTemplate
>>
{
static
updateNoticeTemplate
(
axios
:
AxiosStatic
,
noticeTemplate
:
NoticeTemplate
):
Promise
<
AxiosResponse
<
NoticeTemplate
>>
{
return
axios
.
post
(
'notice/updateNoticeTemplate'
,
noticeTemplate
);
return
axios
.
post
(
'notice/updateNoticeTemplate'
,
noticeTemplate
);
}
}
...
...
aus-front/admin/src/api/PriceRuleController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
PriceRule
}
from
"lib/src/entity/vehicle/entity/PriceRule"
;
import
{
PriceRule
}
from
"lib/src/entity/vehicle/entity/PriceRule"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// endregion
// endregion
/**
/**
* 价格规则(PriceRule) PI接口
* 价格规则(PriceRule) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
PriceRuleController
{
export
class
PriceRuleController
{
/**
/**
* 新增价格规则
* 新增价格规则
* @param priceRule
* @param priceRule
* @return PriceRule
* @return PriceRule
*/
*/
static
addPriceRule
(
axios
:
AxiosStatic
,
priceRule
:
any
):
Promise
<
AxiosResponse
<
PriceRule
>>
{
static
addPriceRule
(
axios
:
AxiosStatic
,
priceRule
:
PriceRule
):
Promise
<
AxiosResponse
<
PriceRule
>>
{
return
axios
.
post
(
'priceRule/addPriceRule'
,
priceRule
);
return
axios
.
post
(
'priceRule/addPriceRule'
,
priceRule
);
}
}
...
@@ -26,13 +27,13 @@ export class PriceRuleController{
...
@@ -26,13 +27,13 @@ export class PriceRuleController{
* @param ruleId
* @param ruleId
* @return PriceRule
* @return PriceRule
*/
*/
static
getPriceRuleById
(
axios
:
AxiosStatic
,
ruleId
:
number
):
Promise
<
AxiosResponse
<
PriceRule
>>
{
static
getPriceRuleById
(
axios
:
AxiosStatic
,
ruleId
:
number
):
Promise
<
AxiosResponse
<
PriceRule
>>
{
return
axios
.
get
(
'priceRule/getPriceRuleById'
,
{
params
:
{
ruleId
:
ruleId
}});
return
axios
.
get
(
'priceRule/getPriceRuleById'
,
{
params
:
{
ruleId
:
ruleId
}});
}
}
/**
/**
*/
*/
static
getReferencePriceByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
getReferencePriceByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
get
(
'priceRule/getReferencePriceByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
return
axios
.
get
(
'priceRule/getReferencePriceByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
}
}
...
@@ -41,7 +42,7 @@ export class PriceRuleController{
...
@@ -41,7 +42,7 @@ export class PriceRuleController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pagePriceRule
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
PriceRule
>>>
{
static
pagePriceRule
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
PriceRule
>
):
Promise
<
AxiosResponse
<
Page
<
PriceRule
>>>
{
return
axios
.
post
(
'priceRule/pagePriceRule'
,
pagination
);
return
axios
.
post
(
'priceRule/pagePriceRule'
,
pagination
);
}
}
...
@@ -52,7 +53,7 @@ export class PriceRuleController{
...
@@ -52,7 +53,7 @@ export class PriceRuleController{
* @param ruleId
* @param ruleId
* @return int
* @return int
*/
*/
static
removePriceRuleById
(
axios
:
AxiosStatic
,
ruleId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removePriceRuleById
(
axios
:
AxiosStatic
,
ruleId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'priceRule/removePriceRuleById'
,
{
params
:
{
ruleId
:
ruleId
}});
return
axios
.
delete
(
'priceRule/removePriceRuleById'
,
{
params
:
{
ruleId
:
ruleId
}});
}
}
...
@@ -61,7 +62,7 @@ export class PriceRuleController{
...
@@ -61,7 +62,7 @@ export class PriceRuleController{
* @param priceRule
* @param priceRule
* @return PriceRule
* @return PriceRule
*/
*/
static
updatePriceRule
(
axios
:
AxiosStatic
,
priceRule
:
any
):
Promise
<
AxiosResponse
<
PriceRule
>>
{
static
updatePriceRule
(
axios
:
AxiosStatic
,
priceRule
:
PriceRule
):
Promise
<
AxiosResponse
<
PriceRule
>>
{
return
axios
.
post
(
'priceRule/updatePriceRule'
,
priceRule
);
return
axios
.
post
(
'priceRule/updatePriceRule'
,
priceRule
);
}
}
...
...
aus-front/admin/src/api/RechargeController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Recharge
}
from
"lib/src/entity/finance/entity/Recharge"
;
import
{
Recharge
}
from
"lib/src/entity/finance/entity/Recharge"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
import
{
Refund
}
from
"lib/src/entity/finance/entity/Refund"
;
// endregion
// endregion
/**
/**
*/
*/
export
class
RechargeController
{
export
class
RechargeController
{
/**
/**
*/
*/
static
getRechargeById
(
axios
:
AxiosStatic
,
rechargeId
:
number
):
Promise
<
AxiosResponse
<
Recharge
>>
{
static
getRechargeById
(
axios
:
AxiosStatic
,
rechargeId
:
number
):
Promise
<
AxiosResponse
<
Recharge
>>
{
return
axios
.
get
(
'recharge/getRechargeById'
,
{
params
:
{
rechargeId
:
rechargeId
}});
return
axios
.
get
(
'recharge/getRechargeById'
,
{
params
:
{
rechargeId
:
rechargeId
}});
}
}
/**
/**
*/
*/
static
getRefundsByRechargeId
(
axios
:
AxiosStatic
,
rechargeId
:
number
):
Promise
<
AxiosResponse
<
Refund
[]
>>
{
static
getRefundsByRechargeId
(
axios
:
AxiosStatic
,
rechargeId
:
number
):
Promise
<
AxiosResponse
<
Refund
[]
>>
{
return
axios
.
get
(
'recharge/getRefundsByRechargeId'
,
{
params
:
{
rechargeId
:
rechargeId
}});
return
axios
.
get
(
'recharge/getRefundsByRechargeId'
,
{
params
:
{
rechargeId
:
rechargeId
}});
}
}
/**
/**
*/
*/
static
pageRecharge
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Recharge
>>>
{
static
pageRecharge
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Recharge
>
):
Promise
<
AxiosResponse
<
Page
<
Recharge
>>>
{
return
axios
.
post
(
'recharge/pageRecharge'
,
pagination
);
return
axios
.
post
(
'recharge/pageRecharge'
,
pagination
);
}
}
...
...
aus-front/admin/src/api/ReleaseOrderController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
ReleaseOrder
}
from
"lib/src/entity/auction/entity/ReleaseOrder"
;
import
{
ReleaseOrder
}
from
"lib/src/entity/auction/entity/ReleaseOrder"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// endregion
// endregion
/**
/**
* 解押订单(ReleaseOrder) PI接口
* 解押订单(ReleaseOrder) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
ReleaseOrderController
{
export
class
ReleaseOrderController
{
/**
/**
* 新增解押订单
* 新增解押订单
* @param releaseOrder
* @param releaseOrder
* @return ReleaseOrder
* @return ReleaseOrder
*/
*/
static
addReleaseOrder
(
axios
:
AxiosStatic
,
releaseOrder
:
any
):
Promise
<
AxiosResponse
<
ReleaseOrder
>>
{
static
addReleaseOrder
(
axios
:
AxiosStatic
,
releaseOrder
:
ReleaseOrder
):
Promise
<
AxiosResponse
<
ReleaseOrder
>>
{
return
axios
.
post
(
'order/addReleaseOrder'
,
releaseOrder
);
return
axios
.
post
(
'order/addReleaseOrder'
,
releaseOrder
);
}
}
...
@@ -26,7 +27,7 @@ export class ReleaseOrderController{
...
@@ -26,7 +27,7 @@ export class ReleaseOrderController{
* @param orderId
* @param orderId
* @return ReleaseOrder
* @return ReleaseOrder
*/
*/
static
getReleaseOrderById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
ReleaseOrder
>>
{
static
getReleaseOrderById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
ReleaseOrder
>>
{
return
axios
.
get
(
'order/getReleaseOrderById'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
get
(
'order/getReleaseOrderById'
,
{
params
:
{
orderId
:
orderId
}});
}
}
...
@@ -35,7 +36,7 @@ export class ReleaseOrderController{
...
@@ -35,7 +36,7 @@ export class ReleaseOrderController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageReleaseOrder
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
ReleaseOrder
>>>
{
static
pageReleaseOrder
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
ReleaseOrder
>
):
Promise
<
AxiosResponse
<
Page
<
ReleaseOrder
>>>
{
return
axios
.
post
(
'order/pageReleaseOrder'
,
pagination
);
return
axios
.
post
(
'order/pageReleaseOrder'
,
pagination
);
}
}
...
@@ -46,7 +47,7 @@ export class ReleaseOrderController{
...
@@ -46,7 +47,7 @@ export class ReleaseOrderController{
* @param orderId
* @param orderId
* @return int
* @return int
*/
*/
static
removeReleaseOrderById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeReleaseOrderById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'order/removeReleaseOrderById'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
delete
(
'order/removeReleaseOrderById'
,
{
params
:
{
orderId
:
orderId
}});
}
}
...
@@ -55,7 +56,7 @@ export class ReleaseOrderController{
...
@@ -55,7 +56,7 @@ export class ReleaseOrderController{
* @param releaseOrder
* @param releaseOrder
* @return ReleaseOrder
* @return ReleaseOrder
*/
*/
static
updateReleaseOrder
(
axios
:
AxiosStatic
,
releaseOrder
:
any
):
Promise
<
AxiosResponse
<
ReleaseOrder
>>
{
static
updateReleaseOrder
(
axios
:
AxiosStatic
,
releaseOrder
:
ReleaseOrder
):
Promise
<
AxiosResponse
<
ReleaseOrder
>>
{
return
axios
.
post
(
'order/updateReleaseOrder'
,
releaseOrder
);
return
axios
.
post
(
'order/updateReleaseOrder'
,
releaseOrder
);
}
}
...
...
aus-front/admin/src/api/RelocationController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
Outbound
}
from
"lib/src/entity/venue/entity/Outbound"
;
import
{
Outbound
}
from
"lib/src/entity/venue/entity/Outbound"
;
import
{
Warehousing
}
from
"lib/src/entity/venue/entity/Warehousing"
;
import
{
Warehousing
}
from
"lib/src/entity/venue/entity/Warehousing"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// endregion
// endregion
/**
/**
* 出库(Outbound) PI接口
* 出库(Outbound) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
RelocationController
{
export
class
RelocationController
{
/**
/**
* 新增出库
* 新增出库
* @param outbound
* @param outbound
* @return Outbound
* @return Outbound
*/
*/
static
addOutbound
(
axios
:
AxiosStatic
,
outbound
:
any
):
Promise
<
AxiosResponse
<
Outbound
>>
{
static
addOutbound
(
axios
:
AxiosStatic
,
outbound
:
Outbound
):
Promise
<
AxiosResponse
<
Outbound
>>
{
return
axios
.
post
(
'outbound/addOutbound'
,
outbound
);
return
axios
.
post
(
'outbound/addOutbound'
,
outbound
);
}
}
...
@@ -27,7 +28,7 @@ export class RelocationController{
...
@@ -27,7 +28,7 @@ export class RelocationController{
* @param warehousing
* @param warehousing
* @return Warehousing
* @return Warehousing
*/
*/
static
addWarehousing
(
axios
:
AxiosStatic
,
warehousing
:
any
):
Promise
<
AxiosResponse
<
Warehousing
>>
{
static
addWarehousing
(
axios
:
AxiosStatic
,
warehousing
:
Warehousing
):
Promise
<
AxiosResponse
<
Warehousing
>>
{
return
axios
.
post
(
'outbound/addWarehousing'
,
warehousing
);
return
axios
.
post
(
'outbound/addWarehousing'
,
warehousing
);
}
}
...
@@ -36,7 +37,7 @@ export class RelocationController{
...
@@ -36,7 +37,7 @@ export class RelocationController{
* @param outboundId
* @param outboundId
* @return Outbound
* @return Outbound
*/
*/
static
getOutboundById
(
axios
:
AxiosStatic
,
outboundId
:
number
):
Promise
<
AxiosResponse
<
Outbound
>>
{
static
getOutboundById
(
axios
:
AxiosStatic
,
outboundId
:
number
):
Promise
<
AxiosResponse
<
Outbound
>>
{
return
axios
.
get
(
'outbound/getOutboundById'
,
{
params
:
{
outboundId
:
outboundId
}});
return
axios
.
get
(
'outbound/getOutboundById'
,
{
params
:
{
outboundId
:
outboundId
}});
}
}
...
@@ -45,7 +46,7 @@ export class RelocationController{
...
@@ -45,7 +46,7 @@ export class RelocationController{
* @param warehousingId
* @param warehousingId
* @return Warehousing
* @return Warehousing
*/
*/
static
getWarehousingById
(
axios
:
AxiosStatic
,
warehousingId
:
number
):
Promise
<
AxiosResponse
<
Warehousing
>>
{
static
getWarehousingById
(
axios
:
AxiosStatic
,
warehousingId
:
number
):
Promise
<
AxiosResponse
<
Warehousing
>>
{
return
axios
.
get
(
'outbound/getWarehousingById'
,
{
params
:
{
warehousingId
:
warehousingId
}});
return
axios
.
get
(
'outbound/getWarehousingById'
,
{
params
:
{
warehousingId
:
warehousingId
}});
}
}
...
@@ -54,7 +55,7 @@ export class RelocationController{
...
@@ -54,7 +55,7 @@ export class RelocationController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageOutbound
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Outbound
>>>
{
static
pageOutbound
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Outbound
>
):
Promise
<
AxiosResponse
<
Page
<
Outbound
>>>
{
return
axios
.
post
(
'outbound/pageOutbound'
,
pagination
);
return
axios
.
post
(
'outbound/pageOutbound'
,
pagination
);
}
}
...
@@ -65,7 +66,7 @@ export class RelocationController{
...
@@ -65,7 +66,7 @@ export class RelocationController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageWarehousing
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Warehousing
>>>
{
static
pageWarehousing
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Warehousing
>
):
Promise
<
AxiosResponse
<
Page
<
Warehousing
>>>
{
return
axios
.
post
(
'outbound/pageWarehousing'
,
pagination
);
return
axios
.
post
(
'outbound/pageWarehousing'
,
pagination
);
}
}
...
@@ -76,7 +77,7 @@ export class RelocationController{
...
@@ -76,7 +77,7 @@ export class RelocationController{
* @param outboundId
* @param outboundId
* @return int
* @return int
*/
*/
static
removeOutboundById
(
axios
:
AxiosStatic
,
outboundId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeOutboundById
(
axios
:
AxiosStatic
,
outboundId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'outbound/removeOutboundById'
,
{
params
:
{
outboundId
:
outboundId
}});
return
axios
.
delete
(
'outbound/removeOutboundById'
,
{
params
:
{
outboundId
:
outboundId
}});
}
}
...
@@ -85,7 +86,7 @@ export class RelocationController{
...
@@ -85,7 +86,7 @@ export class RelocationController{
* @param warehousingId
* @param warehousingId
* @return int
* @return int
*/
*/
static
removeWarehousingById
(
axios
:
AxiosStatic
,
warehousingId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeWarehousingById
(
axios
:
AxiosStatic
,
warehousingId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'outbound/removeWarehousingById'
,
{
params
:
{
warehousingId
:
warehousingId
}});
return
axios
.
delete
(
'outbound/removeWarehousingById'
,
{
params
:
{
warehousingId
:
warehousingId
}});
}
}
...
@@ -94,7 +95,7 @@ export class RelocationController{
...
@@ -94,7 +95,7 @@ export class RelocationController{
* @param outbound
* @param outbound
* @return Outbound
* @return Outbound
*/
*/
static
updateOutbound
(
axios
:
AxiosStatic
,
outbound
:
any
):
Promise
<
AxiosResponse
<
Outbound
>>
{
static
updateOutbound
(
axios
:
AxiosStatic
,
outbound
:
Outbound
):
Promise
<
AxiosResponse
<
Outbound
>>
{
return
axios
.
post
(
'outbound/updateOutbound'
,
outbound
);
return
axios
.
post
(
'outbound/updateOutbound'
,
outbound
);
}
}
...
@@ -103,7 +104,7 @@ export class RelocationController{
...
@@ -103,7 +104,7 @@ export class RelocationController{
* @param warehousing
* @param warehousing
* @return Warehousing
* @return Warehousing
*/
*/
static
updateWarehousing
(
axios
:
AxiosStatic
,
warehousing
:
any
):
Promise
<
AxiosResponse
<
Warehousing
>>
{
static
updateWarehousing
(
axios
:
AxiosStatic
,
warehousing
:
Warehousing
):
Promise
<
AxiosResponse
<
Warehousing
>>
{
return
axios
.
post
(
'outbound/updateWarehousing'
,
warehousing
);
return
axios
.
post
(
'outbound/updateWarehousing'
,
warehousing
);
}
}
...
...
aus-front/admin/src/api/StorageController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
import
{
Vehicle
}
from
"lib/src/entity/vehicle/entity/Vehicle"
;
import
{
FileInfo
}
from
"lib/src/core/bean/FileInfo"
;
// region 前端扩展导入包
// region 前端扩展导入包
// endregion
// endregion
/**
/**
* @author kepler
* @author kepler
*/
*/
export
class
StorageController
{
export
class
StorageController
{
/**
/**
*/
*/
static
removeVehicleAlbum
(
axios
:
AxiosStatic
,
filePath
:
string
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
void
>>
{
static
removeVehicleAlbum
(
axios
:
AxiosStatic
,
filePath
:
string
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
delete
(
'upload/removeVehicleAlbum'
,
{
params
:
{
filePath
:
filePath
,
vehicleId
:
vehicleId
}});
return
axios
.
delete
(
'upload/removeVehicleAlbum'
,
{
params
:
{
filePath
:
filePath
,
vehicleId
:
vehicleId
}});
}
}
/**
/**
...
@@ -20,7 +21,7 @@ export class StorageController{
...
@@ -20,7 +21,7 @@ export class StorageController{
* @param vehicle
* @param vehicle
* @return int
* @return int
*/
*/
static
updateVehicleAlbums
(
axios
:
AxiosStatic
,
vehicle
:
any
):
Promise
<
AxiosResponse
<
number
>>
{
static
updateVehicleAlbums
(
axios
:
AxiosStatic
,
vehicle
:
Vehicle
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
post
(
'upload/updateVehicleAlbums'
,
vehicle
);
return
axios
.
post
(
'upload/updateVehicleAlbums'
,
vehicle
);
}
}
...
@@ -31,14 +32,14 @@ export class StorageController{
...
@@ -31,14 +32,14 @@ export class StorageController{
* @return Map
* @return Map
* @throws FileStorageException
* @throws FileStorageException
*/
*/
static
uploadPasteImage
(
axios
:
AxiosStatic
,
file
:
any
):
Promise
<
AxiosResponse
<
any
>>
{
static
uploadPasteImage
(
axios
:
AxiosStatic
,
file
:
any
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
post
(
'upload/uploadRichTextImage'
,
null
,
{
params
:
{
file
:
file
}});
return
axios
.
post
(
'upload/uploadRichTextImage'
,
null
,
{
params
:
{
file
:
file
}});
}
}
/**
/**
*/
*/
static
uploadVehicleAlbum
(
axios
:
AxiosStatic
,
file
:
any
,
vehicleId
:
number
,
fileSubtype
:
string
,
directory
:
string
,
cache
:
boolean
|
undefined
|
null
):
Promise
<
AxiosResponse
<
FileInfo
>>
{
static
uploadVehicleAlbum
(
axios
:
AxiosStatic
,
file
:
any
,
vehicleId
:
number
,
fileSubtype
:
string
,
directory
:
string
,
cache
:
boolean
|
undefined
|
null
):
Promise
<
AxiosResponse
<
FileInfo
>>
{
return
axios
.
post
(
'upload/uploadVehicleAlbum'
,
null
,
{
params
:
{
file
:
file
,
vehicleId
:
vehicleId
,
fileSubtype
:
fileSubtype
,
directory
:
directory
,
cache
:
cache
}});
return
axios
.
post
(
'upload/uploadVehicleAlbum'
,
null
,
{
params
:
{
file
:
file
,
vehicleId
:
vehicleId
,
fileSubtype
:
fileSubtype
,
directory
:
directory
,
cache
:
cache
}});
}
}
// region 前端扩展代码区
// region 前端扩展代码区
...
...
aus-front/admin/src/api/TrackController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
VehicleBrowserHistory
}
from
"lib/src/entity/track/entity/VehicleBrowserHistory"
;
import
{
VehicleBrowserHistory
}
from
"lib/src/entity/track/entity/VehicleBrowserHistory"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// endregion
// endregion
/**
/**
*/
*/
export
class
TrackController
{
export
class
TrackController
{
/**
/**
*/
*/
static
pageVehicleBrowserHistory
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
VehicleBrowserHistory
>>>
{
static
pageVehicleBrowserHistory
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
VehicleBrowserHistory
>
):
Promise
<
AxiosResponse
<
Page
<
VehicleBrowserHistory
>>>
{
return
axios
.
post
(
'track/pageVehicleBrowserHistory'
,
pagination
);
return
axios
.
post
(
'track/pageVehicleBrowserHistory'
,
pagination
);
}
}
...
...
aus-front/admin/src/api/TransactionController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
Transaction
}
from
"lib/src/entity/finance/entity/Transaction"
;
import
{
Transaction
}
from
"lib/src/entity/finance/entity/Transaction"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
OrderTransaction
}
from
"lib/src/entity/finance/entity/OrderTransaction"
;
import
{
OrderTransaction
}
from
"lib/src/entity/finance/entity/OrderTransaction"
;
import
{
OrderTransactionStat
}
from
"lib/src/entity/finance/domain/OrderTransactionStat"
;
import
{
OrderTransactionStat
}
from
"lib/src/entity/finance/domain/OrderTransactionStat"
;
import
{
OrderTransactionAmountStat
}
from
"lib/src/entity/finance/domain/OrderTransactionAmountStat"
;
import
{
OrderTransactionAmountStat
}
from
"lib/src/entity/finance/domain/OrderTransactionAmountStat"
;
import
{
ApproveHistory
}
from
"lib/src/entity/track/entity/ApproveHistory"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
import
{
Refund
}
from
"lib/src/entity/finance/entity/Refund"
;
// endregion
// endregion
/**
/**
* 交易明细(Transaction) PI接口
* 交易明细(Transaction) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
TransactionController
{
export
class
TransactionController
{
/**
/**
* 审核到帐
* 审核到帐
...
@@ -21,31 +24,31 @@ export class TransactionController{
...
@@ -21,31 +24,31 @@ export class TransactionController{
* @return OrderTransaction
* @return OrderTransaction
* @throws FieldException
* @throws FieldException
*/
*/
static
auditOrderTransaction
(
axios
:
AxiosStatic
,
approveHistory
:
an
y
):
Promise
<
AxiosResponse
<
OrderTransaction
>>
{
static
auditOrderTransaction
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistor
y
):
Promise
<
AxiosResponse
<
OrderTransaction
>>
{
return
axios
.
post
(
'transaction/auditOrderTransaction'
,
approveHistory
);
return
axios
.
post
(
'transaction/auditOrderTransaction'
,
approveHistory
);
}
}
/**
/**
*/
*/
static
exportOrderTransaction
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportOrderTransaction
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
OrderTransaction
>
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'transaction/exportOrderTransaction'
,
pagination
,
config
);
return
axios
.
post
(
'transaction/exportOrderTransaction'
,
pagination
,
config
);
}
}
/**
/**
*/
*/
static
exportOrderTransactionAudit
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportOrderTransactionAudit
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
OrderTransaction
>
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'transaction/exportOrderTransactionAudit'
,
pagination
,
config
);
return
axios
.
post
(
'transaction/exportOrderTransactionAudit'
,
pagination
,
config
);
}
}
/**
/**
*/
*/
static
getAuditedOrderTransactionsRecently
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
OrderTransaction
[]
>>
{
static
getAuditedOrderTransactionsRecently
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
OrderTransaction
[]
>>
{
return
axios
.
get
(
'transaction/getAuditedOrderTransactionsRecently'
);
return
axios
.
get
(
'transaction/getAuditedOrderTransactionsRecently'
);
}
}
/**
/**
*/
*/
static
getOrderTransactionAmountStat
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
OrderTransactionAmountStat
>>
{
static
getOrderTransactionAmountStat
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
OrderTransactionAmountStat
>>
{
return
axios
.
get
(
'transaction/getOrderTransactionAmountStat'
);
return
axios
.
get
(
'transaction/getOrderTransactionAmountStat'
);
}
}
...
@@ -54,31 +57,31 @@ export class TransactionController{
...
@@ -54,31 +57,31 @@ export class TransactionController{
* @param transactionId
* @param transactionId
* @return OrderTransaction
* @return OrderTransaction
*/
*/
static
getOrderTransactionById
(
axios
:
AxiosStatic
,
transactionId
:
number
):
Promise
<
AxiosResponse
<
OrderTransaction
>>
{
static
getOrderTransactionById
(
axios
:
AxiosStatic
,
transactionId
:
number
):
Promise
<
AxiosResponse
<
OrderTransaction
>>
{
return
axios
.
get
(
'transaction/getOrderTransactionById'
,
{
params
:
{
transactionId
:
transactionId
}});
return
axios
.
get
(
'transaction/getOrderTransactionById'
,
{
params
:
{
transactionId
:
transactionId
}});
}
}
/**
/**
*/
*/
static
getOrderTransactionByOrderId
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
OrderTransaction
>>
{
static
getOrderTransactionByOrderId
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
OrderTransaction
>>
{
return
axios
.
get
(
'transaction/getOrderTransactionByOrderId'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
get
(
'transaction/getOrderTransactionByOrderId'
,
{
params
:
{
orderId
:
orderId
}});
}
}
/**
/**
*/
*/
static
getOrderTransactionCountByAuditState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
static
getOrderTransactionCountByAuditState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
get
(
'transaction/getOrderTransactionCountByAuditState'
);
return
axios
.
get
(
'transaction/getOrderTransactionCountByAuditState'
);
}
}
/**
/**
*/
*/
static
getOrderTransactionStat
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
OrderTransactionStat
>>
{
static
getOrderTransactionStat
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
OrderTransactionStat
>>
{
return
axios
.
get
(
'transaction/getOrderTransactionStat'
);
return
axios
.
get
(
'transaction/getOrderTransactionStat'
);
}
}
/**
/**
*/
*/
static
getRefundsByWithdrawId
(
axios
:
AxiosStatic
,
withdrawId
:
number
):
Promise
<
AxiosResponse
<
Refund
[]
>>
{
static
getRefundsByWithdrawId
(
axios
:
AxiosStatic
,
withdrawId
:
number
):
Promise
<
AxiosResponse
<
Refund
[]
>>
{
return
axios
.
get
(
'transaction/getRefundsByWithdrawId'
,
{
params
:
{
withdrawId
:
withdrawId
}});
return
axios
.
get
(
'transaction/getRefundsByWithdrawId'
,
{
params
:
{
withdrawId
:
withdrawId
}});
}
}
...
@@ -87,7 +90,7 @@ export class TransactionController{
...
@@ -87,7 +90,7 @@ export class TransactionController{
* @param transactionId
* @param transactionId
* @return Transaction
* @return Transaction
*/
*/
static
getTransactionById
(
axios
:
AxiosStatic
,
transactionId
:
number
):
Promise
<
AxiosResponse
<
Transaction
>>
{
static
getTransactionById
(
axios
:
AxiosStatic
,
transactionId
:
number
):
Promise
<
AxiosResponse
<
Transaction
>>
{
return
axios
.
get
(
'transaction/getTransactionById'
,
{
params
:
{
transactionId
:
transactionId
}});
return
axios
.
get
(
'transaction/getTransactionById'
,
{
params
:
{
transactionId
:
transactionId
}});
}
}
...
@@ -96,7 +99,7 @@ export class TransactionController{
...
@@ -96,7 +99,7 @@ export class TransactionController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageOrderTransaction
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
OrderTransaction
>>>
{
static
pageOrderTransaction
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
OrderTransaction
>
):
Promise
<
AxiosResponse
<
Page
<
OrderTransaction
>>>
{
return
axios
.
post
(
'transaction/pageOrderTransaction'
,
pagination
);
return
axios
.
post
(
'transaction/pageOrderTransaction'
,
pagination
);
}
}
...
@@ -107,7 +110,7 @@ export class TransactionController{
...
@@ -107,7 +110,7 @@ export class TransactionController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageTransaction
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Transaction
>>>
{
static
pageTransaction
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Transaction
>
):
Promise
<
AxiosResponse
<
Page
<
Transaction
>>>
{
return
axios
.
post
(
'transaction/pageTransaction'
,
pagination
);
return
axios
.
post
(
'transaction/pageTransaction'
,
pagination
);
}
}
...
@@ -118,13 +121,13 @@ export class TransactionController{
...
@@ -118,13 +121,13 @@ export class TransactionController{
* @param transactionId
* @param transactionId
* @return int
* @return int
*/
*/
static
removeOrderTransactionById
(
axios
:
AxiosStatic
,
transactionId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeOrderTransactionById
(
axios
:
AxiosStatic
,
transactionId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'transaction/removeOrderTransactionById'
,
{
params
:
{
transactionId
:
transactionId
}});
return
axios
.
delete
(
'transaction/removeOrderTransactionById'
,
{
params
:
{
transactionId
:
transactionId
}});
}
}
/**
/**
*/
*/
static
updateOrderTransactionDesc
(
axios
:
AxiosStatic
,
orderTransaction
:
any
):
Promise
<
AxiosResponse
<
OrderTransaction
>>
{
static
updateOrderTransactionDesc
(
axios
:
AxiosStatic
,
orderTransaction
:
OrderTransaction
):
Promise
<
AxiosResponse
<
OrderTransaction
>>
{
return
axios
.
post
(
'transaction/updateOrderTransactionDesc'
,
orderTransaction
);
return
axios
.
post
(
'transaction/updateOrderTransactionDesc'
,
orderTransaction
);
}
}
...
...
aus-front/admin/src/api/VehicleController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
Vehicle
}
from
"lib/src/entity/vehicle/entity/Vehicle"
;
import
{
Vehicle
}
from
"lib/src/entity/vehicle/entity/Vehicle"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
VehicleHistoryProjection
}
from
"lib/src/entity/vehicle/domain/VehicleHistoryProjection"
;
import
{
VehicleHistoryProjection
}
from
"lib/src/entity/vehicle/domain/VehicleHistoryProjection"
;
import
{
NameCount
}
from
"lib/src/entity/analysis/domain/NameCount"
;
import
{
NameCount
}
from
"lib/src/entity/analysis/domain/NameCount"
;
import
{
FileInfo
}
from
"lib/src/core/bean/FileInfo"
;
import
{
FileInfo
}
from
"lib/src/core/bean/FileInfo"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
import
{
VehicleVenue
}
from
"lib/src/entity/vehicle/domain/VehicleVenue"
;
// endregion
// endregion
/**
/**
* 库存车辆(Vehicle) PI接口
* 库存车辆(Vehicle) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
VehicleController
{
export
class
VehicleController
{
/**
/**
* 新增库存车辆
* 新增库存车辆
* @param vehicle
* @param vehicle
* @return Vehicle
* @return Vehicle
*/
*/
static
addVehicle
(
axios
:
AxiosStatic
,
vehicle
:
any
):
Promise
<
AxiosResponse
<
Vehicle
>>
{
static
addVehicle
(
axios
:
AxiosStatic
,
vehicle
:
Vehicle
):
Promise
<
AxiosResponse
<
Vehicle
>>
{
return
axios
.
post
(
'vehicle/addVehicle'
,
vehicle
);
return
axios
.
post
(
'vehicle/addVehicle'
,
vehicle
);
}
}
/**
/**
*/
*/
static
exportCheckedVehicles
(
axios
:
AxiosStatic
,
vehicleIds
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportCheckedVehicles
(
axios
:
AxiosStatic
,
vehicleIds
:
number
[],
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'vehicle/exportCheckedVehicles'
,
vehicleIds
,
config
);
return
axios
.
post
(
'vehicle/exportCheckedVehicles'
,
vehicleIds
,
config
);
}
}
/**
/**
*/
*/
static
exportPriceVehicles
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportPriceVehicles
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Vehicle
>
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'vehicle/exportPriceVehicles'
,
pagination
,
config
);
return
axios
.
post
(
'vehicle/exportPriceVehicles'
,
pagination
,
config
);
}
}
...
@@ -42,13 +44,13 @@ export class VehicleController{
...
@@ -42,13 +44,13 @@ export class VehicleController{
* @param response
* @param response
* @throws IOException
* @throws IOException
*/
*/
static
exportVehicles
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportVehicles
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Vehicle
>
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'vehicle/exportVehicles'
,
pagination
,
config
);
return
axios
.
post
(
'vehicle/exportVehicles'
,
pagination
,
config
);
}
}
/**
/**
*/
*/
static
getTop3VehiclesByInventory
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Vehicle
[]
>>
{
static
getTop3VehiclesByInventory
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Vehicle
[]
>>
{
return
axios
.
get
(
'vehicle/getTop3VehiclesByInventory'
);
return
axios
.
get
(
'vehicle/getTop3VehiclesByInventory'
);
}
}
...
@@ -56,7 +58,7 @@ export class VehicleController{
...
@@ -56,7 +58,7 @@ export class VehicleController{
* 按车辆品牌统计车辆数量
* 按车辆品牌统计车辆数量
* @return List
* @return List
*/
*/
static
getVehicleBrandCounts
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
NameCount
[]
>>
{
static
getVehicleBrandCounts
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
NameCount
[]
>>
{
return
axios
.
get
(
'vehicle/getVehicleBrandCounts'
);
return
axios
.
get
(
'vehicle/getVehicleBrandCounts'
);
}
}
...
@@ -65,58 +67,62 @@ export class VehicleController{
...
@@ -65,58 +67,62 @@ export class VehicleController{
* @param vehicleId
* @param vehicleId
* @return Vehicle
* @return Vehicle
*/
*/
static
getVehicleById
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
Vehicle
>>
{
static
getVehicleById
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
Vehicle
>>
{
return
axios
.
get
(
'vehicle/getVehicleById'
,
{
params
:
{
vehicleId
:
vehicleId
}});
return
axios
.
get
(
'vehicle/getVehicleById'
,
{
params
:
{
vehicleId
:
vehicleId
}});
}
}
/**
/**
*/
*/
static
getVehicleCountByProvinceName
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
static
getVehicleCountByProvinceName
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
get
(
'vehicle/getVehicleCountByProvinceName'
);
return
axios
.
get
(
'vehicle/getVehicleCountByProvinceName'
);
}
}
/**
/**
*/
*/
static
getVehicleCountBySource
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
static
getVehicleCountBySource
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
get
(
'vehicle/getVehicleCountBySource'
);
return
axios
.
get
(
'vehicle/getVehicleCountBySource'
);
}
}
/**
/**
*/
*/
static
getVehicleCountByState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
static
getVehicleCountByState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
get
(
'vehicle/getVehicleCountByState'
);
return
axios
.
get
(
'vehicle/getVehicleCountByState'
);
}
}
/**
/**
*/
*/
static
getVehicleCountByStateAndDateRange
(
axios
:
AxiosStatic
,
startDate
:
Dayjs
|
string
,
endDate
:
Dayjs
|
string
):
Promise
<
AxiosResponse
<
any
>>
{
static
getVehicleCountByStateAndDateRange
(
axios
:
AxiosStatic
,
startDate
:
Dayjs
|
string
,
endDate
:
Dayjs
|
string
):
Promise
<
AxiosResponse
<
any
>>
{
if
(
startDate
instanceof
Object
)
{
startDate
=
dayjs
(
startDate
).
format
(
'YYYY-MM-DD'
)
}
if
(
startDate
instanceof
Object
)
{
if
(
endDate
instanceof
Object
)
{
endDate
=
dayjs
(
endDate
).
format
(
'YYYY-MM-DD'
)
}
startDate
=
dayjs
(
startDate
).
format
(
'YYYY-MM-DD'
)
}
if
(
endDate
instanceof
Object
)
{
endDate
=
dayjs
(
endDate
).
format
(
'YYYY-MM-DD'
)
}
return
axios
.
get
(
'vehicle/getVehicleCountByStateAndDateRange'
,
{
params
:
{
startDate
:
startDate
,
endDate
:
endDate
}});
return
axios
.
get
(
'vehicle/getVehicleCountByStateAndDateRange'
,
{
params
:
{
startDate
:
startDate
,
endDate
:
endDate
}});
}
}
/**
/**
*/
*/
static
getVehicleCountByVehicleClass
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
static
getVehicleCountByVehicleClass
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
get
(
'vehicle/getVehicleCountByVehicleClass'
);
return
axios
.
get
(
'vehicle/getVehicleCountByVehicleClass'
);
}
}
/**
/**
*/
*/
static
getVehicleHistories
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
VehicleHistoryProjection
[]
>>
{
static
getVehicleHistories
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
VehicleHistoryProjection
[]
>>
{
return
axios
.
get
(
'vehicle/getVehicleHistories'
,
{
params
:
{
vehicleId
:
vehicleId
}});
return
axios
.
get
(
'vehicle/getVehicleHistories'
,
{
params
:
{
vehicleId
:
vehicleId
}});
}
}
/**
/**
*/
*/
static
moveVehicleAlbum
(
axios
:
AxiosStatic
,
uid
:
string
,
fileSubtype
:
string
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
moveVehicleAlbum
(
axios
:
AxiosStatic
,
uid
:
string
,
fileSubtype
:
string
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
get
(
'vehicle/moveVehicleAlbum'
,
{
params
:
{
uid
:
uid
,
fileSubtype
:
fileSubtype
,
vehicleId
:
vehicleId
}});
return
axios
.
get
(
'vehicle/moveVehicleAlbum'
,
{
params
:
{
uid
:
uid
,
fileSubtype
:
fileSubtype
,
vehicleId
:
vehicleId
}});
}
}
/**
/**
*/
*/
static
pagePriceVehicle
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Vehicle
>>>
{
static
pagePriceVehicle
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Vehicle
>
):
Promise
<
AxiosResponse
<
Page
<
Vehicle
>>>
{
return
axios
.
post
(
'vehicle/pagePriceVehicle'
,
pagination
);
return
axios
.
post
(
'vehicle/pagePriceVehicle'
,
pagination
);
}
}
...
@@ -127,7 +133,7 @@ export class VehicleController{
...
@@ -127,7 +133,7 @@ export class VehicleController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageVehicle
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Vehicle
>>>
{
static
pageVehicle
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Vehicle
>
):
Promise
<
AxiosResponse
<
Page
<
Vehicle
>>>
{
return
axios
.
post
(
'vehicle/pageVehicle'
,
pagination
);
return
axios
.
post
(
'vehicle/pageVehicle'
,
pagination
);
}
}
...
@@ -138,7 +144,7 @@ export class VehicleController{
...
@@ -138,7 +144,7 @@ export class VehicleController{
* @param vehicleId
* @param vehicleId
* @return int
* @return int
*/
*/
static
removeVehicleById
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeVehicleById
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'vehicle/removeVehicleById'
,
{
params
:
{
vehicleId
:
vehicleId
}});
return
axios
.
delete
(
'vehicle/removeVehicleById'
,
{
params
:
{
vehicleId
:
vehicleId
}});
}
}
...
@@ -147,7 +153,7 @@ export class VehicleController{
...
@@ -147,7 +153,7 @@ export class VehicleController{
* @param vehicle
* @param vehicle
* @return Vehicle
* @return Vehicle
*/
*/
static
updateVehicle
(
axios
:
AxiosStatic
,
vehicle
:
any
):
Promise
<
AxiosResponse
<
Vehicle
>>
{
static
updateVehicle
(
axios
:
AxiosStatic
,
vehicle
:
Vehicle
):
Promise
<
AxiosResponse
<
Vehicle
>>
{
return
axios
.
post
(
'vehicle/updateVehicle'
,
vehicle
);
return
axios
.
post
(
'vehicle/updateVehicle'
,
vehicle
);
}
}
...
@@ -156,14 +162,14 @@ export class VehicleController{
...
@@ -156,14 +162,14 @@ export class VehicleController{
* @param vehicleVenue
* @param vehicleVenue
* @return Vehicle
* @return Vehicle
*/
*/
static
updateVehicleVenue
(
axios
:
AxiosStatic
,
vehicleVenue
:
any
):
Promise
<
AxiosResponse
<
Vehicle
>>
{
static
updateVehicleVenue
(
axios
:
AxiosStatic
,
vehicleVenue
:
VehicleVenue
):
Promise
<
AxiosResponse
<
Vehicle
>>
{
return
axios
.
post
(
'vehicle/updateVehicleVenue'
,
vehicleVenue
);
return
axios
.
post
(
'vehicle/updateVehicleVenue'
,
vehicleVenue
);
}
}
/**
/**
* 更新车辆封面
* 更新车辆封面
*/
*/
static
uploadVehicleCover
(
axios
:
AxiosStatic
,
fileInfo
:
any
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
FileInfo
>>
{
static
uploadVehicleCover
(
axios
:
AxiosStatic
,
fileInfo
:
FileInfo
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
FileInfo
>>
{
return
axios
.
post
(
'vehicle/uploadVehicleCover'
,
fileInfo
,
{
params
:
{
vehicleId
:
vehicleId
}});
return
axios
.
post
(
'vehicle/uploadVehicleCover'
,
fileInfo
,
{
params
:
{
vehicleId
:
vehicleId
}});
}
}
...
@@ -172,7 +178,7 @@ export class VehicleController{
...
@@ -172,7 +178,7 @@ export class VehicleController{
* @param vehicle
* @param vehicle
* @return Vehicle
* @return Vehicle
*/
*/
static
warehousingVehicle
(
axios
:
AxiosStatic
,
vehicle
:
any
):
Promise
<
AxiosResponse
<
Vehicle
>>
{
static
warehousingVehicle
(
axios
:
AxiosStatic
,
vehicle
:
Vehicle
):
Promise
<
AxiosResponse
<
Vehicle
>>
{
return
axios
.
post
(
'vehicle/warehousingVehicle'
,
vehicle
);
return
axios
.
post
(
'vehicle/warehousingVehicle'
,
vehicle
);
}
}
...
...
aus-front/admin/src/api/VenueController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
Area
}
from
"lib/src/entity/venue/entity/Area"
;
import
{
Area
}
from
"lib/src/entity/venue/entity/Area"
;
import
{
ParkingSpace
}
from
"lib/src/entity/venue/entity/ParkingSpace"
;
import
{
ParkingSpace
}
from
"lib/src/entity/venue/entity/ParkingSpace"
;
...
@@ -9,20 +8,22 @@ import {Page} from "lib/src/core/page/Page";
...
@@ -9,20 +8,22 @@ import {Page} from "lib/src/core/page/Page";
import
{
CascaderOption
}
from
"lib/src/domain/CascaderOption"
;
import
{
CascaderOption
}
from
"lib/src/domain/CascaderOption"
;
import
{
User
}
from
"lib/src/entity/security/entity/User"
;
import
{
User
}
from
"lib/src/entity/security/entity/User"
;
import
{
VenueOption
}
from
"lib/src/entity/venue/domain/VenueOption"
;
import
{
VenueOption
}
from
"lib/src/entity/venue/domain/VenueOption"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// endregion
// endregion
/**
/**
* 车辆场地(Venue) PI接口
* 车辆场地(Venue) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
VenueController
{
export
class
VenueController
{
/**
/**
* 新增区域
* 新增区域
* @param area
* @param area
* @return Area
* @return Area
*/
*/
static
addArea
(
axios
:
AxiosStatic
,
area
:
any
):
Promise
<
AxiosResponse
<
Area
>>
{
static
addArea
(
axios
:
AxiosStatic
,
area
:
Area
):
Promise
<
AxiosResponse
<
Area
>>
{
return
axios
.
post
(
'venue/addArea'
,
area
);
return
axios
.
post
(
'venue/addArea'
,
area
);
}
}
...
@@ -31,7 +32,7 @@ export class VenueController{
...
@@ -31,7 +32,7 @@ export class VenueController{
* @param parkingSpace
* @param parkingSpace
* @return ParkingSpace
* @return ParkingSpace
*/
*/
static
addParkingSpace
(
axios
:
AxiosStatic
,
parkingSpace
:
any
):
Promise
<
AxiosResponse
<
ParkingSpace
>>
{
static
addParkingSpace
(
axios
:
AxiosStatic
,
parkingSpace
:
ParkingSpace
):
Promise
<
AxiosResponse
<
ParkingSpace
>>
{
return
axios
.
post
(
'venue/addParkingSpace'
,
parkingSpace
);
return
axios
.
post
(
'venue/addParkingSpace'
,
parkingSpace
);
}
}
...
@@ -40,13 +41,13 @@ export class VenueController{
...
@@ -40,13 +41,13 @@ export class VenueController{
* @param venue
* @param venue
* @return Venue
* @return Venue
*/
*/
static
addVenue
(
axios
:
AxiosStatic
,
venue
:
any
):
Promise
<
AxiosResponse
<
Venue
>>
{
static
addVenue
(
axios
:
AxiosStatic
,
venue
:
Venue
):
Promise
<
AxiosResponse
<
Venue
>>
{
return
axios
.
post
(
'venue/addVenue'
,
venue
);
return
axios
.
post
(
'venue/addVenue'
,
venue
);
}
}
/**
/**
*/
*/
static
addVenueUsers
(
axios
:
AxiosStatic
,
users
:
any
,
venueId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
addVenueUsers
(
axios
:
AxiosStatic
,
users
:
User
[]
,
venueId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
post
(
'venue/addVenueUsers'
,
users
,
{
params
:
{
venueId
:
venueId
}});
return
axios
.
post
(
'venue/addVenueUsers'
,
users
,
{
params
:
{
venueId
:
venueId
}});
}
}
...
@@ -55,8 +56,8 @@ export class VenueController{
...
@@ -55,8 +56,8 @@ export class VenueController{
* @param venueId
* @param venueId
* @return boolean
* @return boolean
*/
*/
static
enableVenue
(
axios
:
AxiosStatic
,
venueId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
enableVenue
(
axios
:
AxiosStatic
,
venueId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'venue/enableVenue'
,
null
,
{
params
:
{
venueId
:
venueId
,
enabled
:
enabled
}});
return
axios
.
post
(
'venue/enableVenue'
,
null
,
{
params
:
{
venueId
:
venueId
,
enabled
:
enabled
}});
}
}
/**
/**
...
@@ -64,7 +65,7 @@ export class VenueController{
...
@@ -64,7 +65,7 @@ export class VenueController{
* @param areaId
* @param areaId
* @return Area
* @return Area
*/
*/
static
getAreaById
(
axios
:
AxiosStatic
,
areaId
:
number
):
Promise
<
AxiosResponse
<
Area
>>
{
static
getAreaById
(
axios
:
AxiosStatic
,
areaId
:
number
):
Promise
<
AxiosResponse
<
Area
>>
{
return
axios
.
get
(
'venue/getAreaById'
,
{
params
:
{
areaId
:
areaId
}});
return
axios
.
get
(
'venue/getAreaById'
,
{
params
:
{
areaId
:
areaId
}});
}
}
...
@@ -72,25 +73,25 @@ export class VenueController{
...
@@ -72,25 +73,25 @@ export class VenueController{
* 查询全部启用$车辆场地
* 查询全部启用$车辆场地
* @return List
* @return List
*/
*/
static
getEnableVenues
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Venue
[]
>>
{
static
getEnableVenues
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Venue
[]
>>
{
return
axios
.
get
(
'venue/getEnabledVenues'
);
return
axios
.
get
(
'venue/getEnabledVenues'
);
}
}
/**
/**
*/
*/
static
getEnabledVenueOptionItems
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
VenueOption
[]
>>
{
static
getEnabledVenueOptionItems
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
VenueOption
[]
>>
{
return
axios
.
get
(
'venue/getEnabledVenueOptionItems'
);
return
axios
.
get
(
'venue/getEnabledVenueOptionItems'
);
}
}
/**
/**
*/
*/
static
getEnabledVenueOptions
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
CascaderOption
[]
>>
{
static
getEnabledVenueOptions
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
CascaderOption
[]
>>
{
return
axios
.
get
(
'venue/getEnabledVenueOptions'
);
return
axios
.
get
(
'venue/getEnabledVenueOptions'
);
}
}
/**
/**
*/
*/
static
getParkingSpaceCountGroupBySpaceType
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
any
>>
{
static
getParkingSpaceCountGroupBySpaceType
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
get
(
'venue/getParkingSpaceCountGroupBySpaceType'
,
{
params
:
{
venueId
:
venueId
}});
return
axios
.
get
(
'venue/getParkingSpaceCountGroupBySpaceType'
,
{
params
:
{
venueId
:
venueId
}});
}
}
...
@@ -99,13 +100,13 @@ export class VenueController{
...
@@ -99,13 +100,13 @@ export class VenueController{
* @param areaId
* @param areaId
* @return List
* @return List
*/
*/
static
getParkingSpacesByAreaId
(
axios
:
AxiosStatic
,
areaId
:
number
):
Promise
<
AxiosResponse
<
ParkingSpace
[]
>>
{
static
getParkingSpacesByAreaId
(
axios
:
AxiosStatic
,
areaId
:
number
):
Promise
<
AxiosResponse
<
ParkingSpace
[]
>>
{
return
axios
.
get
(
'venue/getParkingSpacesByAreaId'
,
{
params
:
{
areaId
:
areaId
}});
return
axios
.
get
(
'venue/getParkingSpacesByAreaId'
,
{
params
:
{
areaId
:
areaId
}});
}
}
/**
/**
*/
*/
static
getVehicleCountByVenueId
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
any
>>
{
static
getVehicleCountByVenueId
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
get
(
'venue/getVehicleCountByVenueId'
,
{
params
:
{
venueId
:
venueId
}});
return
axios
.
get
(
'venue/getVehicleCountByVenueId'
,
{
params
:
{
venueId
:
venueId
}});
}
}
...
@@ -114,13 +115,13 @@ export class VenueController{
...
@@ -114,13 +115,13 @@ export class VenueController{
* @param venueId
* @param venueId
* @return Venue
* @return Venue
*/
*/
static
getVenueById
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
Venue
>>
{
static
getVenueById
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
Venue
>>
{
return
axios
.
get
(
'venue/getVenueById'
,
{
params
:
{
venueId
:
venueId
}});
return
axios
.
get
(
'venue/getVenueById'
,
{
params
:
{
venueId
:
venueId
}});
}
}
/**
/**
*/
*/
static
getVenueDetailById
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
Venue
>>
{
static
getVenueDetailById
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
Venue
>>
{
return
axios
.
get
(
'venue/getVenueDetailById'
,
{
params
:
{
venueId
:
venueId
}});
return
axios
.
get
(
'venue/getVenueDetailById'
,
{
params
:
{
venueId
:
venueId
}});
}
}
...
@@ -128,7 +129,7 @@ export class VenueController{
...
@@ -128,7 +129,7 @@ export class VenueController{
* 查询场地下的用户
* 查询场地下的用户
* @return List
* @return List
*/
*/
static
getVenueUsers
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
User
[]
>>
{
static
getVenueUsers
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
User
[]
>>
{
return
axios
.
get
(
'venue/getVenueUsers'
,
{
params
:
{
venueId
:
venueId
}});
return
axios
.
get
(
'venue/getVenueUsers'
,
{
params
:
{
venueId
:
venueId
}});
}
}
...
@@ -136,7 +137,7 @@ export class VenueController{
...
@@ -136,7 +137,7 @@ export class VenueController{
* 分页查询区域
* 分页查询区域
* @param pagination
* @param pagination
*/
*/
static
pageArea
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Area
>>>
{
static
pageArea
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Area
>
):
Promise
<
AxiosResponse
<
Page
<
Area
>>>
{
return
axios
.
post
(
'venue/pageArea'
,
pagination
);
return
axios
.
post
(
'venue/pageArea'
,
pagination
);
}
}
...
@@ -147,7 +148,7 @@ export class VenueController{
...
@@ -147,7 +148,7 @@ export class VenueController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageParkingSpace
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
ParkingSpace
>>>
{
static
pageParkingSpace
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
ParkingSpace
>
):
Promise
<
AxiosResponse
<
Page
<
ParkingSpace
>>>
{
return
axios
.
post
(
'venue/pageParkingSpace'
,
pagination
);
return
axios
.
post
(
'venue/pageParkingSpace'
,
pagination
);
}
}
...
@@ -158,7 +159,7 @@ export class VenueController{
...
@@ -158,7 +159,7 @@ export class VenueController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageVenue
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Venue
>>>
{
static
pageVenue
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Venue
>
):
Promise
<
AxiosResponse
<
Page
<
Venue
>>>
{
return
axios
.
post
(
'venue/pageVenue'
,
pagination
);
return
axios
.
post
(
'venue/pageVenue'
,
pagination
);
}
}
...
@@ -166,7 +167,7 @@ export class VenueController{
...
@@ -166,7 +167,7 @@ export class VenueController{
/**
/**
*/
*/
static
pageVenueUser
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
User
>>>
{
static
pageVenueUser
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
User
>
):
Promise
<
AxiosResponse
<
Page
<
User
>>>
{
return
axios
.
post
(
'venue/pageVenueUser'
,
pagination
);
return
axios
.
post
(
'venue/pageVenueUser'
,
pagination
);
}
}
...
@@ -177,7 +178,7 @@ export class VenueController{
...
@@ -177,7 +178,7 @@ export class VenueController{
* @param areaId
* @param areaId
* @return int
* @return int
*/
*/
static
removeAreaById
(
axios
:
AxiosStatic
,
areaId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeAreaById
(
axios
:
AxiosStatic
,
areaId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'venue/removeAreaById'
,
{
params
:
{
areaId
:
areaId
}});
return
axios
.
delete
(
'venue/removeAreaById'
,
{
params
:
{
areaId
:
areaId
}});
}
}
...
@@ -186,8 +187,8 @@ export class VenueController{
...
@@ -186,8 +187,8 @@ export class VenueController{
* @param venueId
* @param venueId
* @return int
* @return int
*/
*/
static
removeUserByVenueId
(
axios
:
AxiosStatic
,
venueId
:
number
,
userId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeUserByVenueId
(
axios
:
AxiosStatic
,
venueId
:
number
,
userId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'venue/removeUserByVenueId'
,
{
params
:
{
venueId
:
venueId
,
userId
:
userId
}});
return
axios
.
delete
(
'venue/removeUserByVenueId'
,
{
params
:
{
venueId
:
venueId
,
userId
:
userId
}});
}
}
/**
/**
...
@@ -195,7 +196,7 @@ export class VenueController{
...
@@ -195,7 +196,7 @@ export class VenueController{
* @param venueId
* @param venueId
* @return int
* @return int
*/
*/
static
removeVenueById
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeVenueById
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'venue/removeVenueById'
,
{
params
:
{
venueId
:
venueId
}});
return
axios
.
delete
(
'venue/removeVenueById'
,
{
params
:
{
venueId
:
venueId
}});
}
}
...
@@ -204,7 +205,7 @@ export class VenueController{
...
@@ -204,7 +205,7 @@ export class VenueController{
* @param area
* @param area
* @return Area
* @return Area
*/
*/
static
updateArea
(
axios
:
AxiosStatic
,
area
:
any
):
Promise
<
AxiosResponse
<
Area
>>
{
static
updateArea
(
axios
:
AxiosStatic
,
area
:
Area
):
Promise
<
AxiosResponse
<
Area
>>
{
return
axios
.
post
(
'venue/updateArea'
,
area
);
return
axios
.
post
(
'venue/updateArea'
,
area
);
}
}
...
@@ -213,7 +214,7 @@ export class VenueController{
...
@@ -213,7 +214,7 @@ export class VenueController{
* @param parkingSpace
* @param parkingSpace
* @return ParkingSpace
* @return ParkingSpace
*/
*/
static
updateParkingSpace
(
axios
:
AxiosStatic
,
parkingSpace
:
any
):
Promise
<
AxiosResponse
<
ParkingSpace
>>
{
static
updateParkingSpace
(
axios
:
AxiosStatic
,
parkingSpace
:
ParkingSpace
):
Promise
<
AxiosResponse
<
ParkingSpace
>>
{
return
axios
.
post
(
'venue/updateParkingSpace'
,
parkingSpace
);
return
axios
.
post
(
'venue/updateParkingSpace'
,
parkingSpace
);
}
}
...
@@ -222,7 +223,7 @@ export class VenueController{
...
@@ -222,7 +223,7 @@ export class VenueController{
* @param venue
* @param venue
* @return Venue
* @return Venue
*/
*/
static
updateVenue
(
axios
:
AxiosStatic
,
venue
:
any
):
Promise
<
AxiosResponse
<
Venue
>>
{
static
updateVenue
(
axios
:
AxiosStatic
,
venue
:
Venue
):
Promise
<
AxiosResponse
<
Venue
>>
{
return
axios
.
post
(
'venue/updateVenue'
,
venue
);
return
axios
.
post
(
'venue/updateVenue'
,
venue
);
}
}
...
...
aus-front/admin/src/api/WithdrawController.ts
View file @
d06a731
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
Withdraw
}
from
"lib/src/entity/finance/entity/Withdraw"
;
import
{
Withdraw
}
from
"lib/src/entity/finance/entity/Withdraw"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
ApproveHistory
}
from
"lib/src/entity/track/entity/ApproveHistory"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// endregion
// endregion
/**
/**
* 提现申请(Withdraw) PI接口
* 提现申请(Withdraw) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
WithdrawController
{
export
class
WithdrawController
{
/**
/**
* 修改提现申请
* 修改提现申请
* @param approveHistory
* @param approveHistory
* @return Withdraw
* @return Withdraw
*/
*/
static
auditWithdraw
(
axios
:
AxiosStatic
,
approveHistory
:
an
y
):
Promise
<
AxiosResponse
<
Withdraw
>>
{
static
auditWithdraw
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistor
y
):
Promise
<
AxiosResponse
<
Withdraw
>>
{
return
axios
.
post
(
'withdraw/auditWithdraw'
,
approveHistory
);
return
axios
.
post
(
'withdraw/auditWithdraw'
,
approveHistory
);
}
}
/**
/**
*/
*/
static
exportWithdraw
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportWithdraw
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Withdraw
>
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'withdraw/exportWithdraw'
,
pagination
,
config
);
return
axios
.
post
(
'withdraw/exportWithdraw'
,
pagination
,
config
);
}
}
...
@@ -32,19 +34,19 @@ export class WithdrawController{
...
@@ -32,19 +34,19 @@ export class WithdrawController{
* @param withdrawId
* @param withdrawId
* @return Withdraw
* @return Withdraw
*/
*/
static
getWithdrawById
(
axios
:
AxiosStatic
,
withdrawId
:
number
):
Promise
<
AxiosResponse
<
Withdraw
>>
{
static
getWithdrawById
(
axios
:
AxiosStatic
,
withdrawId
:
number
):
Promise
<
AxiosResponse
<
Withdraw
>>
{
return
axios
.
get
(
'withdraw/getWithdrawById'
,
{
params
:
{
withdrawId
:
withdrawId
}});
return
axios
.
get
(
'withdraw/getWithdrawById'
,
{
params
:
{
withdrawId
:
withdrawId
}});
}
}
/**
/**
*/
*/
static
getWithdrawCountByAuditState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
static
getWithdrawCountByAuditState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
get
(
'withdraw/getWithdrawCountByAuditState'
);
return
axios
.
get
(
'withdraw/getWithdrawCountByAuditState'
);
}
}
/**
/**
*/
*/
static
getWithdrawsByAccountId
(
axios
:
AxiosStatic
,
accountId
:
number
):
Promise
<
AxiosResponse
<
Withdraw
[]
>>
{
static
getWithdrawsByAccountId
(
axios
:
AxiosStatic
,
accountId
:
number
):
Promise
<
AxiosResponse
<
Withdraw
[]
>>
{
return
axios
.
get
(
'withdraw/getWithdrawsByAccountId'
,
{
params
:
{
accountId
:
accountId
}});
return
axios
.
get
(
'withdraw/getWithdrawsByAccountId'
,
{
params
:
{
accountId
:
accountId
}});
}
}
...
@@ -53,7 +55,7 @@ export class WithdrawController{
...
@@ -53,7 +55,7 @@ export class WithdrawController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageWithdraw
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Withdraw
>>>
{
static
pageWithdraw
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Withdraw
>
):
Promise
<
AxiosResponse
<
Page
<
Withdraw
>>>
{
return
axios
.
post
(
'withdraw/pageWithdraw'
,
pagination
);
return
axios
.
post
(
'withdraw/pageWithdraw'
,
pagination
);
}
}
...
@@ -64,7 +66,7 @@ export class WithdrawController{
...
@@ -64,7 +66,7 @@ export class WithdrawController{
* @param withdrawId
* @param withdrawId
* @return int
* @return int
*/
*/
static
removeWithdrawById
(
axios
:
AxiosStatic
,
withdrawId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeWithdrawById
(
axios
:
AxiosStatic
,
withdrawId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'withdraw/removeWithdrawById'
,
{
params
:
{
withdrawId
:
withdrawId
}});
return
axios
.
delete
(
'withdraw/removeWithdrawById'
,
{
params
:
{
withdrawId
:
withdrawId
}});
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment