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 d92432be
authored
Jan 14, 2026
by
gonglei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
加入框架代码
1 parent
714c2903
Show whitespace changes
Inline
Side-by-side
Showing
65 changed files
with
759 additions
and
648 deletions
aus-admin/src/main/java/com/glsx/usedcar/web/rest/auction/AuctionController.java
aus-core/src/main/java/com/glsx/usedcar/module/auction/dao/AuctionVehicleDao.java
aus-core/src/main/java/com/glsx/usedcar/module/auction/domain/AuctionVehicleAddon.java
aus-core/src/main/java/com/glsx/usedcar/module/auction/service/AuctionService.java
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/CarouselController.ts
aus-front/admin/src/api/CommissionRuleController.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/views/auction/approve/AuctionAuditPage.vue
aus-front/admin/src/views/auction/auction/AuctionBaseInfo.vue
aus-front/admin/src/views/auction/control/ControlAuction.vue
aus-front/app/src/api/AccountController.ts
aus-front/app/src/api/AppealController.ts
aus-front/app/src/api/AuctionController.ts
aus-front/app/src/api/AuctionOrderController.ts
aus-front/app/src/api/BidController.ts
aus-front/app/src/api/FavoriteController.ts
aus-front/app/src/api/LoginController.ts
aus-front/app/src/api/RechargeController.ts
aus-front/app/src/api/ReleaseOrderController.ts
aus-front/app/src/api/StorageController.ts
aus-front/app/src/api/TrackController.ts
aus-front/app/src/api/TransactionController.ts
aus-front/app/src/api/WithdrawController.ts
aus-front/app/src/api/WxpayController.ts
aus-front/lib/src/entity/account/domain/AccountInfo.ts
aus-front/lib/src/entity/account/domain/AccountProfile.ts
aus-front/lib/src/entity/account/domain/Certification.ts
aus-front/lib/src/entity/account/entity/Account.ts
aus-front/lib/src/entity/analysis/domain/ProvinceRate.ts
aus-front/lib/src/entity/auction/domain/AuctionVehicleAddon.ts
aus-front/lib/src/entity/auction/entity/Appeal.ts
aus-front/lib/src/entity/auction/entity/AuctionOrder.ts
aus-front/lib/src/entity/auction/entity/Contract.ts
aus-front/lib/src/entity/auction/entity/DeliveryOrder.ts
aus-front/lib/src/entity/auction/entity/ReleaseOrder.ts
aus-front/lib/src/entity/business/entity/Carousel.ts
aus-front/lib/src/entity/business/entity/NoticeMessage.ts
aus-front/lib/src/entity/finance/entity/OrderTransaction.ts
aus-front/lib/src/entity/security/entity/User.ts
aus-front/lib/src/entity/vehicle/entity/Vehicle.ts
aus-admin/src/main/java/com/glsx/usedcar/web/rest/auction/AuctionController.java
View file @
d92432b
...
@@ -2,6 +2,7 @@ package com.glsx.usedcar.web.rest.auction;
...
@@ -2,6 +2,7 @@ package com.glsx.usedcar.web.rest.auction;
import
com.glsx.usedcar.module.analysis.domain.AuctionVehicleRate
;
import
com.glsx.usedcar.module.analysis.domain.AuctionVehicleRate
;
import
com.glsx.usedcar.module.auction.domain.AuctionControl
;
import
com.glsx.usedcar.module.auction.domain.AuctionControl
;
import
com.glsx.usedcar.module.auction.domain.AuctionVehicleAddon
;
import
com.glsx.usedcar.module.auction.domain.PendingAuction
;
import
com.glsx.usedcar.module.auction.domain.PendingAuction
;
import
com.glsx.usedcar.module.auction.entity.*
;
import
com.glsx.usedcar.module.auction.entity.*
;
import
com.glsx.usedcar.module.auction.service.AuctionChangeService
;
import
com.glsx.usedcar.module.auction.service.AuctionChangeService
;
...
@@ -46,8 +47,6 @@ public class AuctionController {
...
@@ -46,8 +47,6 @@ public class AuctionController {
private
TrackService
trackService
;
private
TrackService
trackService
;
@Resource
@Resource
private
AuctionOrderService
auctionOrderService
;
@Resource
private
AuctionChangeService
auctionChangeService
;
private
AuctionChangeService
auctionChangeService
;
/**
/**
...
@@ -272,4 +271,9 @@ public class AuctionController {
...
@@ -272,4 +271,9 @@ public class AuctionController {
return
auctionService
.
getAuctionStateCountByType
(
auctionType
);
return
auctionService
.
getAuctionStateCountByType
(
auctionType
);
}
}
@PostMapping
(
"addAuctionVehicles"
)
public
int
addAuctionVehicles
(
@RequestBody
AuctionVehicleAddon
auctionVehicleAddon
)
throws
FieldException
{
auctionService
.
addAuctionVehicles
(
auctionVehicleAddon
);
return
auctionVehicleAddon
.
getAuctionId
();
}
}
}
\ No newline at end of file
\ No newline at end of file
aus-core/src/main/java/com/glsx/usedcar/module/auction/dao/AuctionVehicleDao.java
View file @
d92432b
...
@@ -52,6 +52,8 @@ public interface AuctionVehicleDao extends BaseRepository<AuctionVehicle, Intege
...
@@ -52,6 +52,8 @@ public interface AuctionVehicleDao extends BaseRepository<AuctionVehicle, Intege
@EntityGraph
(
attributePaths
=
{
"vehicle"
,
"auction"
})
@EntityGraph
(
attributePaths
=
{
"vehicle"
,
"auction"
})
List
<
AuctionVehicle
>
findByAuctionStateAndAuctionEndTimeIsBefore
(
AuctionVehicle
.
AuctionState
auctionState
,
LocalDateTime
endTime
);
List
<
AuctionVehicle
>
findByAuctionStateAndAuctionEndTimeIsBefore
(
AuctionVehicle
.
AuctionState
auctionState
,
LocalDateTime
endTime
);
long
countByAuction
(
Auction
auction
);
long
countByAuctionStateAndAuction
(
AuctionVehicle
.
AuctionState
auctionState
,
Auction
auction
);
long
countByAuctionStateAndAuction
(
AuctionVehicle
.
AuctionState
auctionState
,
Auction
auction
);
@Query
(
"select count(distinct av.vehicle) from AuctionVehicle av where av.auditState = ?1 "
)
@Query
(
"select count(distinct av.vehicle) from AuctionVehicle av where av.auditState = ?1 "
)
...
...
aus-core/src/main/java/com/glsx/usedcar/module/auction/domain/AuctionVehicleAddon.java
0 → 100644
View file @
d92432b
package
com
.
glsx
.
usedcar
.
module
.
auction
.
domain
;
import
lombok.Getter
;
import
lombok.Setter
;
import
java.util.List
;
@Getter
@Setter
public
class
AuctionVehicleAddon
{
private
int
auctionId
;
private
List
<
Integer
>
vehicleIds
;
}
aus-core/src/main/java/com/glsx/usedcar/module/auction/service/AuctionService.java
View file @
d92432b
...
@@ -10,6 +10,7 @@ import com.glsx.usedcar.module.account.entity.FavoriteId;
...
@@ -10,6 +10,7 @@ import com.glsx.usedcar.module.account.entity.FavoriteId;
import
com.glsx.usedcar.module.analysis.domain.AuctionVehicleRate
;
import
com.glsx.usedcar.module.analysis.domain.AuctionVehicleRate
;
import
com.glsx.usedcar.module.auction.dao.AuctionDao
;
import
com.glsx.usedcar.module.auction.dao.AuctionDao
;
import
com.glsx.usedcar.module.auction.dao.AuctionVehicleDao
;
import
com.glsx.usedcar.module.auction.dao.AuctionVehicleDao
;
import
com.glsx.usedcar.module.auction.domain.AuctionVehicleAddon
;
import
com.glsx.usedcar.module.auction.domain.PendingAuction
;
import
com.glsx.usedcar.module.auction.domain.PendingAuction
;
import
com.glsx.usedcar.module.auction.entity.Auction
;
import
com.glsx.usedcar.module.auction.entity.Auction
;
import
com.glsx.usedcar.module.auction.entity.AuctionVehicle
;
import
com.glsx.usedcar.module.auction.entity.AuctionVehicle
;
...
@@ -207,6 +208,49 @@ public class AuctionService extends AbstractAuctionService {
...
@@ -207,6 +208,49 @@ public class AuctionService extends AbstractAuctionService {
return
auctionDb
;
return
auctionDb
;
}
}
@Transactional
(
propagation
=
Propagation
.
REQUIRED
,
rollbackFor
=
Exception
.
class
)
public
void
addAuctionVehicles
(
AuctionVehicleAddon
auctionVehicleAddon
)
throws
FieldException
{
Auction
auction
=
auctionDao
.
findById
(
auctionVehicleAddon
.
getAuctionId
()).
orElseThrow
();
if
(
auction
.
getAuctionState
()
==
Auction
.
AuctionState
.
CLOSED
)
{
throw
new
FieldException
(
"auctionState"
,
Auction
.
AuctionState
.
CLOSED
,
"拍场已经结束"
);
}
if
(
auction
.
getAuctionState
()
==
Auction
.
AuctionState
.
CANCELLED
)
{
throw
new
FieldException
(
"auctionState"
,
Auction
.
AuctionState
.
CANCELLED
,
"拍场已经取消"
);
}
List
<
Integer
>
vehicleIds
=
auctionVehicleAddon
.
getVehicleIds
();
if
(!
vehicleIds
.
isEmpty
())
{
List
<
String
>
sourceNos
=
vehicleDao
.
findBySourceNoVehicleStateNot
(
vehicleIds
,
Vehicle
.
VehicleState
.
PRICED
);
if
(!
CollectionUtils
.
isEmpty
(
sourceNos
))
{
String
join
=
String
.
join
(
","
,
sourceNos
);
throw
new
FieldException
(
"sourceNos"
,
sourceNos
,
"车源号:"
+
join
+
"的车辆状态不是待关联拍卖状态,请重新选择车辆"
);
}
}
List
<
Vehicle
>
vehicles
=
vehicleDao
.
findByIds
(
vehicleIds
);
for
(
Vehicle
vehicle
:
vehicles
)
{
AuctionVehicle
av
=
new
AuctionVehicle
(
auction
,
vehicle
);
av
.
setPreviewStartTime
(
auction
.
getPreviewStartTime
());
av
.
setAuctionStartTime
(
auction
.
getAuctionStartTime
());
av
.
setAuctionEndTime
(
auction
.
getAuctionEndTime
());
switch
(
auction
.
getAuctionState
())
{
case
WAIT_AUCTION
->
{
av
.
setAuctionState
(
AuctionVehicle
.
AuctionState
.
WAIT_AUCTION
);
vehicle
.
setVehicleState
(
Vehicle
.
VehicleState
.
WAIT_AUCTION
);
}
case
PREVIEW
->
{
av
.
setAuctionState
(
AuctionVehicle
.
AuctionState
.
PREVIEW
);
vehicle
.
setVehicleState
(
Vehicle
.
VehicleState
.
PREVIEW
);
}
case
AUCTIONING
->
{
av
.
setAuctionState
(
AuctionVehicle
.
AuctionState
.
AUCTIONING
);
vehicle
.
setVehicleState
(
Vehicle
.
VehicleState
.
AUCTIONING
);
}
}
auctionVehicleDao
.
save
(
av
);
}
auction
.
setVehicleCount
((
int
)
auctionVehicleDao
.
countByAuction
(
auction
));
}
/**
/**
* 通过拍卖场次主键删除数据
* 通过拍卖场次主键删除数据
*
*
...
...
aus-front/admin/src/api/AccountController.ts
View file @
d92432b
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"
;
...
@@ -13,18 +14,17 @@ import {AccountDateStat} from "lib/src/entity/account/domain/AccountDateStat";
...
@@ -13,18 +14,17 @@ import {AccountDateStat} from "lib/src/entity/account/domain/AccountDateStat";
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
import
{
ResponseEntity
}
from
"lib/src/domain/ResponseEntity"
;
import
{
ResponseEntity
}
from
"lib/src/domain/ResponseEntity"
;
import
{
TagAccount
}
from
"lib/src/entity/account/domain/TagAccount"
;
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
);
}
}
...
@@ -33,13 +33,13 @@ export class AccountController {
...
@@ -33,13 +33,13 @@ export class AccountController {
* @param accountTag
* @param accountTag
* @return AccountTag
* @return AccountTag
*/
*/
static
addAccountTag
(
axios
:
AxiosStatic
,
accountTag
:
AccountTag
):
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
:
TagAccount
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
addTagAccounts
(
axios
:
AxiosStatic
,
tagAccount
:
TagAccount
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'account/addTagAccounts'
,
tagAccount
);
return
axios
.
post
(
'account/addTagAccounts'
,
tagAccount
);
}
}
...
@@ -48,7 +48,7 @@ export class AccountController {
...
@@ -48,7 +48,7 @@ export class AccountController {
* @param approveHistory
* @param approveHistory
* @return ApproveHistory
* @return ApproveHistory
*/
*/
static
auditAccount
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistory
):
Promise
<
AxiosResponse
<
ApproveHistory
>>
{
static
auditAccount
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistory
):
Promise
<
AxiosResponse
<
ApproveHistory
>>
{
return
axios
.
post
(
'account/auditAccount'
,
approveHistory
);
return
axios
.
post
(
'account/auditAccount'
,
approveHistory
);
}
}
...
@@ -58,19 +58,19 @@ export class AccountController {
...
@@ -58,19 +58,19 @@ export class AccountController {
* @param authentication
* @param authentication
* @return ApproveHistory
* @return ApproveHistory
*/
*/
static
auditAccounts
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistory
):
Promise
<
AxiosResponse
<
ApproveHistory
>>
{
static
auditAccounts
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistory
):
Promise
<
AxiosResponse
<
ApproveHistory
>>
{
return
axios
.
post
(
'account/auditAccounts'
,
approveHistory
);
return
axios
.
post
(
'account/auditAccounts'
,
approveHistory
);
}
}
/**
/**
*/
*/
static
enableAccount
(
axios
:
AxiosStatic
,
disableReason
:
string
,
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
:
Pagination
<
Account
>
,
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
);
}
}
...
@@ -79,51 +79,47 @@ export class AccountController {
...
@@ -79,51 +79,47 @@ 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
)
{
if
(
startDate
instanceof
Object
)
{
startDate
=
dayjs
(
startDate
).
format
(
'YYYY-MM-DD'
)
}
startDate
=
dayjs
(
startDate
).
format
(
'YYYY-MM-DD'
)
if
(
endDate
instanceof
Object
)
{
endDate
=
dayjs
(
endDate
).
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
}});
}
}
/**
/**
...
@@ -131,25 +127,25 @@ export class AccountController {
...
@@ -131,25 +127,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'
);
}
}
...
@@ -158,7 +154,7 @@ export class AccountController {
...
@@ -158,7 +154,7 @@ export class AccountController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageAccount
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Account
>
):
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
);
}
}
...
@@ -169,7 +165,7 @@ export class AccountController {
...
@@ -169,7 +165,7 @@ export class AccountController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageAccountTag
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
AccountTag
>
):
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
);
}
}
...
@@ -177,7 +173,7 @@ export class AccountController {
...
@@ -177,7 +173,7 @@ export class AccountController {
/**
/**
*/
*/
static
pageAuctionAccount
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Account
>
):
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
);
}
}
...
@@ -188,7 +184,7 @@ export class AccountController {
...
@@ -188,7 +184,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
}});
}
}
...
@@ -197,7 +193,7 @@ export class AccountController {
...
@@ -197,7 +193,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
}});
}
}
...
@@ -206,7 +202,7 @@ export class AccountController {
...
@@ -206,7 +202,7 @@ export class AccountController {
* @param account
* @param account
* @return Account
* @return Account
*/
*/
static
updateAccount
(
axios
:
AxiosStatic
,
account
:
Account
):
Promise
<
AxiosResponse
<
Account
>>
{
static
updateAccount
(
axios
:
AxiosStatic
,
account
:
Account
):
Promise
<
AxiosResponse
<
Account
>>
{
return
axios
.
post
(
'account/updateAccount'
,
account
);
return
axios
.
post
(
'account/updateAccount'
,
account
);
}
}
...
@@ -215,7 +211,7 @@ export class AccountController {
...
@@ -215,7 +211,7 @@ export class AccountController {
* @param accountTag
* @param accountTag
* @return AccountTag
* @return AccountTag
*/
*/
static
updateAccountTag
(
axios
:
AxiosStatic
,
accountTag
:
AccountTag
):
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 @
d92432b
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"
;
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
:
Agreement
):
Promise
<
AxiosResponse
<
Agreement
>>
{
static
addAgreement
(
axios
:
AxiosStatic
,
agreement
:
Agreement
):
Promise
<
AxiosResponse
<
Agreement
>>
{
return
axios
.
post
(
'agreement/addAgreement'
,
agreement
);
return
axios
.
post
(
'agreement/addAgreement'
,
agreement
);
}
}
...
@@ -27,13 +27,13 @@ export class AgreementController {
...
@@ -27,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
}});
}
}
...
@@ -42,7 +42,7 @@ export class AgreementController {
...
@@ -42,7 +42,7 @@ export class AgreementController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageAgreement
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Agreement
>
):
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
);
}
}
...
@@ -53,7 +53,7 @@ export class AgreementController {
...
@@ -53,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
}});
}
}
...
@@ -62,7 +62,7 @@ export class AgreementController {
...
@@ -62,7 +62,7 @@ export class AgreementController {
* @param agreement
* @param agreement
* @return Agreement
* @return Agreement
*/
*/
static
updateAgreement
(
axios
:
AxiosStatic
,
agreement
:
Agreement
):
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 @
d92432b
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"
;
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
:
Appeal
):
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
:
Pagination
<
Appeal
>
,
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
);
}
}
...
@@ -33,13 +33,13 @@ export class AppealController {
...
@@ -33,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
}});
}
}
...
@@ -48,7 +48,7 @@ export class AppealController {
...
@@ -48,7 +48,7 @@ export class AppealController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageAppeal
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Appeal
>
):
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
);
}
}
...
@@ -56,7 +56,7 @@ export class AppealController {
...
@@ -56,7 +56,7 @@ export class AppealController {
/**
/**
*/
*/
static
processingAppeal
(
axios
:
AxiosStatic
,
appeal
:
Appeal
):
Promise
<
AxiosResponse
<
Appeal
>>
{
static
processingAppeal
(
axios
:
AxiosStatic
,
appeal
:
Appeal
):
Promise
<
AxiosResponse
<
Appeal
>>
{
return
axios
.
post
(
'appeal/processingAppeal'
,
appeal
);
return
axios
.
post
(
'appeal/processingAppeal'
,
appeal
);
}
}
...
@@ -65,7 +65,7 @@ export class AppealController {
...
@@ -65,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 @
d92432b
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
{
ApproveHistory
}
from
"lib/src/entity/track/entity/ApproveHistory"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// endregion
// endregion
/**
/**
*/
*/
export
class
AppraiseController
{
export
class
AppraiseController
{
/**
/**
*/
*/
static
addAppraisePrice
(
axios
:
AxiosStatic
,
appraisePrice
:
AppraisePrice
):
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
:
ApproveHistory
):
Promise
<
AxiosResponse
<
AppraisePrice
>>
{
static
auditAppraisePrice
(
axios
:
AxiosStatic
,
appraisePrice
:
ApproveHistory
):
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
:
Pagination
<
AppraisePrice
>
):
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 @
d92432b
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
{
ApproveHistory
}
from
"lib/src/entity/track/entity/ApproveHistory"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
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
:
AuctionChange
):
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
:
AuctionVehicleChange
):
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
:
ApproveHistory
):
Promise
<
AxiosResponse
<
AuctionChange
>>
{
static
auditAuctionChange
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistory
):
Promise
<
AxiosResponse
<
AuctionChange
>>
{
return
axios
.
post
(
'auction/change/auditAuctionChange'
,
approveHistory
);
return
axios
.
post
(
'auction/change/auditAuctionChange'
,
approveHistory
);
}
}
/**
/**
*/
*/
static
auditAuctionVehicleChange
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistory
):
Promise
<
AxiosResponse
<
AuctionVehicleChange
>>
{
static
auditAuctionVehicleChange
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistory
):
Promise
<
AxiosResponse
<
AuctionVehicleChange
>>
{
return
axios
.
post
(
'auction/change/auditAuctionVehicleChange'
,
approveHistory
);
return
axios
.
post
(
'auction/change/auditAuctionVehicleChange'
,
approveHistory
);
}
}
/**
/**
*/
*/
static
pageAuctionChange
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
AuctionChange
>
):
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
);
}
}
...
@@ -50,7 +50,7 @@ export class AuctionChangeController {
...
@@ -50,7 +50,7 @@ export class AuctionChangeController {
/**
/**
*/
*/
static
pageAuctionVehicleChange
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
AuctionVehicleChange
>
):
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 @
d92432b
...
@@ -9,6 +9,7 @@ import {ApproveHistory} from "lib/src/entity/track/entity/ApproveHistory";
...
@@ -9,6 +9,7 @@ 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
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
import
{
PendingAuction
}
from
"lib/src/entity/auction/domain/PendingAuction"
;
import
{
PendingAuction
}
from
"lib/src/entity/auction/domain/PendingAuction"
;
import
{
AuctionVehicleAddon
}
from
"lib/src/entity/auction/domain/AuctionVehicleAddon"
;
// endregion
// endregion
...
@@ -29,6 +30,12 @@ export class AuctionController {
...
@@ -29,6 +30,12 @@ export class AuctionController {
/**
/**
*/
*/
static
addAuctionVehicles
(
axios
:
AxiosStatic
,
auctionVehicleAddon
:
AuctionVehicleAddon
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
post
(
'auction/addAuctionVehicles'
,
auctionVehicleAddon
);
}
/**
*/
static
auditAuction
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistory
):
Promise
<
AxiosResponse
<
ApproveHistory
>>
{
static
auditAuction
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistory
):
Promise
<
AxiosResponse
<
ApproveHistory
>>
{
return
axios
.
post
(
'auction/auditAuction'
,
approveHistory
);
return
axios
.
post
(
'auction/auditAuction'
,
approveHistory
);
}
}
...
...
aus-front/admin/src/api/AuctionOrderController.ts
View file @
d92432b
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
{
BidOrder
}
from
"lib/src/entity/auction/domain/BidOrder"
;
import
{
ApproveHistory
}
from
"lib/src/entity/track/entity/ApproveHistory"
;
import
{
ApproveHistory
}
from
"lib/src/entity/track/entity/ApproveHistory"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
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
:
BidOrder
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
static
addAuctionOrder
(
axios
:
AxiosStatic
,
bidOrder
:
BidOrder
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
return
axios
.
post
(
'auctionOrder/addAuctionOrder'
,
bidOrder
);
return
axios
.
post
(
'auctionOrder/addAuctionOrder'
,
bidOrder
);
}
}
...
@@ -30,7 +30,7 @@ export class AuctionOrderController {
...
@@ -30,7 +30,7 @@ export class AuctionOrderController {
* @return AuctionOrder
* @return AuctionOrder
* @throws FieldException
* @throws FieldException
*/
*/
static
auditTransferAuctionOrder
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistory
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
static
auditTransferAuctionOrder
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistory
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
return
axios
.
post
(
'auctionOrder/auditTransferAuctionOrder'
,
approveHistory
);
return
axios
.
post
(
'auctionOrder/auditTransferAuctionOrder'
,
approveHistory
);
}
}
...
@@ -39,13 +39,13 @@ export class AuctionOrderController {
...
@@ -39,13 +39,13 @@ export class AuctionOrderController {
* @param auctionOrder
* @param auctionOrder
* @return AuctionOrder
* @return AuctionOrder
*/
*/
static
cancelAuctionOrder
(
axios
:
AxiosStatic
,
auctionOrder
:
AuctionOrder
):
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
:
Pagination
<
AuctionOrder
>
,
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
);
}
}
...
@@ -54,37 +54,37 @@ export class AuctionOrderController {
...
@@ -54,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'
);
}
}
...
@@ -93,7 +93,7 @@ export class AuctionOrderController {
...
@@ -93,7 +93,7 @@ export class AuctionOrderController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageAuctionOrder
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
AuctionOrder
>
):
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
);
}
}
...
@@ -104,7 +104,7 @@ export class AuctionOrderController {
...
@@ -104,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 @
d92432b
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
BankAccount
}
from
"lib/src/entity/finance/entity/BankAccount"
;
import
{
BankAccount
}
from
"lib/src/entity/finance/entity/BankAccount"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
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
:
BankAccount
):
Promise
<
AxiosResponse
<
BankAccount
>>
{
static
addBankAccount
(
axios
:
AxiosStatic
,
bankAccount
:
BankAccount
):
Promise
<
AxiosResponse
<
BankAccount
>>
{
return
axios
.
post
(
'bankAccount/addBankAccount'
,
bankAccount
);
return
axios
.
post
(
'bankAccount/addBankAccount'
,
bankAccount
);
}
}
...
@@ -28,15 +27,15 @@ export class BankAccountController {
...
@@ -28,15 +27,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'
);
}
}
...
@@ -45,7 +44,7 @@ export class BankAccountController {
...
@@ -45,7 +44,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
}});
}
}
...
@@ -53,7 +52,7 @@ export class BankAccountController {
...
@@ -53,7 +52,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'
);
}
}
...
@@ -62,7 +61,7 @@ export class BankAccountController {
...
@@ -62,7 +61,7 @@ export class BankAccountController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageBankAccount
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
BankAccount
>
):
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
);
}
}
...
@@ -73,7 +72,7 @@ export class BankAccountController {
...
@@ -73,7 +72,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
}});
}
}
...
@@ -82,7 +81,7 @@ export class BankAccountController {
...
@@ -82,7 +81,7 @@ export class BankAccountController {
* @param bankAccount
* @param bankAccount
* @return BankAccount
* @return BankAccount
*/
*/
static
updateBankAccount
(
axios
:
AxiosStatic
,
bankAccount
:
BankAccount
):
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 @
d92432b
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"
;
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
)
{
if
(
date
instanceof
Object
)
{
date
=
dayjs
(
date
).
format
(
'YYYY-MM-DD'
)
}
date
=
dayjs
(
date
).
format
(
'YYYY-MM-DD'
)
}
return
axios
.
get
(
'bid/getBidAccountCountGroupByHour'
,
{
params
:
{
date
:
date
}});
return
axios
.
get
(
'bid/getBidAccountCountGroupByHour'
,
{
params
:
{
date
:
date
}});
}
}
...
@@ -36,7 +34,7 @@ export class BidController {
...
@@ -36,7 +34,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
}});
}
}
...
@@ -45,7 +43,7 @@ export class BidController {
...
@@ -45,7 +43,7 @@ export class BidController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageBid
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Bid
>
):
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
);
}
}
...
@@ -56,7 +54,7 @@ export class BidController {
...
@@ -56,7 +54,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/CarouselController.ts
View file @
d92432b
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"
;
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
:
Carousel
):
Promise
<
AxiosResponse
<
Carousel
>>
{
static
addCarousel
(
axios
:
AxiosStatic
,
carousel
:
Carousel
):
Promise
<
AxiosResponse
<
Carousel
>>
{
return
axios
.
post
(
'carousel/addCarousel'
,
carousel
);
return
axios
.
post
(
'carousel/addCarousel'
,
carousel
);
}
}
...
@@ -27,7 +27,7 @@ export class CarouselController {
...
@@ -27,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
}});
}
}
...
@@ -36,7 +36,7 @@ export class CarouselController {
...
@@ -36,7 +36,7 @@ export class CarouselController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageCarousel
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Carousel
>
):
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
);
}
}
...
@@ -47,7 +47,7 @@ export class CarouselController {
...
@@ -47,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
}});
}
}
...
@@ -56,7 +56,7 @@ export class CarouselController {
...
@@ -56,7 +56,7 @@ export class CarouselController {
* @param carousel
* @param carousel
* @return Carousel
* @return Carousel
*/
*/
static
updateCarousel
(
axios
:
AxiosStatic
,
carousel
:
Carousel
):
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 @
d92432b
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"
;
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
:
CommissionRule
):
Promise
<
AxiosResponse
<
CommissionRule
>>
{
static
addCommissionRule
(
axios
:
AxiosStatic
,
commissionRule
:
CommissionRule
):
Promise
<
AxiosResponse
<
CommissionRule
>>
{
return
axios
.
post
(
'commissionRule/addCommissionRule'
,
commissionRule
);
return
axios
.
post
(
'commissionRule/addCommissionRule'
,
commissionRule
);
}
}
...
@@ -27,15 +27,15 @@ export class CommissionRuleController {
...
@@ -27,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'
);
}
}
...
@@ -44,7 +44,7 @@ export class CommissionRuleController {
...
@@ -44,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
}});
}
}
...
@@ -52,7 +52,7 @@ export class CommissionRuleController {
...
@@ -52,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'
);
}
}
...
@@ -61,7 +61,7 @@ export class CommissionRuleController {
...
@@ -61,7 +61,7 @@ export class CommissionRuleController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageCommissionRule
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
CommissionRule
>
):
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
);
}
}
...
@@ -72,7 +72,7 @@ export class CommissionRuleController {
...
@@ -72,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
}});
}
}
...
@@ -81,7 +81,7 @@ export class CommissionRuleController {
...
@@ -81,7 +81,7 @@ export class CommissionRuleController {
* @param commissionRule
* @param commissionRule
* @return CommissionRule
* @return CommissionRule
*/
*/
static
updateCommissionRule
(
axios
:
AxiosStatic
,
commissionRule
:
CommissionRule
):
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/ContractController.ts
View file @
d92432b
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"
;
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
:
Contract
):
Promise
<
AxiosResponse
<
Contract
>>
{
static
addContract
(
axios
:
AxiosStatic
,
contract
:
Contract
):
Promise
<
AxiosResponse
<
Contract
>>
{
return
axios
.
post
(
'contract/addContract'
,
contract
);
return
axios
.
post
(
'contract/addContract'
,
contract
);
}
}
...
@@ -28,7 +28,7 @@ export class ContractController {
...
@@ -28,7 +28,7 @@ export class ContractController {
* @param contractTemplate
* @param contractTemplate
* @return ContractTemplate
* @return ContractTemplate
*/
*/
static
addContractTemplate
(
axios
:
AxiosStatic
,
contractTemplate
:
ContractTemplate
):
Promise
<
AxiosResponse
<
ContractTemplate
>>
{
static
addContractTemplate
(
axios
:
AxiosStatic
,
contractTemplate
:
ContractTemplate
):
Promise
<
AxiosResponse
<
ContractTemplate
>>
{
return
axios
.
post
(
'contract/addContractTemplate'
,
contractTemplate
);
return
axios
.
post
(
'contract/addContractTemplate'
,
contractTemplate
);
}
}
...
@@ -37,8 +37,8 @@ export class ContractController {
...
@@ -37,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
}});
}
}
/**
/**
...
@@ -46,7 +46,7 @@ export class ContractController {
...
@@ -46,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
}});
}
}
...
@@ -54,7 +54,7 @@ export class ContractController {
...
@@ -54,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
}});
}
}
...
@@ -63,13 +63,13 @@ export class ContractController {
...
@@ -63,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
}});
}
}
...
@@ -77,7 +77,7 @@ export class ContractController {
...
@@ -77,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'
);
}
}
...
@@ -86,7 +86,7 @@ export class ContractController {
...
@@ -86,7 +86,7 @@ export class ContractController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageContract
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Contract
>
):
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
);
}
}
...
@@ -97,7 +97,7 @@ export class ContractController {
...
@@ -97,7 +97,7 @@ export class ContractController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageContractTemplate
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
ContractTemplate
>
):
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
);
}
}
...
@@ -108,7 +108,7 @@ export class ContractController {
...
@@ -108,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
}});
}
}
...
@@ -117,7 +117,7 @@ export class ContractController {
...
@@ -117,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
}});
}
}
...
@@ -126,7 +126,7 @@ export class ContractController {
...
@@ -126,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
}});
}
}
...
@@ -135,7 +135,7 @@ export class ContractController {
...
@@ -135,7 +135,7 @@ export class ContractController {
* @param contractTemplate
* @param contractTemplate
* @return ContractTemplate
* @return ContractTemplate
*/
*/
static
updateContractTemplate
(
axios
:
AxiosStatic
,
contractTemplate
:
ContractTemplate
):
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 @
d92432b
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
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
{
DeliveryStatus
}
from
"lib/src/entity/auction/domain/DeliveryStatus"
;
import
{
DeliveryStatus
}
from
"lib/src/entity/auction/domain/DeliveryStatus"
;
// endregion
// endregion
/**
/**
*/
*/
export
class
DataSyncController
{
export
class
DataSyncController
{
/**
/**
*/
*/
static
pushCarData
(
axios
:
AxiosStatic
,
vehicle
:
Vehicle
):
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
:
DeliveryStatus
):
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 @
d92432b
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"
;
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
:
DeliveryOrder
):
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
:
DeliveryOrder
):
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
:
Pagination
<
DeliveryOrder
>
,
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
);
}
}
...
@@ -45,37 +45,37 @@ export class DeliveryOrderController {
...
@@ -45,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'
);
}
}
...
@@ -84,7 +84,7 @@ export class DeliveryOrderController {
...
@@ -84,7 +84,7 @@ export class DeliveryOrderController {
* @param deliveryOrder
* @param deliveryOrder
* @return DeliveryOrder
* @return DeliveryOrder
*/
*/
static
handleDeliveryOrder
(
axios
:
AxiosStatic
,
deliveryOrder
:
DeliveryOrder
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
static
handleDeliveryOrder
(
axios
:
AxiosStatic
,
deliveryOrder
:
DeliveryOrder
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
return
axios
.
post
(
'deliveryOrder/handleDeliveryOrder'
,
deliveryOrder
);
return
axios
.
post
(
'deliveryOrder/handleDeliveryOrder'
,
deliveryOrder
);
}
}
...
@@ -93,7 +93,7 @@ export class DeliveryOrderController {
...
@@ -93,7 +93,7 @@ export class DeliveryOrderController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageDeliveryOrder
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
DeliveryOrder
>
):
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
);
}
}
...
@@ -104,7 +104,7 @@ export class DeliveryOrderController {
...
@@ -104,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 @
d92432b
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"
;
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
:
DepositRule
):
Promise
<
AxiosResponse
<
DepositRule
>>
{
static
addDepositRule
(
axios
:
AxiosStatic
,
depositRule
:
DepositRule
):
Promise
<
AxiosResponse
<
DepositRule
>>
{
return
axios
.
post
(
'depositRule/addDepositRule'
,
depositRule
);
return
axios
.
post
(
'depositRule/addDepositRule'
,
depositRule
);
}
}
...
@@ -29,19 +29,19 @@ export class DepositController {
...
@@ -29,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
:
Pagination
<
Deposit
>
,
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
:
Pagination
<
Deposit
>
,
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
);
}
}
...
@@ -49,19 +49,19 @@ export class DepositController {
...
@@ -49,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
}});
}
}
...
@@ -70,13 +70,13 @@ export class DepositController {
...
@@ -70,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'
);
}
}
...
@@ -84,19 +84,19 @@ export class DepositController {
...
@@ -84,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
:
Pagination
<
Deposit
>
):
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
);
}
}
...
@@ -104,7 +104,7 @@ export class DepositController {
...
@@ -104,7 +104,7 @@ export class DepositController {
/**
/**
*/
*/
static
pageDepositFetchOrder
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Deposit
>
):
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
);
}
}
...
@@ -115,7 +115,7 @@ export class DepositController {
...
@@ -115,7 +115,7 @@ export class DepositController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageDepositRule
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
DepositRule
>
):
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
);
}
}
...
@@ -126,7 +126,7 @@ export class DepositController {
...
@@ -126,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
}});
}
}
...
@@ -135,7 +135,7 @@ export class DepositController {
...
@@ -135,7 +135,7 @@ export class DepositController {
* @param depositRule
* @param depositRule
* @return DepositRule
* @return DepositRule
*/
*/
static
updateDepositRule
(
axios
:
AxiosStatic
,
depositRule
:
DepositRule
):
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 @
d92432b
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
Dictionary
}
from
"lib/src/core/dictionary/Dictionary"
;
import
{
Dictionary
}
from
"lib/src/core/dictionary/Dictionary"
;
import
{
Diction
}
from
"lib/src/core/dictionary/Diction"
;
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
:
Dictionary
):
Promise
<
AxiosResponse
<
Dictionary
>>
{
static
addDictionary
(
axios
:
AxiosStatic
,
dictionary
:
Dictionary
):
Promise
<
AxiosResponse
<
Dictionary
>>
{
return
axios
.
post
(
'dictionary/addDictionary'
,
dictionary
);
return
axios
.
post
(
'dictionary/addDictionary'
,
dictionary
);
}
}
...
@@ -28,8 +27,8 @@ export class DictionaryController {
...
@@ -28,8 +27,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
}});
}
}
/**
/**
...
@@ -37,7 +36,7 @@ export class DictionaryController {
...
@@ -37,7 +36,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
}});
}
}
...
@@ -46,7 +45,7 @@ export class DictionaryController {
...
@@ -46,7 +45,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
}});
}
}
...
@@ -55,13 +54,13 @@ export class DictionaryController {
...
@@ -55,13 +54,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
}});
}
}
...
@@ -70,7 +69,7 @@ export class DictionaryController {
...
@@ -70,7 +69,7 @@ export class DictionaryController {
* @param dictionary
* @param dictionary
* @return Dictionary
* @return Dictionary
*/
*/
static
updateDictionary
(
axios
:
AxiosStatic
,
dictionary
:
Dictionary
):
Promise
<
AxiosResponse
<
Dictionary
>>
{
static
updateDictionary
(
axios
:
AxiosStatic
,
dictionary
:
Dictionary
):
Promise
<
AxiosResponse
<
Dictionary
>>
{
return
axios
.
post
(
'dictionary/updateDictionary'
,
dictionary
);
return
axios
.
post
(
'dictionary/updateDictionary'
,
dictionary
);
}
}
...
...
aus-front/admin/src/api/FavoriteController.ts
View file @
d92432b
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"
;
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
:
Favorite
):
Promise
<
AxiosResponse
<
Favorite
>>
{
static
addFavorite
(
axios
:
AxiosStatic
,
favorite
:
Favorite
):
Promise
<
AxiosResponse
<
Favorite
>>
{
return
axios
.
post
(
'favorite/addFavorite'
,
favorite
);
return
axios
.
post
(
'favorite/addFavorite'
,
favorite
);
}
}
...
@@ -27,7 +27,7 @@ export class FavoriteController {
...
@@ -27,7 +27,7 @@ export class FavoriteController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageFavorite
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Favorite
>
):
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
);
}
}
...
@@ -38,8 +38,8 @@ export class FavoriteController {
...
@@ -38,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 @
d92432b
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"
;
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
:
NoticeTemplate
):
Promise
<
AxiosResponse
<
NoticeTemplate
>>
{
static
addNoticeTemplate
(
axios
:
AxiosStatic
,
noticeTemplate
:
NoticeTemplate
):
Promise
<
AxiosResponse
<
NoticeTemplate
>>
{
return
axios
.
post
(
'notice/addNoticeTemplate'
,
noticeTemplate
);
return
axios
.
post
(
'notice/addNoticeTemplate'
,
noticeTemplate
);
}
}
...
@@ -28,8 +28,8 @@ export class NoticeController {
...
@@ -28,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
}});
}
}
/**
/**
...
@@ -37,19 +37,19 @@ export class NoticeController {
...
@@ -37,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
:
Pagination
<
NoticeMessage
>
):
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
);
}
}
...
@@ -60,7 +60,7 @@ export class NoticeController {
...
@@ -60,7 +60,7 @@ export class NoticeController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageNoticeTemplate
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
NoticeTemplate
>
):
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
);
}
}
...
@@ -71,7 +71,7 @@ export class NoticeController {
...
@@ -71,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
}});
}
}
...
@@ -80,7 +80,7 @@ export class NoticeController {
...
@@ -80,7 +80,7 @@ export class NoticeController {
* @param noticeTemplate
* @param noticeTemplate
* @return NoticeTemplate
* @return NoticeTemplate
*/
*/
static
updateNoticeTemplate
(
axios
:
AxiosStatic
,
noticeTemplate
:
NoticeTemplate
):
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 @
d92432b
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"
;
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
:
PriceRule
):
Promise
<
AxiosResponse
<
PriceRule
>>
{
static
addPriceRule
(
axios
:
AxiosStatic
,
priceRule
:
PriceRule
):
Promise
<
AxiosResponse
<
PriceRule
>>
{
return
axios
.
post
(
'priceRule/addPriceRule'
,
priceRule
);
return
axios
.
post
(
'priceRule/addPriceRule'
,
priceRule
);
}
}
...
@@ -27,13 +27,13 @@ export class PriceRuleController {
...
@@ -27,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
}});
}
}
...
@@ -42,7 +42,7 @@ export class PriceRuleController {
...
@@ -42,7 +42,7 @@ export class PriceRuleController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pagePriceRule
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
PriceRule
>
):
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
);
}
}
...
@@ -53,7 +53,7 @@ export class PriceRuleController {
...
@@ -53,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
}});
}
}
...
@@ -62,7 +62,7 @@ export class PriceRuleController {
...
@@ -62,7 +62,7 @@ export class PriceRuleController {
* @param priceRule
* @param priceRule
* @return PriceRule
* @return PriceRule
*/
*/
static
updatePriceRule
(
axios
:
AxiosStatic
,
priceRule
:
PriceRule
):
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 @
d92432b
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
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
import
{
Refund
}
from
"lib/src/entity/finance/entity/Refund"
;
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
:
Pagination
<
Recharge
>
):
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 @
d92432b
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"
;
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
:
ReleaseOrder
):
Promise
<
AxiosResponse
<
ReleaseOrder
>>
{
static
addReleaseOrder
(
axios
:
AxiosStatic
,
releaseOrder
:
ReleaseOrder
):
Promise
<
AxiosResponse
<
ReleaseOrder
>>
{
return
axios
.
post
(
'order/addReleaseOrder'
,
releaseOrder
);
return
axios
.
post
(
'order/addReleaseOrder'
,
releaseOrder
);
}
}
...
@@ -27,7 +27,7 @@ export class ReleaseOrderController {
...
@@ -27,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
}});
}
}
...
@@ -36,7 +36,7 @@ export class ReleaseOrderController {
...
@@ -36,7 +36,7 @@ export class ReleaseOrderController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageReleaseOrder
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
ReleaseOrder
>
):
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
);
}
}
...
@@ -47,7 +47,7 @@ export class ReleaseOrderController {
...
@@ -47,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
}});
}
}
...
@@ -56,7 +56,7 @@ export class ReleaseOrderController {
...
@@ -56,7 +56,7 @@ export class ReleaseOrderController {
* @param releaseOrder
* @param releaseOrder
* @return ReleaseOrder
* @return ReleaseOrder
*/
*/
static
updateReleaseOrder
(
axios
:
AxiosStatic
,
releaseOrder
:
ReleaseOrder
):
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 @
d92432b
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"
;
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
:
Outbound
):
Promise
<
AxiosResponse
<
Outbound
>>
{
static
addOutbound
(
axios
:
AxiosStatic
,
outbound
:
Outbound
):
Promise
<
AxiosResponse
<
Outbound
>>
{
return
axios
.
post
(
'outbound/addOutbound'
,
outbound
);
return
axios
.
post
(
'outbound/addOutbound'
,
outbound
);
}
}
...
@@ -28,7 +28,7 @@ export class RelocationController {
...
@@ -28,7 +28,7 @@ export class RelocationController {
* @param warehousing
* @param warehousing
* @return Warehousing
* @return Warehousing
*/
*/
static
addWarehousing
(
axios
:
AxiosStatic
,
warehousing
:
Warehousing
):
Promise
<
AxiosResponse
<
Warehousing
>>
{
static
addWarehousing
(
axios
:
AxiosStatic
,
warehousing
:
Warehousing
):
Promise
<
AxiosResponse
<
Warehousing
>>
{
return
axios
.
post
(
'outbound/addWarehousing'
,
warehousing
);
return
axios
.
post
(
'outbound/addWarehousing'
,
warehousing
);
}
}
...
@@ -37,7 +37,7 @@ export class RelocationController {
...
@@ -37,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
}});
}
}
...
@@ -46,7 +46,7 @@ export class RelocationController {
...
@@ -46,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
}});
}
}
...
@@ -55,7 +55,7 @@ export class RelocationController {
...
@@ -55,7 +55,7 @@ export class RelocationController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageOutbound
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Outbound
>
):
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
);
}
}
...
@@ -66,7 +66,7 @@ export class RelocationController {
...
@@ -66,7 +66,7 @@ export class RelocationController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageWarehousing
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Warehousing
>
):
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
);
}
}
...
@@ -77,7 +77,7 @@ export class RelocationController {
...
@@ -77,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
}});
}
}
...
@@ -86,7 +86,7 @@ export class RelocationController {
...
@@ -86,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
}});
}
}
...
@@ -95,7 +95,7 @@ export class RelocationController {
...
@@ -95,7 +95,7 @@ export class RelocationController {
* @param outbound
* @param outbound
* @return Outbound
* @return Outbound
*/
*/
static
updateOutbound
(
axios
:
AxiosStatic
,
outbound
:
Outbound
):
Promise
<
AxiosResponse
<
Outbound
>>
{
static
updateOutbound
(
axios
:
AxiosStatic
,
outbound
:
Outbound
):
Promise
<
AxiosResponse
<
Outbound
>>
{
return
axios
.
post
(
'outbound/updateOutbound'
,
outbound
);
return
axios
.
post
(
'outbound/updateOutbound'
,
outbound
);
}
}
...
@@ -104,7 +104,7 @@ export class RelocationController {
...
@@ -104,7 +104,7 @@ export class RelocationController {
* @param warehousing
* @param warehousing
* @return Warehousing
* @return Warehousing
*/
*/
static
updateWarehousing
(
axios
:
AxiosStatic
,
warehousing
:
Warehousing
):
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 @
d92432b
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
}});
}
}
/**
/**
...
@@ -21,7 +20,7 @@ export class StorageController {
...
@@ -21,7 +20,7 @@ export class StorageController {
* @param vehicle
* @param vehicle
* @return int
* @return int
*/
*/
static
updateVehicleAlbums
(
axios
:
AxiosStatic
,
vehicle
:
Vehicle
):
Promise
<
AxiosResponse
<
number
>>
{
static
updateVehicleAlbums
(
axios
:
AxiosStatic
,
vehicle
:
Vehicle
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
post
(
'upload/updateVehicleAlbums'
,
vehicle
);
return
axios
.
post
(
'upload/updateVehicleAlbums'
,
vehicle
);
}
}
...
@@ -32,14 +31,14 @@ export class StorageController {
...
@@ -32,14 +31,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 @
d92432b
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"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// endregion
// endregion
/**
/**
*/
*/
export
class
TrackController
{
export
class
TrackController
{
/**
/**
*/
*/
static
pageVehicleBrowserHistory
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
VehicleBrowserHistory
>
):
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 @
d92432b
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"
;
...
@@ -9,14 +10,13 @@ import {OrderTransactionAmountStat} from "lib/src/entity/finance/domain/OrderTra
...
@@ -9,14 +10,13 @@ import {OrderTransactionAmountStat} from "lib/src/entity/finance/domain/OrderTra
import
{
ApproveHistory
}
from
"lib/src/entity/track/entity/ApproveHistory"
;
import
{
ApproveHistory
}
from
"lib/src/entity/track/entity/ApproveHistory"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
import
{
Refund
}
from
"lib/src/entity/finance/entity/Refund"
;
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
{
/**
/**
* 审核到帐
* 审核到帐
...
@@ -24,31 +24,31 @@ export class TransactionController {
...
@@ -24,31 +24,31 @@ export class TransactionController {
* @return OrderTransaction
* @return OrderTransaction
* @throws FieldException
* @throws FieldException
*/
*/
static
auditOrderTransaction
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistory
):
Promise
<
AxiosResponse
<
OrderTransaction
>>
{
static
auditOrderTransaction
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistory
):
Promise
<
AxiosResponse
<
OrderTransaction
>>
{
return
axios
.
post
(
'transaction/auditOrderTransaction'
,
approveHistory
);
return
axios
.
post
(
'transaction/auditOrderTransaction'
,
approveHistory
);
}
}
/**
/**
*/
*/
static
exportOrderTransaction
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
OrderTransaction
>
,
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
:
Pagination
<
OrderTransaction
>
,
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'
);
}
}
...
@@ -57,31 +57,31 @@ export class TransactionController {
...
@@ -57,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
}});
}
}
...
@@ -90,7 +90,7 @@ export class TransactionController {
...
@@ -90,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
}});
}
}
...
@@ -99,7 +99,7 @@ export class TransactionController {
...
@@ -99,7 +99,7 @@ export class TransactionController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageOrderTransaction
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
OrderTransaction
>
):
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
);
}
}
...
@@ -110,7 +110,7 @@ export class TransactionController {
...
@@ -110,7 +110,7 @@ export class TransactionController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageTransaction
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Transaction
>
):
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
);
}
}
...
@@ -121,13 +121,13 @@ export class TransactionController {
...
@@ -121,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
:
OrderTransaction
):
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 @
d92432b
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"
;
...
@@ -8,33 +9,32 @@ import {NameCount} from "lib/src/entity/analysis/domain/NameCount";
...
@@ -8,33 +9,32 @@ 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
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
import
{
VehicleVenue
}
from
"lib/src/entity/vehicle/domain/VehicleVenue"
;
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
:
Vehicle
):
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
:
number
[],
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
:
Pagination
<
Vehicle
>
,
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
);
}
}
...
@@ -44,13 +44,13 @@ export class VehicleController {
...
@@ -44,13 +44,13 @@ export class VehicleController {
* @param response
* @param response
* @throws IOException
* @throws IOException
*/
*/
static
exportVehicles
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Vehicle
>
,
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'
);
}
}
...
@@ -58,7 +58,7 @@ export class VehicleController {
...
@@ -58,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'
);
}
}
...
@@ -67,62 +67,58 @@ export class VehicleController {
...
@@ -67,62 +67,58 @@ 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
)
{
if
(
startDate
instanceof
Object
)
{
startDate
=
dayjs
(
startDate
).
format
(
'YYYY-MM-DD'
)
}
startDate
=
dayjs
(
startDate
).
format
(
'YYYY-MM-DD'
)
if
(
endDate
instanceof
Object
)
{
endDate
=
dayjs
(
endDate
).
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
:
Pagination
<
Vehicle
>
):
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
);
}
}
...
@@ -133,7 +129,7 @@ export class VehicleController {
...
@@ -133,7 +129,7 @@ export class VehicleController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageVehicle
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Vehicle
>
):
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
);
}
}
...
@@ -144,7 +140,7 @@ export class VehicleController {
...
@@ -144,7 +140,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
}});
}
}
...
@@ -153,7 +149,7 @@ export class VehicleController {
...
@@ -153,7 +149,7 @@ export class VehicleController {
* @param vehicle
* @param vehicle
* @return Vehicle
* @return Vehicle
*/
*/
static
updateVehicle
(
axios
:
AxiosStatic
,
vehicle
:
Vehicle
):
Promise
<
AxiosResponse
<
Vehicle
>>
{
static
updateVehicle
(
axios
:
AxiosStatic
,
vehicle
:
Vehicle
):
Promise
<
AxiosResponse
<
Vehicle
>>
{
return
axios
.
post
(
'vehicle/updateVehicle'
,
vehicle
);
return
axios
.
post
(
'vehicle/updateVehicle'
,
vehicle
);
}
}
...
@@ -162,14 +158,14 @@ export class VehicleController {
...
@@ -162,14 +158,14 @@ export class VehicleController {
* @param vehicleVenue
* @param vehicleVenue
* @return Vehicle
* @return Vehicle
*/
*/
static
updateVehicleVenue
(
axios
:
AxiosStatic
,
vehicleVenue
:
VehicleVenue
):
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
:
FileInfo
,
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
}});
}
}
...
@@ -178,7 +174,7 @@ export class VehicleController {
...
@@ -178,7 +174,7 @@ export class VehicleController {
* @param vehicle
* @param vehicle
* @return Vehicle
* @return Vehicle
*/
*/
static
warehousingVehicle
(
axios
:
AxiosStatic
,
vehicle
:
Vehicle
):
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 @
d92432b
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,21 +10,20 @@ import {CascaderOption} from "lib/src/domain/CascaderOption";
...
@@ -9,21 +10,20 @@ 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"
;
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
:
Area
):
Promise
<
AxiosResponse
<
Area
>>
{
static
addArea
(
axios
:
AxiosStatic
,
area
:
Area
):
Promise
<
AxiosResponse
<
Area
>>
{
return
axios
.
post
(
'venue/addArea'
,
area
);
return
axios
.
post
(
'venue/addArea'
,
area
);
}
}
...
@@ -32,7 +32,7 @@ export class VenueController {
...
@@ -32,7 +32,7 @@ export class VenueController {
* @param parkingSpace
* @param parkingSpace
* @return ParkingSpace
* @return ParkingSpace
*/
*/
static
addParkingSpace
(
axios
:
AxiosStatic
,
parkingSpace
:
ParkingSpace
):
Promise
<
AxiosResponse
<
ParkingSpace
>>
{
static
addParkingSpace
(
axios
:
AxiosStatic
,
parkingSpace
:
ParkingSpace
):
Promise
<
AxiosResponse
<
ParkingSpace
>>
{
return
axios
.
post
(
'venue/addParkingSpace'
,
parkingSpace
);
return
axios
.
post
(
'venue/addParkingSpace'
,
parkingSpace
);
}
}
...
@@ -41,13 +41,13 @@ export class VenueController {
...
@@ -41,13 +41,13 @@ export class VenueController {
* @param venue
* @param venue
* @return Venue
* @return Venue
*/
*/
static
addVenue
(
axios
:
AxiosStatic
,
venue
:
Venue
):
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
:
User
[],
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
}});
}
}
...
@@ -56,8 +56,8 @@ export class VenueController {
...
@@ -56,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
}});
}
}
/**
/**
...
@@ -65,7 +65,7 @@ export class VenueController {
...
@@ -65,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
}});
}
}
...
@@ -73,25 +73,25 @@ export class VenueController {
...
@@ -73,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
}});
}
}
...
@@ -100,13 +100,13 @@ export class VenueController {
...
@@ -100,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
}});
}
}
...
@@ -115,13 +115,13 @@ export class VenueController {
...
@@ -115,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
}});
}
}
...
@@ -129,7 +129,7 @@ export class VenueController {
...
@@ -129,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
}});
}
}
...
@@ -137,7 +137,7 @@ export class VenueController {
...
@@ -137,7 +137,7 @@ export class VenueController {
* 分页查询区域
* 分页查询区域
* @param pagination
* @param pagination
*/
*/
static
pageArea
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Area
>
):
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
);
}
}
...
@@ -148,7 +148,7 @@ export class VenueController {
...
@@ -148,7 +148,7 @@ export class VenueController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageParkingSpace
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
ParkingSpace
>
):
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
);
}
}
...
@@ -159,7 +159,7 @@ export class VenueController {
...
@@ -159,7 +159,7 @@ export class VenueController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageVenue
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Venue
>
):
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
);
}
}
...
@@ -167,7 +167,7 @@ export class VenueController {
...
@@ -167,7 +167,7 @@ export class VenueController {
/**
/**
*/
*/
static
pageVenueUser
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
User
>
):
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
);
}
}
...
@@ -178,7 +178,7 @@ export class VenueController {
...
@@ -178,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
}});
}
}
...
@@ -187,8 +187,8 @@ export class VenueController {
...
@@ -187,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
}});
}
}
/**
/**
...
@@ -196,7 +196,7 @@ export class VenueController {
...
@@ -196,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
}});
}
}
...
@@ -205,7 +205,7 @@ export class VenueController {
...
@@ -205,7 +205,7 @@ export class VenueController {
* @param area
* @param area
* @return Area
* @return Area
*/
*/
static
updateArea
(
axios
:
AxiosStatic
,
area
:
Area
):
Promise
<
AxiosResponse
<
Area
>>
{
static
updateArea
(
axios
:
AxiosStatic
,
area
:
Area
):
Promise
<
AxiosResponse
<
Area
>>
{
return
axios
.
post
(
'venue/updateArea'
,
area
);
return
axios
.
post
(
'venue/updateArea'
,
area
);
}
}
...
@@ -214,7 +214,7 @@ export class VenueController {
...
@@ -214,7 +214,7 @@ export class VenueController {
* @param parkingSpace
* @param parkingSpace
* @return ParkingSpace
* @return ParkingSpace
*/
*/
static
updateParkingSpace
(
axios
:
AxiosStatic
,
parkingSpace
:
ParkingSpace
):
Promise
<
AxiosResponse
<
ParkingSpace
>>
{
static
updateParkingSpace
(
axios
:
AxiosStatic
,
parkingSpace
:
ParkingSpace
):
Promise
<
AxiosResponse
<
ParkingSpace
>>
{
return
axios
.
post
(
'venue/updateParkingSpace'
,
parkingSpace
);
return
axios
.
post
(
'venue/updateParkingSpace'
,
parkingSpace
);
}
}
...
@@ -223,7 +223,7 @@ export class VenueController {
...
@@ -223,7 +223,7 @@ export class VenueController {
* @param venue
* @param venue
* @return Venue
* @return Venue
*/
*/
static
updateVenue
(
axios
:
AxiosStatic
,
venue
:
Venue
):
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 @
d92432b
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
{
ApproveHistory
}
from
"lib/src/entity/track/entity/ApproveHistory"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
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
:
ApproveHistory
):
Promise
<
AxiosResponse
<
Withdraw
>>
{
static
auditWithdraw
(
axios
:
AxiosStatic
,
approveHistory
:
ApproveHistory
):
Promise
<
AxiosResponse
<
Withdraw
>>
{
return
axios
.
post
(
'withdraw/auditWithdraw'
,
approveHistory
);
return
axios
.
post
(
'withdraw/auditWithdraw'
,
approveHistory
);
}
}
/**
/**
*/
*/
static
exportWithdraw
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Withdraw
>
,
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
);
}
}
...
@@ -34,19 +34,19 @@ export class WithdrawController {
...
@@ -34,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
}});
}
}
...
@@ -55,7 +55,7 @@ export class WithdrawController {
...
@@ -55,7 +55,7 @@ export class WithdrawController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageWithdraw
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Withdraw
>
):
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
);
}
}
...
@@ -66,7 +66,7 @@ export class WithdrawController {
...
@@ -66,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
}});
}
}
...
...
aus-front/admin/src/views/auction/approve/AuctionAuditPage.vue
View file @
d92432b
...
@@ -13,6 +13,11 @@
...
@@ -13,6 +13,11 @@
<
template
v-if=
"column.key === 'cover'"
>
<
template
v-if=
"column.key === 'cover'"
>
<a-image
v-if=
"record.vehicle.cover"
:src=
"record.vehicle.cover?.url"
:width=
"60"
:height=
"60"
style=
"border-radius: 4px;object-fit: cover"
></a-image>
<a-image
v-if=
"record.vehicle.cover"
:src=
"record.vehicle.cover?.url"
:width=
"60"
:height=
"60"
style=
"border-radius: 4px;object-fit: cover"
></a-image>
</
template
>
</
template
>
<
template
v-if=
"column.key === 'carTypeName'"
>
<a
target=
"_blank"
:href=
"`../vehicle/view?vehicleId=$
{record.vehicle.vehicleId}`">
{{
record
.
vehicle
.
baseInfo
.
carSerialNam
}}
{{
record
.
vehicle
.
baseInfo
.
carTypeName
}}
</a>
</
template
>
<
template
v-if=
"column.key === 'action'"
>
<
template
v-if=
"column.key === 'action'"
>
<a-button
type=
"text"
v-if=
"record.auditState==='UNAUDITED'"
size=
"small"
@
click=
"auditAuction(record)"
>
审核
</a-button>
<a-button
type=
"text"
v-if=
"record.auditState==='UNAUDITED'"
size=
"small"
@
click=
"auditAuction(record)"
>
审核
</a-button>
</
template
>
</
template
>
...
@@ -20,7 +25,7 @@
...
@@ -20,7 +25,7 @@
<!--拍卖车辆列表end-->
<!--拍卖车辆列表end-->
</a-table>
</a-table>
<a-divider>
审核历史
</a-divider>
<a-divider>
审核历史
</a-divider>
<approve-history-timeline
approve-type=
"AUCTION"
:approve-id=
"auctionId"
:create-time=
"auction?.createTime"
:starter=
"auction?.createBy"
></approve-history-timeline>
<approve-history-timeline
approve-type=
"AUCTION"
:approve-id=
"auctionId"
:create-time=
"auction?.createTime
as string
"
:starter=
"auction?.createBy"
></approve-history-timeline>
<a-spin
:spinning=
"submitted"
v-if=
"auction?.auditState==='UNAUDITED'"
>
<a-spin
:spinning=
"submitted"
v-if=
"auction?.auditState==='UNAUDITED'"
>
<a-form
v-if=
"formState"
:model=
"formState"
:label-col=
"labelCol"
:wrapper-col=
"wrapperCol"
ref=
"formRef"
>
<a-form
v-if=
"formState"
:model=
"formState"
:label-col=
"labelCol"
:wrapper-col=
"wrapperCol"
ref=
"formRef"
>
<a-divider>
审批操作
</a-divider>
<a-divider>
审批操作
</a-divider>
...
@@ -70,6 +75,18 @@ export default class AuctionAuditPage extends EnhanceFormComponent<ApproveHistor
...
@@ -70,6 +75,18 @@ export default class AuctionAuditPage extends EnhanceFormComponent<ApproveHistor
*/
*/
columns
:
TableColumnsType
=
[
columns
:
TableColumnsType
=
[
vehicleRefCommonColumns
,
vehicleRefCommonColumns
,
{
title
:
'预展时间'
,
children
:
[
{
title
:
'开始时间'
,
dataIndex
:
'previewStartTime'
,
key
:
'previewStartTime'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
{
title
:
'结束时间'
,
dataIndex
:
'auctionStartTime'
,
key
:
'auctionStartTime'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
]
},
{
title
:
'拍卖时间'
,
children
:
[
{
title
:
'开始时间'
,
dataIndex
:
'auctionStartTime'
,
key
:
'auctionStartTime'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
{
title
:
'结束时间'
,
dataIndex
:
'auctionEndTime'
,
key
:
'auctionEndTime'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
]
},
// {title: '审核状态', dataIndex: 'auditState', key: 'auditState', align: 'center', width: 100, resizable: true, ellipsis: true, sorter: true},
// {title: '审核状态', dataIndex: 'auditState', key: 'auditState', align: 'center', width: 100, resizable: true, ellipsis: true, sorter: true},
// {title: '操作', key: 'action', width: 90, align: 'center', fixed: 'right'},
// {title: '操作', key: 'action', width: 90, align: 'center', fixed: 'right'},
];
];
...
...
aus-front/admin/src/views/auction/auction/AuctionBaseInfo.vue
View file @
d92432b
<
template
>
<
template
>
<a-page-header
class=
"color-page-header"
title=
"拍卖信息"
v-if=
"auction"
>
<a-page-header
class=
"color-page-header"
title=
"拍卖信息"
v-if=
"auction"
>
<template
#
extra
>
<template
#
extra
>
<a-button
v-sec=
"'control_2'"
v-if=
"controllable"
type=
"primary"
@
click=
"addVehicle"
>
添加车辆
</a-button>
<a-button
v-sec=
"'control_2'"
v-if=
"controllable"
type=
"primary"
@
click=
"delayAuction"
>
<a-button
v-sec=
"'control_2'"
v-if=
"controllable"
type=
"primary"
@
click=
"delayAuction"
>
<template
#
icon
>
<template
#
icon
>
<ClockCircleOutlined
class=
"mr-5"
/>
<ClockCircleOutlined
class=
"mr-5"
/>
...
@@ -68,15 +71,23 @@
...
@@ -68,15 +71,23 @@
</template>
</template>
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
{
Component
,
Prop
,
Vue
}
from
'vue-facing-decorator'
;
import
{
Component
,
Emit
,
Prop
,
Vue
}
from
'vue-facing-decorator'
;
import
{
Auction
}
from
"lib/src/entity/auction/entity/Auction"
;
import
{
Auction
}
from
"lib/src/entity/auction/entity/Auction"
;
import
AuctionStateTag
from
"@/views/auction/auction/tag/AuctionStateTag.vue"
;
import
AuctionStateTag
from
"@/views/auction/auction/tag/AuctionStateTag.vue"
;
import
VehicleStateTag
from
"@/views/vehicle/inventory/VehicleStateTag.vue"
;
import
VehicleStateTag
from
"@/views/vehicle/inventory/VehicleStateTag.vue"
;
import
{
ModalService
}
from
"@/components/ModalService"
;
import
{
ModalService
}
from
"@/components/ModalService"
;
import
AuctionChangeCancel
from
"@/views/auction/control/change/AuctionChangeCancel.vue"
;
import
AuctionChangeCancel
from
"@/views/auction/control/change/AuctionChangeCancel.vue"
;
import
AuctionChangeDelay
from
"@/views/auction/control/change/AuctionChangeDelay.vue"
;
import
AuctionChangeDelay
from
"@/views/auction/control/change/AuctionChangeDelay.vue"
;
import
{
ClockCircleOutlined
,
StopOutlined
,
UserOutlined
}
from
"@ant-design/icons-vue"
;
import
{
ClockCircleOutlined
,
ExclamationCircleOutlined
,
StopOutlined
,
UserOutlined
}
from
"@ant-design/icons-vue"
;
import
ForbidAccountTable
from
"@/views/auction/control/ForbidAccountTable.vue"
;
import
ForbidAccountTable
from
"@/views/auction/control/ForbidAccountTable.vue"
;
import
VehiclePicker
from
"@/views/vehicle/auction/VehiclePicker.vue"
;
import
{
Vehicle
}
from
"lib/src/entity/vehicle/entity/Vehicle"
;
import
{
AuctionVehicle
}
from
"lib/src/entity/auction/entity/AuctionVehicle"
;
import
{
AuctionController
}
from
"@/api/AuctionController"
;
import
{
AuctionVehicleAddon
}
from
"lib/src/entity/auction/domain/AuctionVehicleAddon"
;
import
{
message
,
Modal
}
from
"ant-design-vue"
;
import
{
createVNode
}
from
"vue"
;
import
{
AuctionOrderController
}
from
"@/api/AuctionOrderController"
;
@
Component
({
@
Component
({
components
:
{
VehicleStateTag
,
AuctionStateTag
,
ClockCircleOutlined
,
UserOutlined
,
StopOutlined
}
components
:
{
VehicleStateTag
,
AuctionStateTag
,
ClockCircleOutlined
,
UserOutlined
,
StopOutlined
}
...
@@ -151,6 +162,51 @@ export default class AuctionBaseInfo extends Vue {
...
@@ -151,6 +162,51 @@ export default class AuctionBaseInfo extends Vue {
},
},
});
});
}
}
addVehicle
():
void
{
const
modal
=
ModalService
.
confirm
({
title
:
'选择待上拍车辆'
,
component
:
VehiclePicker
,
closable
:
true
,
appContext
:
this
.
$
.
appContext
,
width
:
1380
,
props
:
{
selectType
:
'checkbox'
,
vehicleState
:
'PRICED'
,
},
onOk
:
(
component
):
void
=>
{
component
.
selectVehicle
();
},
emits
:
{
handleOk
:
(
vehicles
:
Vehicle
[])
=>
{
if
(
vehicles
&&
vehicles
.
length
>
0
)
{
Modal
.
confirm
({
title
:
'确认'
,
icon
:
createVNode
(
ExclamationCircleOutlined
),
content
:
'你确认添加选中的车辆到此拍场吗?'
,
okText
:
'确认'
,
cancelText
:
'取消'
,
onOk
:
()
=>
{
const
addon
=
new
AuctionVehicleAddon
();
addon
.
auctionId
=
this
.
auction
.
auctionId
;
addon
.
vehicleIds
=
vehicles
.
map
(
v
=>
v
.
vehicleId
);
AuctionController
.
addAuctionVehicles
(
this
.
axios
,
addon
).
then
(
res
=>
{
modal
.
destroy
();
this
.
addVehicles
(
addon
.
vehicleIds
);
message
.
success
(
'添加成功'
);
});
},
onCancel
:
()
=>
{
console
.
log
(
'Cancel'
);
},
});
}
else
{
modal
.
destroy
();
}
}
},
});
}
@
Emit
(
'addVehicles'
)
addVehicles
(
vehicleIds
:
number
[]):
void
{
}
}
}
</
script
>
</
script
>
...
...
aus-front/admin/src/views/auction/control/ControlAuction.vue
View file @
d92432b
<
template
>
<
template
>
<auction-base-info
:auction=
"auction"
:controllable=
"controllable"
></auction-base-info>
<auction-base-info
:auction=
"auction"
:controllable=
"controllable"
@
add-vehicles=
"reloadAuction"
></auction-base-info>
<a-card
:bordered=
"false"
size=
"small"
class=
"mt-10"
>
<a-card
:bordered=
"false"
size=
"small"
class=
"mt-10"
>
<template
#
title
>
<template
#
title
>
拍卖实时统计
拍卖实时统计
...
...
aus-front/app/src/api/AccountController.ts
View file @
d92432b
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"
;
import
{
AccountProfile
}
from
"lib/src/entity/account/domain/AccountProfile"
;
import
{
AccountProfile
}
from
"lib/src/entity/account/domain/AccountProfile"
;
import
{
AccountInfo
}
from
"lib/src/entity/account/domain/AccountInfo"
;
import
{
AccountInfo
}
from
"lib/src/entity/account/domain/AccountInfo"
;
import
{
Certification
}
from
"lib/src/entity/account/domain/Certification"
;
// 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
certifyAccount
(
axios
:
AxiosStatic
,
certification
:
any
):
Promise
<
AxiosResponse
<
Account
>>
{
static
certifyAccount
(
axios
:
AxiosStatic
,
certification
:
Certification
):
Promise
<
AxiosResponse
<
Account
>>
{
return
axios
.
post
(
'account/certifyAccount'
,
certification
);
return
axios
.
post
(
'account/certifyAccount'
,
certification
);
}
}
...
@@ -25,7 +26,7 @@ export class AccountController{
...
@@ -25,7 +26,7 @@ export class AccountController{
* @param groupId
* @param groupId
* @return AccountTag
* @return AccountTag
*/
*/
static
getAccountGroupById
(
axios
:
AxiosStatic
,
groupId
:
number
):
Promise
<
AxiosResponse
<
AccountTag
>>
{
static
getAccountGroupById
(
axios
:
AxiosStatic
,
groupId
:
number
):
Promise
<
AxiosResponse
<
AccountTag
>>
{
return
axios
.
get
(
'account/getAccountGroupById'
,
{
params
:
{
groupId
:
groupId
}});
return
axios
.
get
(
'account/getAccountGroupById'
,
{
params
:
{
groupId
:
groupId
}});
}
}
...
@@ -34,7 +35,7 @@ export class AccountController{
...
@@ -34,7 +35,7 @@ export class AccountController{
* @param account
* @param account
* @return AccountInfo
* @return AccountInfo
*/
*/
static
getAccountInfo
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
AccountInfo
>>
{
static
getAccountInfo
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
AccountInfo
>>
{
return
axios
.
get
(
'account/getAccountInfo'
);
return
axios
.
get
(
'account/getAccountInfo'
);
}
}
...
@@ -43,25 +44,25 @@ export class AccountController{
...
@@ -43,25 +44,25 @@ export class AccountController{
* @param account
* @param account
* @return AccountProfile
* @return AccountProfile
*/
*/
static
getAccountProfile
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
AccountProfile
>>
{
static
getAccountProfile
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
AccountProfile
>>
{
return
axios
.
get
(
'account/getAccountProfile'
);
return
axios
.
get
(
'account/getAccountProfile'
);
}
}
/**
/**
*/
*/
static
getLoginAccount
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Account
>>
{
static
getLoginAccount
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Account
>>
{
return
axios
.
get
(
'account/getLoginAccount'
);
return
axios
.
get
(
'account/getLoginAccount'
);
}
}
/**
/**
*/
*/
static
updateAccountAvatar
(
axios
:
AxiosStatic
,
accountInfo
:
any
):
Promise
<
AxiosResponse
<
Account
>>
{
static
updateAccountAvatar
(
axios
:
AxiosStatic
,
accountInfo
:
Account
):
Promise
<
AxiosResponse
<
Account
>>
{
return
axios
.
post
(
'account/updateAccountAvatar'
,
accountInfo
);
return
axios
.
post
(
'account/updateAccountAvatar'
,
accountInfo
);
}
}
/**
/**
*/
*/
static
updateAccountCityCode
(
axios
:
AxiosStatic
,
cityCode
:
string
):
Promise
<
AxiosResponse
<
string
>>
{
static
updateAccountCityCode
(
axios
:
AxiosStatic
,
cityCode
:
string
):
Promise
<
AxiosResponse
<
string
>>
{
return
axios
.
post
(
'account/updateAccountCityCode'
,
null
,
{
params
:
{
cityCode
:
cityCode
}});
return
axios
.
post
(
'account/updateAccountCityCode'
,
null
,
{
params
:
{
cityCode
:
cityCode
}});
}
}
...
@@ -70,13 +71,13 @@ export class AccountController{
...
@@ -70,13 +71,13 @@ export class AccountController{
* @param account
* @param account
* @return Account
* @return Account
*/
*/
static
updateAccountInfo
(
axios
:
AxiosStatic
,
accountInfo
:
any
):
Promise
<
AxiosResponse
<
Account
>>
{
static
updateAccountInfo
(
axios
:
AxiosStatic
,
accountInfo
:
Account
):
Promise
<
AxiosResponse
<
Account
>>
{
return
axios
.
post
(
'account/updateAccountInfo'
,
accountInfo
);
return
axios
.
post
(
'account/updateAccountInfo'
,
accountInfo
);
}
}
/**
/**
*/
*/
static
updateAccountNickName
(
axios
:
AxiosStatic
,
accountInfo
:
any
):
Promise
<
AxiosResponse
<
Account
>>
{
static
updateAccountNickName
(
axios
:
AxiosStatic
,
accountInfo
:
Account
):
Promise
<
AxiosResponse
<
Account
>>
{
return
axios
.
post
(
'account/updateAccountNickName'
,
accountInfo
);
return
axios
.
post
(
'account/updateAccountNickName'
,
accountInfo
);
}
}
...
...
aus-front/app/src/api/AppealController.ts
View file @
d92432b
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
{
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
addAppeal
(
axios
:
AxiosStatic
,
appeal
:
any
):
Promise
<
AxiosResponse
<
Appeal
>>
{
static
addAppeal
(
axios
:
AxiosStatic
,
appeal
:
Appeal
):
Promise
<
AxiosResponse
<
Appeal
>>
{
return
axios
.
post
(
'appeal/addAppeal'
,
appeal
);
return
axios
.
post
(
'appeal/addAppeal'
,
appeal
);
}
}
...
@@ -25,13 +26,13 @@ export class AppealController{
...
@@ -25,13 +26,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
getAppealByOrderId
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
Appeal
>>
{
static
getAppealByOrderId
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
Appeal
>>
{
return
axios
.
get
(
'appeal/getAppealByOrderId'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
get
(
'appeal/getAppealByOrderId'
,
{
params
:
{
orderId
:
orderId
}});
}
}
...
@@ -40,7 +41,7 @@ export class AppealController{
...
@@ -40,7 +41,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
);
}
}
...
...
aus-front/app/src/api/AuctionController.ts
View file @
d92432b
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
type
{
Auction
}
from
"lib/src/entity/auction/entity/Auction"
;
import
type
{
Auction
}
from
"lib/src/entity/auction/entity/Auction"
;
import
type
{
AuctionVehicle
}
from
"lib/src/entity/auction/entity/AuctionVehicle"
;
import
type
{
AuctionVehicle
}
from
"lib/src/entity/auction/entity/AuctionVehicle"
;
import
type
{
Page
}
from
"lib/src/core/page/Page"
;
import
type
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// 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
{
/**
/**
* 根据id查询拍卖场次
* 根据id查询拍卖场次
* @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
}});
}
}
...
@@ -27,7 +28,7 @@ export class AuctionController{
...
@@ -27,7 +28,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
}});
}
}
...
@@ -37,7 +38,7 @@ export class AuctionController{
...
@@ -37,7 +38,7 @@ export class AuctionController{
* @param account
* @param account
* @return AuctionVehicle
* @return AuctionVehicle
*/
*/
static
getAuctionVehicleDetailById
(
axios
:
AxiosStatic
,
aucvehId
:
number
):
Promise
<
AxiosResponse
<
AuctionVehicle
>>
{
static
getAuctionVehicleDetailById
(
axios
:
AxiosStatic
,
aucvehId
:
number
):
Promise
<
AxiosResponse
<
AuctionVehicle
>>
{
return
axios
.
get
(
'auction/getAuctionVehicleDetailById'
,
{
params
:
{
aucvehId
:
aucvehId
}});
return
axios
.
get
(
'auction/getAuctionVehicleDetailById'
,
{
params
:
{
aucvehId
:
aucvehId
}});
}
}
...
@@ -47,7 +48,7 @@ export class AuctionController{
...
@@ -47,7 +48,7 @@ export class AuctionController{
* @param account
* @param account
* @return Page
* @return Page
*/
*/
static
pageDarkAuctionVehicle
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionVehicle
>>>
{
static
pageDarkAuctionVehicle
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
AuctionVehicle
>
):
Promise
<
AxiosResponse
<
Page
<
AuctionVehicle
>>>
{
return
axios
.
post
(
'auction/pageDarkAuctionVehicle'
,
pagination
);
return
axios
.
post
(
'auction/pageDarkAuctionVehicle'
,
pagination
);
}
}
...
@@ -58,7 +59,7 @@ export class AuctionController{
...
@@ -58,7 +59,7 @@ export class AuctionController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageLightAuction
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Auction
>>>
{
static
pageLightAuction
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
Auction
>
):
Promise
<
AxiosResponse
<
Page
<
Auction
>>>
{
return
axios
.
post
(
'auction/pageLightAuction'
,
pagination
);
return
axios
.
post
(
'auction/pageLightAuction'
,
pagination
);
}
}
...
@@ -69,7 +70,7 @@ export class AuctionController{
...
@@ -69,7 +70,7 @@ export class AuctionController{
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageLightAuctionVehicle
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionVehicle
>>>
{
static
pageLightAuctionVehicle
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
AuctionVehicle
>
):
Promise
<
AxiosResponse
<
Page
<
AuctionVehicle
>>>
{
return
axios
.
post
(
'auction/pageLightAuctionVehicle'
,
pagination
);
return
axios
.
post
(
'auction/pageLightAuctionVehicle'
,
pagination
);
}
}
...
@@ -81,7 +82,7 @@ export class AuctionController{
...
@@ -81,7 +82,7 @@ export class AuctionController{
* @param account
* @param account
* @return Page
* @return Page
*/
*/
static
pageRandomAuctionVehicle
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionVehicle
>>>
{
static
pageRandomAuctionVehicle
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
AuctionVehicle
>
):
Promise
<
AxiosResponse
<
Page
<
AuctionVehicle
>>>
{
return
axios
.
post
(
'auction/pageRandomAuctionVehicle'
,
pagination
);
return
axios
.
post
(
'auction/pageRandomAuctionVehicle'
,
pagination
);
}
}
...
@@ -93,7 +94,7 @@ export class AuctionController{
...
@@ -93,7 +94,7 @@ export class AuctionController{
* @param account
* @param account
* @return Page
* @return Page
*/
*/
static
searchAuctionVehicle
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionVehicle
>>>
{
static
searchAuctionVehicle
(
axios
:
AxiosStatic
,
pagination
:
Pagination
<
AuctionVehicle
>
):
Promise
<
AxiosResponse
<
Page
<
AuctionVehicle
>>>
{
return
axios
.
post
(
'auction/searchAuctionVehicle'
,
pagination
);
return
axios
.
post
(
'auction/searchAuctionVehicle'
,
pagination
);
}
}
...
...
aus-front/app/src/api/AuctionOrderController.ts
View file @
d92432b
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
{
Contract
}
from
"lib/src/entity/auction/entity/Contract"
;
import
{
Contract
}
from
"lib/src/entity/auction/entity/Contract"
;
import
{
SignOrder
}
from
"lib/src/entity/auction/domain/SignOrder"
;
// 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
{
/**
/**
* 发起E签宝合国签署流程
* 发起E签宝合国签署流程
* @param signOrder
* @param signOrder
* @return Contract
* @return Contract
*/
*/
static
esignAuctionOrderContract
(
axios
:
AxiosStatic
,
signOrder
:
any
):
Promise
<
AxiosResponse
<
Contract
>>
{
static
esignAuctionOrderContract
(
axios
:
AxiosStatic
,
signOrder
:
SignOrder
):
Promise
<
AxiosResponse
<
Contract
>>
{
return
axios
.
post
(
'order/esignAuctionOrderContract'
,
signOrder
);
return
axios
.
post
(
'order/esignAuctionOrderContract'
,
signOrder
);
}
}
...
@@ -27,7 +28,7 @@ export class AuctionOrderController{
...
@@ -27,7 +28,7 @@ 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
(
'order/getAuctionOrderById'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
get
(
'order/getAuctionOrderById'
,
{
params
:
{
orderId
:
orderId
}});
}
}
...
@@ -36,13 +37,13 @@ export class AuctionOrderController{
...
@@ -36,13 +37,13 @@ export class AuctionOrderController{
* @param vehicleId
* @param vehicleId
* @return int
* @return int
*/
*/
static
getAuctionOrderByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
getAuctionOrderByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
get
(
'order/getAuctionOrderByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
return
axios
.
get
(
'order/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
(
'order/getAuctionOrderDetailById'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
get
(
'order/getAuctionOrderDetailById'
,
{
params
:
{
orderId
:
orderId
}});
}
}
...
@@ -51,19 +52,19 @@ export class AuctionOrderController{
...
@@ -51,19 +52,19 @@ export class AuctionOrderController{
* @param orderId
* @param orderId
* @return AuctionOrder.OrderState
* @return AuctionOrder.OrderState
*/
*/
static
getAuctionOrderStateById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
AuctionOrder
.
OrderState
>>
{
static
getAuctionOrderStateById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
AuctionOrder
.
OrderState
>>
{
return
axios
.
get
(
'order/getAuctionOrderStateById'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
get
(
'order/getAuctionOrderStateById'
,
{
params
:
{
orderId
:
orderId
}});
}
}
/**
/**
*/
*/
static
getContractsByOrderId
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
Contract
[]
>>
{
static
getContractsByOrderId
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
Contract
[]
>>
{
return
axios
.
get
(
'order/getContractsByOrderId'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
get
(
'order/getContractsByOrderId'
,
{
params
:
{
orderId
:
orderId
}});
}
}
/**
/**
*/
*/
static
getLatestAuctionOrders
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
AuctionOrder
[]
>>
{
static
getLatestAuctionOrders
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
AuctionOrder
[]
>>
{
return
axios
.
get
(
'order/getLatestAuctionOrders'
);
return
axios
.
get
(
'order/getLatestAuctionOrders'
);
}
}
...
@@ -72,7 +73,7 @@ export class AuctionOrderController{
...
@@ -72,7 +73,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
(
'order/pageAuctionOrder'
,
pagination
);
return
axios
.
post
(
'order/pageAuctionOrder'
,
pagination
);
}
}
...
@@ -84,7 +85,7 @@ export class AuctionOrderController{
...
@@ -84,7 +85,7 @@ export class AuctionOrderController{
* @return AuctionOrder
* @return AuctionOrder
* @throws FieldException
* @throws FieldException
*/
*/
static
uploadTransferAuctionOrder
(
axios
:
AxiosStatic
,
auctionOrder
:
any
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
static
uploadTransferAuctionOrder
(
axios
:
AxiosStatic
,
auctionOrder
:
AuctionOrder
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
return
axios
.
post
(
'order/uploadTransferAuctionOrder'
,
auctionOrder
);
return
axios
.
post
(
'order/uploadTransferAuctionOrder'
,
auctionOrder
);
}
}
...
...
aus-front/app/src/api/BidController.ts
View file @
d92432b
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
{
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
{
/**
/**
* 新增投标竞价
* 新增投标竞价
* @param bidRequest
* @param bidRequest
* @return Bid
* @return Bid
*/
*/
static
addBid
(
axios
:
AxiosStatic
,
bidRequest
:
any
):
Promise
<
AxiosResponse
<
Bid
>>
{
static
addBid
(
axios
:
AxiosStatic
,
bidRequest
:
any
):
Promise
<
AxiosResponse
<
Bid
>>
{
return
axios
.
post
(
'bid/addBid'
,
bidRequest
);
return
axios
.
post
(
'bid/addBid'
,
bidRequest
);
}
}
...
@@ -26,19 +27,19 @@ export class BidController{
...
@@ -26,19 +27,19 @@ export class BidController{
* @param bidId
* @param bidId
* @return Bid
* @return Bid
*/
*/
static
getBidById
(
axios
:
AxiosStatic
,
bidId
:
number
):
Promise
<
AxiosResponse
<
Bid
>>
{
static
getBidById
(
axios
:
AxiosStatic
,
bidId
:
number
):
Promise
<
AxiosResponse
<
Bid
>>
{
return
axios
.
get
(
'bid/getBidById'
,
{
params
:
{
bidId
:
bidId
}});
return
axios
.
get
(
'bid/getBidById'
,
{
params
:
{
bidId
:
bidId
}});
}
}
/**
/**
*/
*/
static
getBidsByAuctionVehicle
(
axios
:
AxiosStatic
,
aucvehId
:
number
,
auctionType
:
any
):
Promise
<
AxiosResponse
<
Bid
[]
>>
{
static
getBidsByAuctionVehicle
(
axios
:
AxiosStatic
,
aucvehId
:
number
,
auctionType
:
any
):
Promise
<
AxiosResponse
<
Bid
[]
>>
{
return
axios
.
get
(
'bid/getBidsByAuctionVehicle'
,
{
params
:
{
aucvehId
:
aucvehId
,
auctionType
:
auctionType
}});
return
axios
.
get
(
'bid/getBidsByAuctionVehicle'
,
{
params
:
{
aucvehId
:
aucvehId
,
auctionType
:
auctionType
}});
}
}
/**
/**
*/
*/
static
getLastedBidByLoginAccount
(
axios
:
AxiosStatic
,
aucvehId
:
number
):
Promise
<
AxiosResponse
<
Bid
>>
{
static
getLastedBidByLoginAccount
(
axios
:
AxiosStatic
,
aucvehId
:
number
):
Promise
<
AxiosResponse
<
Bid
>>
{
return
axios
.
get
(
'bid/getLastedBidByLoginAccount'
,
{
params
:
{
aucvehId
:
aucvehId
}});
return
axios
.
get
(
'bid/getLastedBidByLoginAccount'
,
{
params
:
{
aucvehId
:
aucvehId
}});
}
}
...
@@ -47,7 +48,7 @@ export class BidController{
...
@@ -47,7 +48,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
);
}
}
...
...
aus-front/app/src/api/FavoriteController.ts
View file @
d92432b
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
{
/**
/**
* 根据id查询收藏
* 根据id查询收藏
* @param aucvehId
* @param aucvehId
* @return int
* @return int
*/
*/
static
getFavoriteCountByAucvehId
(
axios
:
AxiosStatic
,
aucvehId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
getFavoriteCountByAucvehId
(
axios
:
AxiosStatic
,
aucvehId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
get
(
'favorite/getFavoriteCountByAucvehId'
,
{
params
:
{
aucvehId
:
aucvehId
}});
return
axios
.
get
(
'favorite/getFavoriteCountByAucvehId'
,
{
params
:
{
aucvehId
:
aucvehId
}});
}
}
...
@@ -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,7 +38,7 @@ export class FavoriteController{
...
@@ -37,7 +38,7 @@ export class FavoriteController{
* @param aucvehId
* @param aucvehId
* @return int
* @return int
*/
*/
static
removeFavoriteById
(
axios
:
AxiosStatic
,
aucvehId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeFavoriteById
(
axios
:
AxiosStatic
,
aucvehId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'favorite/removeFavoriteById'
,
{
params
:
{
aucvehId
:
aucvehId
}});
return
axios
.
delete
(
'favorite/removeFavoriteById'
,
{
params
:
{
aucvehId
:
aucvehId
}});
}
}
...
@@ -46,7 +47,7 @@ export class FavoriteController{
...
@@ -46,7 +47,7 @@ export class FavoriteController{
* @param aucvehId
* @param aucvehId
* @return boolean
* @return boolean
*/
*/
static
toggleFavorite
(
axios
:
AxiosStatic
,
aucvehId
:
number
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
toggleFavorite
(
axios
:
AxiosStatic
,
aucvehId
:
number
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'favorite/toggleFavorite'
,
null
,
{
params
:
{
aucvehId
:
aucvehId
}});
return
axios
.
post
(
'favorite/toggleFavorite'
,
null
,
{
params
:
{
aucvehId
:
aucvehId
}});
}
}
...
...
aus-front/app/src/api/LoginController.ts
View file @
d92432b
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
Authenticity
from
"lib/src/core/security/Authenticity"
;
import
type
Authenticity
from
"lib/src/core/security/Authenticity"
;
import
{
AccountInfo
}
from
'lib/src/entity/account/domain/AccountInfo'
;
import
{
MaLoginRequest
}
from
"lib/src/entity/security/domain/MaLoginRequest"
;
// endregion
// endregion
/**
/**
*/
*/
export
class
LoginController
{
export
class
LoginController
{
/**
/**
* 个人账户修改手机原号码校验
* 个人账户修改手机原号码校验
...
@@ -16,7 +18,7 @@ export class LoginController{
...
@@ -16,7 +18,7 @@ export class LoginController{
* @return String
* @return String
* @throws FieldException
* @throws FieldException
*/
*/
static
checkSmsCode
(
axios
:
AxiosStatic
,
loginRequest
:
any
):
Promise
<
AxiosResponse
<
string
>>
{
static
checkSmsCode
(
axios
:
AxiosStatic
,
loginRequest
:
any
):
Promise
<
AxiosResponse
<
string
>>
{
return
axios
.
post
(
'/api/checkSmsCode'
,
loginRequest
);
return
axios
.
post
(
'/api/checkSmsCode'
,
loginRequest
);
}
}
...
@@ -28,13 +30,13 @@ export class LoginController{
...
@@ -28,13 +30,13 @@ export class LoginController{
* @return boolean
* @return boolean
* @throws FieldException
* @throws FieldException
*/
*/
static
checkSmsCodeByNewMobile
(
axios
:
AxiosStatic
,
loginRequest
:
any
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
checkSmsCodeByNewMobile
(
axios
:
AxiosStatic
,
loginRequest
:
any
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'/api/checkSmsCodeByNewMobile'
,
loginRequest
);
return
axios
.
post
(
'/api/checkSmsCodeByNewMobile'
,
loginRequest
);
}
}
/**
/**
*/
*/
static
doLogin
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Authenticity
>>
{
static
doLogin
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Authenticity
>>
{
return
axios
.
post
(
'/api/login'
,
null
);
return
axios
.
post
(
'/api/login'
,
null
);
}
}
...
@@ -45,16 +47,16 @@ export class LoginController{
...
@@ -45,16 +47,16 @@ export class LoginController{
* @return boolean
* @return boolean
* @throws FieldException
* @throws FieldException
*/
*/
static
getQrCodeStatus
(
axios
:
AxiosStatic
,
ticket
:
string
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
getQrCodeStatus
(
axios
:
AxiosStatic
,
ticket
:
string
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
get
(
'/api/getQrCodeStatus'
,
{
params
:
{
ticket
:
ticket
}});
return
axios
.
get
(
'/api/getQrCodeStatus'
,
{
params
:
{
ticket
:
ticket
}});
}
}
/**
/**
* <pre>
* <pre>
小程序手机号登录
小程序手机号登录
</pre>
</pre>
*/
*/
static
phone
(
axios
:
AxiosStatic
,
maLoginRequest
:
any
):
Promise
<
AxiosResponse
<
AccountInfo
>>
{
static
phone
(
axios
:
AxiosStatic
,
maLoginRequest
:
MaLoginRequest
):
Promise
<
AxiosResponse
<
AccountInfo
>>
{
return
axios
.
post
(
'/api//ma/{appid}/phoneLogin'
,
maLoginRequest
);
return
axios
.
post
(
'/api//ma/{appid}/phoneLogin'
,
maLoginRequest
);
}
}
...
...
aus-front/app/src/api/RechargeController.ts
View file @
d92432b
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
type
{
WxPayUnifiedOrderV3Result
}
from
"lib/src/domain/WxPayUnifiedOrderV3Result"
;
import
type
{
WxPayUnifiedOrderV3Result
}
from
"lib/src/domain/WxPayUnifiedOrderV3Result"
;
import
{
Recharge
}
from
"lib/src/entity/finance/entity/Recharge"
;
import
{
Recharge
}
from
"lib/src/entity/finance/entity/Recharge"
;
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
RechargeController
{
export
class
RechargeController
{
/**
/**
* 充值接口 (过时接口,不再使用)
* 充值接口 (过时接口,不再使用)
详见:https://pay.weixin.qq.com/doc/v3/merchant/4012791856
详见:https://pay.weixin.qq.com/doc/v3/merchant/4012791856
* @param recharge
* @param recharge
* @param account
* @param account
* @return WxPayUnifiedOrderV3Result.JsapiResult
* @return WxPayUnifiedOrderV3Result.JsapiResult
*/
*/
static
addRecharge
(
axios
:
AxiosStatic
,
recharge
:
any
):
Promise
<
AxiosResponse
<
WxPayUnifiedOrderV3Result
.
JsapiResult
>>
{
static
addRecharge
(
axios
:
AxiosStatic
,
recharge
:
Recharge
):
Promise
<
AxiosResponse
<
WxPayUnifiedOrderV3Result
.
JsapiResult
>>
{
return
axios
.
post
(
'recharge/addRecharge'
,
recharge
);
return
axios
.
post
(
'recharge/addRecharge'
,
recharge
);
}
}
/**
/**
*/
*/
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
);
}
}
static
PAGE_RECHARGE
=
'recharge/pageRecharge'
;
static
PAGE_RECHARGE
=
'recharge/pageRecharge'
;
/**
* 提交充值退款申请
* @param rechargeId
* @param account
* @return Recharge
* @throws FieldException
*/
static
refundRecharge
(
axios
:
AxiosStatic
,
rechargeId
:
number
):
Promise
<
AxiosResponse
<
Recharge
>>
{
return
axios
.
post
(
'recharge/refundRecharge'
,
null
,
{
params
:
{
rechargeId
:
rechargeId
}});
}
// region 前端扩展代码区
// region 前端扩展代码区
// endregion
// endregion
}
}
aus-front/app/src/api/ReleaseOrderController.ts
View file @
d92432b
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
{
/**
/**
* 根据id查询解押订单
* 根据id查询解押订单
* @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
}});
}
}
...
@@ -26,7 +27,7 @@ export class ReleaseOrderController{
...
@@ -26,7 +27,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
);
}
}
...
@@ -37,7 +38,7 @@ export class ReleaseOrderController{
...
@@ -37,7 +38,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/app/src/api/StorageController.ts
View file @
d92432b
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
FileInfo
}
from
"uview-plus/types/comps/upload"
;
// endregion
// endregion
/**
/**
* @author kepler
* @author kepler
*/
*/
export
class
StorageController
{
export
class
StorageController
{
/**
/**
*/
*/
static
uploadAudio
(
axios
:
AxiosStatic
,
file
:
any
,
directory
:
string
):
Promise
<
AxiosResponse
<
FileInfo
>>
{
static
uploadAudio
(
axios
:
AxiosStatic
,
file
:
any
,
directory
:
string
):
Promise
<
AxiosResponse
<
FileInfo
>>
{
return
axios
.
post
(
'upload/uploadAudio'
,
null
,
{
params
:
{
file
:
file
,
directory
:
directory
}});
return
axios
.
post
(
'upload/uploadAudio'
,
null
,
{
params
:
{
file
:
file
,
directory
:
directory
}});
}
}
/**
/**
...
@@ -22,7 +24,7 @@ export class StorageController{
...
@@ -22,7 +24,7 @@ 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
}});
}
}
...
...
aus-front/app/src/api/TrackController.ts
View file @
d92432b
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/app/src/api/TransactionController.ts
View file @
d92432b
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
{
TransactionStat
}
from
"lib/src/entity/finance/domain/TransactionStat"
;
import
{
TransactionStat
}
from
"lib/src/entity/finance/domain/TransactionStat"
;
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
type
{
WxPayUnifiedOrderV3Result
}
from
"lib/src/domain/WxPayUnifiedOrderV3Result"
;
import
type
{
WxPayUnifiedOrderV3Result
}
from
"lib/src/domain/WxPayUnifiedOrderV3Result"
;
import
{
Pagination
}
from
"lib/src/core/page/Pagination"
;
// 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
{
/**
/**
* 新增订单交易
* 新增订单交易
* @param orderTransaction
* @param orderTransaction
* @return OrderTransaction
* @return OrderTransaction
*/
*/
static
addOrderTransaction
(
axios
:
AxiosStatic
,
orderTransaction
:
any
):
Promise
<
AxiosResponse
<
OrderTransaction
>>
{
static
addOrderTransaction
(
axios
:
AxiosStatic
,
orderTransaction
:
OrderTransaction
):
Promise
<
AxiosResponse
<
OrderTransaction
>>
{
return
axios
.
post
(
'transaction/addOrderTransaction'
,
orderTransaction
);
return
axios
.
post
(
'transaction/addOrderTransaction'
,
orderTransaction
);
}
}
...
@@ -28,7 +29,7 @@ export class TransactionController{
...
@@ -28,7 +29,7 @@ export class TransactionController{
* 根据id查询交易明细
* 根据id查询交易明细
* @return TransactionStat
* @return TransactionStat
*/
*/
static
getTransactionStat
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
TransactionStat
>>
{
static
getTransactionStat
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
TransactionStat
>>
{
return
axios
.
get
(
'transaction/getTransactionStat'
);
return
axios
.
get
(
'transaction/getTransactionStat'
);
}
}
...
@@ -37,7 +38,7 @@ export class TransactionController{
...
@@ -37,7 +38,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
);
}
}
...
@@ -49,7 +50,7 @@ export class TransactionController{
...
@@ -49,7 +50,7 @@ export class TransactionController{
* @param account
* @param account
* @return WxPayUnifiedOrderV3Result.JsapiResult
* @return WxPayUnifiedOrderV3Result.JsapiResult
*/
*/
static
payOrderTransaction
(
axios
:
AxiosStatic
,
orderTransaction
:
any
):
Promise
<
AxiosResponse
<
WxPayUnifiedOrderV3Result
.
JsapiResult
>>
{
static
payOrderTransaction
(
axios
:
AxiosStatic
,
orderTransaction
:
OrderTransaction
):
Promise
<
AxiosResponse
<
WxPayUnifiedOrderV3Result
.
JsapiResult
>>
{
return
axios
.
post
(
'transaction/payOrderTransaction'
,
orderTransaction
);
return
axios
.
post
(
'transaction/payOrderTransaction'
,
orderTransaction
);
}
}
...
...
aus-front/app/src/api/WithdrawController.ts
View file @
d92432b
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
{
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 withdraw
* @param withdraw
* @return Withdraw
* @return Withdraw
*/
*/
static
addWithdraw
(
axios
:
AxiosStatic
,
withdraw
:
any
):
Promise
<
AxiosResponse
<
Withdraw
>>
{
static
addWithdraw
(
axios
:
AxiosStatic
,
withdraw
:
Withdraw
):
Promise
<
AxiosResponse
<
Withdraw
>>
{
return
axios
.
post
(
'withdraw/addWithdraw'
,
withdraw
);
return
axios
.
post
(
'withdraw/addWithdraw'
,
withdraw
);
}
}
...
@@ -26,19 +27,13 @@ export class WithdrawController{
...
@@ -26,19 +27,13 @@ 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
getWithdrawsByWaitUserConfirm
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Withdraw
[]
>>
{
static
getWxPayMchId
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
string
>>
{
return
axios
.
get
(
'withdraw/getWithdrawsByWaitUserConfirm'
);
}
/**
*/
static
getWxPayMchId
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
string
>>
{
return
axios
.
get
(
'withdraw/getWxPayMchId'
);
return
axios
.
get
(
'withdraw/getWxPayMchId'
);
}
}
...
@@ -47,18 +42,12 @@ export class WithdrawController{
...
@@ -47,18 +42,12 @@ 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
);
}
}
static
PAGE_WITHDRAW
=
'withdraw/pageWithdraw'
;
static
PAGE_WITHDRAW
=
'withdraw/pageWithdraw'
;
/**
*/
static
updateWithdrawStateById
(
axios
:
AxiosStatic
,
withdrawId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
post
(
'withdraw/updateWithdrawStateById'
,
null
,
{
params
:
{
withdrawId
:
withdrawId
}});
}
// region 前端扩展代码区
// region 前端扩展代码区
// endregion
// endregion
}
}
aus-front/app/src/api/WxpayController.ts
View file @
d92432b
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
import
{
ResponseEntity
}
from
"lib/src/domain/ResponseEntity"
;
// region 前端扩展导入包
// region 前端扩展导入包
// endregion
// endregion
/**
/**
*/
*/
export
class
WxpayController
{
export
class
WxpayController
{
/**
/**
* <pre>
* <pre>
退款回调通知处理
退款回调通知处理
详见 https://pay.weixin.qq.com/doc/v3/merchant/4012791865
详见 https://pay.weixin.qq.com/doc/v3/merchant/4012791865
</pre>
</pre>
* @param notifyData
* @param notifyData
* @param request
* @param request
* @return ResponseEntity
* @return ResponseEntity
* @throws WxPayException
* @throws WxPayException
*/
*/
static
parseRefundNotifyResult
(
axios
:
AxiosStatic
,
notifyData
:
any
):
Promise
<
AxiosResponse
<
ResponseEntity
<
String
>>>
{
static
parseRefundNotifyResult
(
axios
:
AxiosStatic
,
notifyData
:
string
):
Promise
<
AxiosResponse
<
ResponseEntity
<
String
>>>
{
return
axios
.
post
(
'wxpay/notify/refund'
,
notifyData
);
return
axios
.
post
(
'wxpay/notify/refund'
,
notifyData
);
}
}
...
...
aus-front/lib/src/entity/account/domain/AccountInfo.ts
View file @
d92432b
import
{
Dayjs
}
from
'dayjs'
;
import
{
Dayjs
}
from
'dayjs'
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
Account
}
from
'../../account/entity/Account'
;
import
{
Account
}
from
'../../account/entity/Account'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
Account_AccountType
}
from
'../../account/entity/Account'
;
import
{
Account_AccountType
}
from
'../../account/entity/Account'
;
import
{
Account_CertifiedState
}
from
'../../account/entity/Account'
;
import
{
Account_CertifiedState
}
from
'../../account/entity/Account'
;
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
// endregion
// endregion
/**
/**
*/
*/
export
class
AccountInfo
{
export
class
AccountInfo
{
/**
/**
...
...
aus-front/lib/src/entity/account/domain/AccountProfile.ts
View file @
d92432b
import
{
Dayjs
}
from
'dayjs'
;
import
{
Dayjs
}
from
'dayjs'
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
Account
}
from
'../../account/entity/Account'
;
import
{
Account
}
from
'../../account/entity/Account'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
import
{
Account_CertifiedState
,
Account_AccountType
}
from
'../../account/entity/Account'
;
import
{
Account_CertifiedState
,
Account_AccountType
}
from
'../../account/entity/Account'
;
// endregion
// endregion
/**
/**
*/
*/
export
class
AccountProfile
{
export
class
AccountProfile
{
/**
/**
...
...
aus-front/lib/src/entity/account/domain/Certification.ts
View file @
d92432b
import
{
Dayjs
}
from
'dayjs'
;
import
{
Dayjs
}
from
'dayjs'
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
// endregion
// endregion
/**
/**
*/
*/
export
class
Certification
{
export
class
Certification
{
/**
/**
...
...
aus-front/lib/src/entity/account/entity/Account.ts
View file @
d92432b
import
{
Dayjs
}
from
'dayjs'
;
import
{
Dayjs
}
from
'dayjs'
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
Favorite
}
from
'./Favorite'
;
import
{
Favorite
}
from
'./Favorite'
;
import
{
AccountTag
}
from
'./AccountTag'
;
import
{
AccountTag
}
from
'./AccountTag'
;
import
{
AuctionOrder
}
from
'../../auction/entity/AuctionOrder'
;
import
{
AuctionOrder
}
from
'../../auction/entity/AuctionOrder'
;
...
@@ -7,13 +7,11 @@ import {Bid} from '../../auction/entity/Bid';
...
@@ -7,13 +7,11 @@ import {Bid} from '../../auction/entity/Bid';
import
{
Withdraw
}
from
'../../finance/entity/Withdraw'
;
import
{
Withdraw
}
from
'../../finance/entity/Withdraw'
;
import
{
BidStat
}
from
'../../auction/domain/BidStat'
;
import
{
BidStat
}
from
'../../auction/domain/BidStat'
;
import
{
Transaction
}
from
'../../finance/entity/Transaction'
;
import
{
Transaction
}
from
'../../finance/entity/Transaction'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
// endregion
// endregion
/**
/**
* 个人账户(Account)实体类
* 个人账户(Account)实体类
*/
*/
export
class
Account
extends
AuditingTimeEntity
{
export
class
Account
extends
AuditingTimeEntity
{
...
@@ -103,8 +101,8 @@ export class Account extends AuditingTimeEntity {
...
@@ -103,8 +101,8 @@ export class Account extends AuditingTimeEntity {
lastLoginTime
:
Dayjs
|
string
;
lastLoginTime
:
Dayjs
|
string
;
/**
/**
* 城市编码
* 城市编码
用于定位城市
用于定位城市
例如:110000 代表北京市
例如:110000 代表北京市
*/
*/
cityCode
:
string
;
cityCode
:
string
;
/**
/**
...
@@ -156,21 +154,21 @@ export class Account extends AuditingTimeEntity {
...
@@ -156,21 +154,21 @@ export class Account extends AuditingTimeEntity {
// endregion
// endregion
}
}
/**
/**
* 认证状态
* 认证状态
* UNCERTIFIED 未认证
* UNCERTIFIED 未认证
* CERTIFICATING 审核中
* CERTIFICATING 审核中
* CERTIFY_FAILED 认证失败
* CERTIFY_FAILED 认证失败
* CERTIFIED 认证成功
* CERTIFIED 认证成功
*/
*/
export
type
Account_CertifiedState
=
'UNCERTIFIED'
|
'CERTIFICATING'
|
'CERTIFY_FAILED'
|
'CERTIFIED'
;
export
type
Account_CertifiedState
=
'UNCERTIFIED'
|
'CERTIFICATING'
|
'CERTIFY_FAILED'
|
'CERTIFIED'
;
export
const
ACCOUNT_CERTIFIED_STATES
=
[
'UNCERTIFIED'
,
'CERTIFICATING'
,
'CERTIFY_FAILED'
,
'CERTIFIED'
];
export
const
ACCOUNT_CERTIFIED_STATES
=
[
'UNCERTIFIED'
,
'CERTIFICATING'
,
'CERTIFY_FAILED'
,
'CERTIFIED'
];
/**
/**
* COMMON 未认证用户
* COMMON 未认证用户
* PERSON 个人用户
* PERSON 个人用户
* COMPANY 车商用户
* COMPANY 车商用户
*/
*/
export
type
Account_AccountType
=
'COMMON'
|
'PERSON'
|
'COMPANY'
;
export
type
Account_AccountType
=
'COMMON'
|
'PERSON'
|
'COMPANY'
;
export
const
ACCOUNT_ACCOUNT_TYPES
=
[
'COMMON'
,
'PERSON'
,
'COMPANY'
];
export
const
ACCOUNT_ACCOUNT_TYPES
=
[
'COMMON'
,
'PERSON'
,
'COMPANY'
];
aus-front/lib/src/entity/analysis/domain/ProvinceRate.ts
View file @
d92432b
import
{
Dayjs
}
from
'dayjs'
;
import
{
Dayjs
}
from
'dayjs'
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
// region 前端扩展导入包
// region 前端扩展导入包
// endregion
// endregion
/**
/**
*/
*/
export
class
ProvinceRate
{
export
class
ProvinceRate
{
/**
/**
...
@@ -17,8 +17,6 @@ export class ProvinceRate {
...
@@ -17,8 +17,6 @@ export class ProvinceRate {
browserHistoryCount
:
number
;
browserHistoryCount
:
number
;
// region 前端扩展定义属性及方法区
// region 前端扩展定义属性及方法区
// endregion
// endregion
}
}
aus-front/lib/src/entity/auction/domain/AuctionVehicleAddon.ts
0 → 100644
View file @
d92432b
import
{
Dayjs
}
from
'dayjs'
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
// region 前端扩展导入包
// endregion
/**
*/
export
class
AuctionVehicleAddon
{
/**
*/
auctionId
:
number
;
/**
*/
vehicleIds
:
number
[];
// region 前端扩展定义属性及方法区
// endregion
}
aus-front/lib/src/entity/auction/entity/Appeal.ts
View file @
d92432b
import
{
Dayjs
}
from
'dayjs'
;
import
{
Dayjs
}
from
'dayjs'
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
User
}
from
'../../security/entity/User'
;
import
{
User
}
from
'../../security/entity/User'
;
import
{
AuctionOrder
}
from
'./AuctionOrder'
;
import
{
AuctionOrder
}
from
'./AuctionOrder'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
import
{
Diction
}
from
"../../../core/dictionary/Diction"
;
import
{
Diction
}
from
"../../../core/dictionary/Diction"
;
// endregion
// endregion
/**
/**
* 申诉(Appeal)实体类
* 申诉(Appeal)实体类
*/
*/
export
class
Appeal
extends
AuditingTimeEntity
{
export
class
Appeal
extends
AuditingTimeEntity
{
...
@@ -77,30 +76,30 @@ export class Appeal extends AuditingTimeEntity {
...
@@ -77,30 +76,30 @@ export class Appeal extends AuditingTimeEntity {
// endregion
// endregion
}
}
/**
/**
* ACCEPTANCE 待受理
* ACCEPTANCE 待受理
* PROCESSING 处理中
* PROCESSING 处理中
* CLOSED 已关闭
* CLOSED 已关闭
*/
*/
export
type
Appeal_AppealState
=
'ACCEPTANCE'
|
'PROCESSING'
|
'CLOSED'
;
export
type
Appeal_AppealState
=
'ACCEPTANCE'
|
'PROCESSING'
|
'CLOSED'
;
export
const
APPEAL_APPEAL_STATES
=
[
'ACCEPTANCE'
,
'PROCESSING'
,
'CLOSED'
];
export
const
APPEAL_APPEAL_STATES
=
[
'ACCEPTANCE'
,
'PROCESSING'
,
'CLOSED'
];
/**
/**
* 申诉裁决结果
* 申诉裁决结果
* SELLER 卖方责任
* SELLER 卖方责任
* BUYER 买方责任
* BUYER 买方责任
* MUTUAL 双方责任
* MUTUAL 双方责任
* PLATFORM 平台责任
* PLATFORM 平台责任
*/
*/
export
type
Appeal_AppealResult
=
'SELLER'
|
'BUYER'
|
'MUTUAL'
|
'PLATFORM'
;
export
type
Appeal_AppealResult
=
'SELLER'
|
'BUYER'
|
'MUTUAL'
|
'PLATFORM'
;
export
const
APPEAL_APPEAL_RESULTS
=
[
'SELLER'
,
'BUYER'
,
'MUTUAL'
,
'PLATFORM'
];
export
const
APPEAL_APPEAL_RESULTS
=
[
'SELLER'
,
'BUYER'
,
'MUTUAL'
,
'PLATFORM'
];
/**
/**
* DEPOSIT 扣除保证金
* DEPOSIT 扣除保证金
* COMPENSATION 协商补偿
* COMPENSATION 协商补偿
* RETURN 支持退车
* RETURN 支持退车
* REJECT 驳回申诉
* REJECT 驳回申诉
*/
*/
export
type
Appeal_Solution
=
'DEPOSIT'
|
'COMPENSATION'
|
'RETURN'
|
'REJECT'
;
export
type
Appeal_Solution
=
'DEPOSIT'
|
'COMPENSATION'
|
'RETURN'
|
'REJECT'
;
export
const
APPEAL_SOLUTIONS
=
[
'DEPOSIT'
,
'COMPENSATION'
,
'RETURN'
,
'REJECT'
];
export
const
APPEAL_SOLUTIONS
=
[
'DEPOSIT'
,
'COMPENSATION'
,
'RETURN'
,
'REJECT'
];
aus-front/lib/src/entity/auction/entity/AuctionOrder.ts
View file @
d92432b
import
{
Dayjs
}
from
'dayjs'
;
import
{
Dayjs
}
from
'dayjs'
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
Auction
}
from
'./Auction'
;
import
{
Auction
}
from
'./Auction'
;
import
{
Appeal
}
from
'./Appeal'
;
import
{
Appeal
}
from
'./Appeal'
;
import
{
Vehicle
}
from
'../../vehicle/entity/Vehicle'
;
import
{
Vehicle
}
from
'../../vehicle/entity/Vehicle'
;
...
@@ -8,10 +8,9 @@ import {Contract} from './Contract';
...
@@ -8,10 +8,9 @@ import {Contract} from './Contract';
import
{
AuditState
}
from
'../../enum_types'
;
import
{
AuditState
}
from
'../../enum_types'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
// endregion
// endregion
/**
/**
* 拍卖订单(AuctionOrder)实体类
* 拍卖订单(AuctionOrder)实体类
*/
*/
export
class
AuctionOrder
extends
AuditingEntity
{
export
class
AuctionOrder
extends
AuditingEntity
{
...
@@ -104,7 +103,7 @@ export class AuctionOrder extends AuditingEntity {
...
@@ -104,7 +103,7 @@ export class AuctionOrder extends AuditingEntity {
// endregion
// endregion
}
}
/**
/**
* delivery_order
* delivery_order
* CONTRACT_UNSIGNED 待签署合同
* CONTRACT_UNSIGNED 待签署合同
* UNPAID 待付车款
* UNPAID 待付车款
...
@@ -113,6 +112,6 @@ export class AuctionOrder extends AuditingEntity {
...
@@ -113,6 +112,6 @@ export class AuctionOrder extends AuditingEntity {
* COMPLETED 已完成
* COMPLETED 已完成
* CANCELED 已取消
* CANCELED 已取消
*/
*/
export
type
AuctionOrder_OrderState
=
'CONTRACT_UNSIGNED'
|
'UNPAID'
|
'WAIT_PICKUP'
|
'TRANSFERRING'
|
'COMPLETED'
|
'CANCELED'
;
export
type
AuctionOrder_OrderState
=
'CONTRACT_UNSIGNED'
|
'UNPAID'
|
'WAIT_PICKUP'
|
'TRANSFERRING'
|
'COMPLETED'
|
'CANCELED'
;
export
const
AUCTION_ORDER_ORDER_STATES
=
[
'CONTRACT_UNSIGNED'
,
'UNPAID'
,
'WAIT_PICKUP'
,
'TRANSFERRING'
,
'COMPLETED'
,
'CANCELED'
];
export
const
AUCTION_ORDER_ORDER_STATES
=
[
'CONTRACT_UNSIGNED'
,
'UNPAID'
,
'WAIT_PICKUP'
,
'TRANSFERRING'
,
'COMPLETED'
,
'CANCELED'
];
aus-front/lib/src/entity/auction/entity/Contract.ts
View file @
d92432b
import
{
Dayjs
}
from
'dayjs'
;
import
{
Dayjs
}
from
'dayjs'
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
AuctionOrder
}
from
'./AuctionOrder'
;
import
{
AuctionOrder
}
from
'./AuctionOrder'
;
import
{
ContractTemplate
}
from
'./ContractTemplate'
;
import
{
ContractTemplate
}
from
'./ContractTemplate'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
ContractTemplate_TemplateType
}
from
'./ContractTemplate'
;
import
{
ContractTemplate_TemplateType
}
from
'./ContractTemplate'
;
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
// endregion
// endregion
/**
/**
* 合同(Contract)实体类
* 合同(Contract)实体类
*/
*/
export
class
Contract
extends
AuditingTimeEntity
{
export
class
Contract
extends
AuditingTimeEntity
{
...
...
aus-front/lib/src/entity/auction/entity/DeliveryOrder.ts
View file @
d92432b
import
{
Dayjs
}
from
'dayjs'
;
import
{
Dayjs
}
from
'dayjs'
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
User
}
from
'../../security/entity/User'
;
import
{
User
}
from
'../../security/entity/User'
;
import
{
AuctionOrder
}
from
'./AuctionOrder'
;
import
{
AuctionOrder
}
from
'./AuctionOrder'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
// endregion
// endregion
/**
/**
* 交付订单(DeliveryOrder)实体类
* 交付订单(DeliveryOrder)实体类
*/
*/
export
class
DeliveryOrder
extends
AuditingTimeEntity
{
export
class
DeliveryOrder
extends
AuditingTimeEntity
{
...
@@ -80,12 +79,12 @@ export class DeliveryOrder extends AuditingTimeEntity {
...
@@ -80,12 +79,12 @@ export class DeliveryOrder extends AuditingTimeEntity {
// endregion
// endregion
}
}
/**
/**
* UNASSIGNED 待指派
* UNASSIGNED 待指派
* UNDELIVERED 待交付
* UNDELIVERED 待交付
* DELIVERED 已交付
* DELIVERED 已交付
* CANCELLED 已取消
* CANCELLED 已取消
*/
*/
export
type
DeliveryOrder_OrderState
=
'UNASSIGNED'
|
'UNDELIVERED'
|
'DELIVERED'
|
'CANCELLED'
;
export
type
DeliveryOrder_OrderState
=
'UNASSIGNED'
|
'UNDELIVERED'
|
'DELIVERED'
|
'CANCELLED'
;
export
const
DELIVERY_ORDER_ORDER_STATES
=
[
'UNASSIGNED'
,
'UNDELIVERED'
,
'DELIVERED'
,
'CANCELLED'
];
export
const
DELIVERY_ORDER_ORDER_STATES
=
[
'UNASSIGNED'
,
'UNDELIVERED'
,
'DELIVERED'
,
'CANCELLED'
];
aus-front/lib/src/entity/auction/entity/ReleaseOrder.ts
View file @
d92432b
import
{
Dayjs
}
from
'dayjs'
;
import
{
Dayjs
}
from
'dayjs'
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
User
}
from
'../../security/entity/User'
;
import
{
User
}
from
'../../security/entity/User'
;
import
{
Vehicle
}
from
'../../vehicle/entity/Vehicle'
;
import
{
Vehicle
}
from
'../../vehicle/entity/Vehicle'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
// endregion
// endregion
/**
/**
* 解押订单(ReleaseOrder)实体类
* 解押订单(ReleaseOrder)实体类
*/
*/
export
class
ReleaseOrder
extends
AuditingEntity
{
export
class
ReleaseOrder
extends
AuditingEntity
{
...
@@ -52,13 +51,13 @@ export class ReleaseOrder extends AuditingEntity {
...
@@ -52,13 +51,13 @@ export class ReleaseOrder extends AuditingEntity {
// endregion
// endregion
}
}
/**
/**
* UNASSIGNED 待分配
* UNASSIGNED 待分配
* MATERIAL_PREPARATION 材料准备中
* MATERIAL_PREPARATION 材料准备中
* BANK_PROCESSING 银行处理中
* BANK_PROCESSING 银行处理中
* COMPLETED 已办结
* COMPLETED 已办结
* CLOSED 已关闭
* CLOSED 已关闭
*/
*/
export
type
ReleaseOrder_OrderState
=
'UNASSIGNED'
|
'MATERIAL_PREPARATION'
|
'BANK_PROCESSING'
|
'COMPLETED'
|
'CLOSED'
;
export
type
ReleaseOrder_OrderState
=
'UNASSIGNED'
|
'MATERIAL_PREPARATION'
|
'BANK_PROCESSING'
|
'COMPLETED'
|
'CLOSED'
;
export
const
RELEASE_ORDER_ORDER_STATES
=
[
'UNASSIGNED'
,
'MATERIAL_PREPARATION'
,
'BANK_PROCESSING'
,
'COMPLETED'
,
'CLOSED'
];
export
const
RELEASE_ORDER_ORDER_STATES
=
[
'UNASSIGNED'
,
'MATERIAL_PREPARATION'
,
'BANK_PROCESSING'
,
'COMPLETED'
,
'CLOSED'
];
aus-front/lib/src/entity/business/entity/Carousel.ts
View file @
d92432b
import
{
Dayjs
}
from
'dayjs'
;
import
{
Dayjs
}
from
'dayjs'
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
// endregion
// endregion
/**
/**
* 轮播图(Carousel)实体类
* 轮播图(Carousel)实体类
*/
*/
export
class
Carousel
extends
AuditingEntity
{
export
class
Carousel
extends
AuditingEntity
{
...
@@ -59,21 +58,21 @@ export class Carousel extends AuditingEntity {
...
@@ -59,21 +58,21 @@ export class Carousel extends AuditingEntity {
displayWeb
:
boolean
;
displayWeb
:
boolean
;
// region 前端扩展定义属性及方法区
// region 前端扩展定义属性及方法区
effectiveDateRange
:
any
[];
effectiveDateRange
:
any
[];
// endregion
// endregion
}
}
/**
/**
* HOMEPAGE 首页轮播图
* HOMEPAGE 首页轮播图
*/
*/
export
type
Carousel_CarouselType
=
'HOMEPAGE'
;
export
type
Carousel_CarouselType
=
'HOMEPAGE'
;
export
const
CAROUSEL_CAROUSEL_TYPES
=
[
'HOMEPAGE'
];
export
const
CAROUSEL_CAROUSEL_TYPES
=
[
'HOMEPAGE'
];
/**
/**
* INTERNAL_PAGE 内部页面
* INTERNAL_PAGE 内部页面
* EXTERNAL_LINK 外部链接
* EXTERNAL_LINK 外部链接
* NO_JUMP 不跳转
* NO_JUMP 不跳转
*/
*/
export
type
Carousel_LinkType
=
'INTERNAL_PAGE'
|
'EXTERNAL_LINK'
|
'NO_JUMP'
;
export
type
Carousel_LinkType
=
'INTERNAL_PAGE'
|
'EXTERNAL_LINK'
|
'NO_JUMP'
;
export
const
CAROUSEL_LINK_TYPES
=
[
'INTERNAL_PAGE'
,
'EXTERNAL_LINK'
,
'NO_JUMP'
];
export
const
CAROUSEL_LINK_TYPES
=
[
'INTERNAL_PAGE'
,
'EXTERNAL_LINK'
,
'NO_JUMP'
];
aus-front/lib/src/entity/business/entity/NoticeMessage.ts
View file @
d92432b
import
{
Dayjs
}
from
'dayjs'
;
import
{
Dayjs
}
from
'dayjs'
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
NoticeTemplate
}
from
'./NoticeTemplate'
;
import
{
NoticeTemplate
}
from
'./NoticeTemplate'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
NoticeTemplate_TemplateType
}
from
'./NoticeTemplate'
;
import
{
NoticeTemplate_TemplateType
}
from
'./NoticeTemplate'
;
// endregion
// endregion
/**
/**
*/
*/
export
class
NoticeMessage
{
export
class
NoticeMessage
{
/**
/**
...
...
aus-front/lib/src/entity/finance/entity/OrderTransaction.ts
View file @
d92432b
import
{
Dayjs
}
from
'dayjs'
;
import
{
Dayjs
}
from
'dayjs'
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
AuctionOrder
}
from
'../../auction/entity/AuctionOrder'
;
import
{
AuctionOrder
}
from
'../../auction/entity/AuctionOrder'
;
import
{
AuditState
}
from
'../../enum_types'
;
import
{
AuditState
}
from
'../../enum_types'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
// endregion
// endregion
/**
/**
* 订单交易(OrderTransaction)实体类
* 订单交易(OrderTransaction)实体类
*/
*/
export
class
OrderTransaction
extends
AuditingTimeEntity
{
export
class
OrderTransaction
extends
AuditingTimeEntity
{
...
@@ -64,12 +63,12 @@ export class OrderTransaction extends AuditingTimeEntity {
...
@@ -64,12 +63,12 @@ export class OrderTransaction extends AuditingTimeEntity {
// endregion
// endregion
}
}
/**
/**
* 支付类型
* 支付类型
* WXPAY 线上支付
* WXPAY 线上支付
* OFFLINE 现场支付
* OFFLINE 现场支付
* BANK_TRANSFER 银行转账
* BANK_TRANSFER 银行转账
*/
*/
export
type
OrderTransaction_PaymentType
=
'WXPAY'
|
'OFFLINE'
|
'BANK_TRANSFER'
;
export
type
OrderTransaction_PaymentType
=
'WXPAY'
|
'OFFLINE'
|
'BANK_TRANSFER'
;
export
const
ORDER_TRANSACTION_PAYMENT_TYPES
=
[
'WXPAY'
,
'OFFLINE'
,
'BANK_TRANSFER'
];
export
const
ORDER_TRANSACTION_PAYMENT_TYPES
=
[
'WXPAY'
,
'OFFLINE'
,
'BANK_TRANSFER'
];
aus-front/lib/src/entity/security/entity/User.ts
View file @
d92432b
import
{
Dayjs
}
from
'dayjs'
;
import
{
Dayjs
}
from
'dayjs'
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
Role
}
from
'./Role'
;
import
{
Role
}
from
'./Role'
;
import
{
Venue
}
from
'../../venue/entity/Venue'
;
import
{
Venue
}
from
'../../venue/entity/Venue'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
// endregion
// endregion
/**
/**
* 系统管理员
* 系统管理员
*/
*/
export
class
User
extends
AuditingEntity
{
export
class
User
extends
AuditingEntity
{
...
@@ -68,7 +67,7 @@ export class User extends AuditingEntity {
...
@@ -68,7 +67,7 @@ export class User extends AuditingEntity {
venues
:
Venue
[];
venues
:
Venue
[];
// region 前端扩展定义属性及方法区
// region 前端扩展定义属性及方法区
verifyPassword
:
string
;
verifyPassword
:
string
;
// endregion
// endregion
}
}
aus-front/lib/src/entity/vehicle/entity/Vehicle.ts
View file @
d92432b
import
{
Dayjs
}
from
'dayjs'
;
import
{
Dayjs
}
from
'dayjs'
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
AuditingTimeEntity
,
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
import
{
AuctionVehicle
}
from
'../../auction/entity/AuctionVehicle'
;
import
{
AuctionVehicle
}
from
'../../auction/entity/AuctionVehicle'
;
import
{
ReleaseOrder
}
from
'../../auction/entity/ReleaseOrder'
;
import
{
ReleaseOrder
}
from
'../../auction/entity/ReleaseOrder'
;
import
{
HistoryCondition
}
from
'./HistoryCondition'
;
import
{
HistoryCondition
}
from
'./HistoryCondition'
;
...
@@ -18,10 +18,9 @@ import {BaseInfo} from './BaseInfo';
...
@@ -18,10 +18,9 @@ import {BaseInfo} from './BaseInfo';
import
{
CoreSpecs
}
from
'./CoreSpecs'
;
import
{
CoreSpecs
}
from
'./CoreSpecs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
import
{
FileInfo
}
from
"../../../core/bean/FileInfo"
;
// endregion
// endregion
/**
/**
* 库存车辆(Vehicle)实体类
* 库存车辆(Vehicle)实体类
*/
*/
export
class
Vehicle
extends
AuditingEntity
{
export
class
Vehicle
extends
AuditingEntity
{
...
@@ -63,7 +62,7 @@ export class Vehicle extends AuditingEntity {
...
@@ -63,7 +62,7 @@ export class Vehicle extends AuditingEntity {
ownerInfo
:
OwnerInfo
;
ownerInfo
:
OwnerInfo
;
/**
/**
* 车型数据json,
* 车型数据json,
json字段参考查博士文档https://doc.chaboshi.cn/web/shareDoc/f98cbf2e13c37f7fd39ccdaf2b61a295
json字段参考查博士文档https://doc.chaboshi.cn/web/shareDoc/f98cbf2e13c37f7fd39ccdaf2b61a295
*/
*/
carModelData
:
string
;
carModelData
:
string
;
/**
/**
...
@@ -167,11 +166,11 @@ export class Vehicle extends AuditingEntity {
...
@@ -167,11 +166,11 @@ export class Vehicle extends AuditingEntity {
appraisePrices
:
AppraisePrice
[];
appraisePrices
:
AppraisePrice
[];
// region 前端扩展定义属性及方法区
// region 前端扩展定义属性及方法区
disabled
:
boolean
;
disabled
:
boolean
;
// endregion
// endregion
}
}
/**
/**
* INVENTORY 待入库
* INVENTORY 待入库
* VENUE 场地待维护
* VENUE 场地待维护
* TO_BE_PRICED 待定价
* TO_BE_PRICED 待定价
...
@@ -187,27 +186,13 @@ export class Vehicle extends AuditingEntity {
...
@@ -187,27 +186,13 @@ export class Vehicle extends AuditingEntity {
* COMPLETED 已完成
* COMPLETED 已完成
* CANCELED 已取消
* CANCELED 已取消
*/
*/
export
type
Vehicle_VehicleState
=
export
type
Vehicle_VehicleState
=
'INVENTORY'
|
'VENUE'
|
'TO_BE_PRICED'
|
'PRICED'
|
'PENDING_AUCTION'
|
'WAIT_AUCTION'
|
'PREVIEW'
|
'AUCTIONING'
|
'CONTRACT_UNSIGNED'
|
'UNPAID'
|
'WAIT_PICKUP'
|
'TRANSFERRING'
|
'COMPLETED'
|
'CANCELED'
;
'INVENTORY'
export
const
VEHICLE_VEHICLE_STATES
=
[
'INVENTORY'
,
'VENUE'
,
'TO_BE_PRICED'
,
'PRICED'
,
'PENDING_AUCTION'
,
'WAIT_AUCTION'
,
'PREVIEW'
,
'AUCTIONING'
,
'CONTRACT_UNSIGNED'
,
'UNPAID'
,
'WAIT_PICKUP'
,
'TRANSFERRING'
,
'COMPLETED'
,
'CANCELED'
];
|
'VENUE'
|
'TO_BE_PRICED'
|
'PRICED'
|
'PENDING_AUCTION'
|
'WAIT_AUCTION'
|
'PREVIEW'
|
'AUCTIONING'
|
'CONTRACT_UNSIGNED'
|
'UNPAID'
|
'WAIT_PICKUP'
|
'TRANSFERRING'
|
'COMPLETED'
|
'CANCELED'
;
export
const
VEHICLE_VEHICLE_STATES
=
[
'INVENTORY'
,
'VENUE'
,
'TO_BE_PRICED'
,
'PRICED'
,
'PENDING_AUCTION'
,
'WAIT_AUCTION'
,
'PREVIEW'
,
'AUCTIONING'
,
'CONTRACT_UNSIGNED'
,
'UNPAID'
,
'WAIT_PICKUP'
,
'TRANSFERRING'
,
'COMPLETED'
,
'CANCELED'
];
/**
/**
* RECEIVE 收车端
* RECEIVE 收车端
* AUCTION 拍卖端
* AUCTION 拍卖端
*/
*/
export
type
Vehicle_VehicleSource
=
'RECEIVE'
|
'AUCTION'
;
export
type
Vehicle_VehicleSource
=
'RECEIVE'
|
'AUCTION'
;
export
const
VEHICLE_VEHICLE_SOURCES
=
[
'RECEIVE'
,
'AUCTION'
];
export
const
VEHICLE_VEHICLE_SOURCES
=
[
'RECEIVE'
,
'AUCTION'
];
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