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 06f50504
authored
Jan 06, 2026
by
gonglei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
加入框架代码
1 parent
71750b39
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
73 changed files
with
1385 additions
and
560 deletions
aus-admin/src/main/java/com/glsx/usedcar/web/rest/finance/RechargeController.java
aus-admin/src/main/resources/privileges.json
aus-api/src/main/java/com/glsx/usedcar/web/api/finance/RechargeController.java
aus-core/src/main/java/com/glsx/usedcar/module/auction/service/AbstractAuctionService.java
aus-core/src/main/java/com/glsx/usedcar/module/finance/dao/RechargeDao.java
aus-core/src/main/java/com/glsx/usedcar/module/finance/entity/Deposit.java
aus-core/src/main/java/com/glsx/usedcar/module/finance/entity/Recharge.java
aus-core/src/main/java/com/glsx/usedcar/module/finance/service/TransactionService.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/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/DeliveryOrderController.ts
aus-front/admin/src/api/DepositController.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/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/router/FinanceRouter.ts
aus-front/admin/src/views/finance/recharge/RechargeForm.vue
aus-front/admin/src/views/finance/recharge/RechargePage.vue
aus-front/app/src/api/AccountController.ts
aus-front/app/src/api/AgreementController.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/BankAccountController.ts
aus-front/app/src/api/BidController.ts
aus-front/app/src/api/CarouselController.ts
aus-front/app/src/api/ConfigController.ts
aus-front/app/src/api/DepositController.ts
aus-front/app/src/api/DictionaryController.ts
aus-front/app/src/api/ESignController.ts
aus-front/app/src/api/FavoriteController.ts
aus-front/app/src/api/GscApiController.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/app/src/components/AuctionVehicleItem.vue
aus-front/app/src/module/deposit/DepositPage.vue
aus-front/app/src/module/deposit/RechargeRefundPage.vue
aus-front/app/src/module/order/AuctionOrderPage.vue
aus-front/app/src/module/order/BidPage.vue
aus-front/app/src/module/order/CancelOrderPage.vue
aus-front/app/src/module/order/OrderVehicleItem.vue
aus-front/app/src/pages.json
aus-front/app/src/pages/tabbar/ProfilePage.vue
aus-front/app/src/pages/tabbar/ServicePage.vue
aus-front/app/src/pages/tabbar/home/SmallVehicleItem.vue
aus-front/lib/src/entity/auction/entity/Auction.ts
aus-front/lib/src/entity/finance/entity/Deposit.ts
aus-front/lib/src/entity/finance/entity/Recharge.ts
doc/aus.xml
doc/sql/update.sql
aus-admin/src/main/java/com/glsx/usedcar/web/rest/finance/RechargeController.java
0 → 100644
View file @
06f5050
package
com
.
glsx
.
usedcar
.
web
.
rest
.
finance
;
import
com.github.binarywang.wxpay.exception.WxPayException
;
import
com.glsx.usedcar.module.account.entity.Account
;
import
com.glsx.usedcar.module.finance.entity.Recharge
;
import
com.glsx.usedcar.module.finance.entity.Recharge_
;
import
com.glsx.usedcar.module.finance.entity.Withdraw
;
import
com.glsx.usedcar.module.finance.service.TransactionService
;
import
com.glsx.usedcar.module.meta.AuditState
;
import
com.glsx.usedcar.module.security.entity.User
;
import
com.glsx.usedcar.module.track.entity.ApproveHistory
;
import
jakarta.annotation.Resource
;
import
jakarta.persistence.criteria.JoinType
;
import
jakarta.validation.Valid
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.data.domain.Page
;
import
org.springframework.security.core.Authentication
;
import
org.springframework.web.bind.annotation.*
;
import
org.summerframework.orm.paging.Pagination
;
import
java.util.List
;
import
java.util.Map
;
@Slf4j
@RestController
@RequestMapping
(
"/rest/recharge"
)
public
class
RechargeController
{
@Resource
private
TransactionService
transactionService
;
@PostMapping
(
"pageRecharge"
)
public
Page
<
Recharge
>
pageRecharge
(
@RequestBody
Pagination
<
Recharge
>
pagination
)
{
// pagination.addFilter(account, Recharge_.account);
pagination
.
addFetch
(
root
->
root
.
fetch
(
Recharge_
.
account
,
JoinType
.
LEFT
));
pagination
.
addCondition
((
root
,
query
,
builder
)
->
root
.
get
(
Recharge_
.
paymentTime
).
isNotNull
());
return
transactionService
.
pageRecharge
(
pagination
);
}
@GetMapping
(
"getRechargeCountByAuditState"
)
public
Map
<?,
Long
>
getRechargeCountByAuditState
()
{
return
transactionService
.
getRechargeCountByAuditState
();
}
@GetMapping
(
"getRechargesByAccountId"
)
public
List
<
Recharge
>
getRechargesByAccountId
(
@RequestParam
int
accountId
)
{
List
<
Recharge
>
recharges
=
transactionService
.
getRechargesByAccountId
(
accountId
,
AuditState
.
REJECTED
);
return
recharges
;
}
/**
* 修改提现申请
*
* @param approveHistory
* @return
*/
@PostMapping
(
"auditRecharge"
)
public
Recharge
auditRecharge
(
@Valid
@RequestBody
ApproveHistory
approveHistory
,
Authentication
authentication
)
throws
WxPayException
{
approveHistory
.
setUser
((
User
)
authentication
.
getPrincipal
());
return
transactionService
.
auditRecharge
(
approveHistory
);
}
}
aus-admin/src/main/resources/privileges.json
View file @
06f5050
...
@@ -1551,6 +1551,81 @@
...
@@ -1551,6 +1551,81 @@
]
]
},
},
{
{
"code"
:
"finance_recharge"
,
"name"
:
"提现审核"
,
"type"
:
"MENU"
,
"enabled"
:
true
,
"value"
:
"/finance/recharge"
,
"children"
:
[
{
"code"
:
"recharge_1"
,
"name"
:
"查看提现详情页"
,
"type"
:
"BUTTON"
,
"enabled"
:
true
},
{
"code"
:
"recharge_2"
,
"name"
:
"查看完整的申请人账号"
,
"type"
:
"BUTTON"
,
"enabled"
:
true
},
{
"code"
:
"recharge_3"
,
"name"
:
"查看完整的收款账户信息"
,
"type"
:
"BUTTON"
,
"enabled"
:
true
},
{
"code"
:
"recharge_4"
,
"name"
:
"查看用户冻结明细"
,
"type"
:
"BUTTON"
,
"enabled"
:
false
},
{
"code"
:
"recharge_5"
,
"name"
:
"执行提现初审(通过/驳回)"
,
"type"
:
"BUTTON"
,
"enabled"
:
true
},
{
"code"
:
"recharge_6"
,
"name"
:
"执行提现打款"
,
"type"
:
"BUTTON"
,
"enabled"
:
false
},
{
"code"
:
"recharge_8"
,
"name"
:
"查看数据统计概览"
,
"type"
:
"BUTTON"
,
"enabled"
:
true
},
{
"code"
:
"recharge_9"
,
"name"
:
"查看“全部”Tab"
,
"type"
:
"BUTTON"
,
"enabled"
:
true
},
{
"code"
:
"recharge_10"
,
"name"
:
"查看“已通过”Tab"
,
"type"
:
"BUTTON"
,
"enabled"
:
true
},
{
"code"
:
"recharge_11"
,
"name"
:
"查看“已驳回”Tab"
,
"type"
:
"BUTTON"
,
"enabled"
:
true
},
{
"code"
:
"recharge_14"
,
"name"
:
"导出提现审核记录"
,
"type"
:
"BUTTON"
,
"enabled"
:
true
}
]
},
{
"code"
:
"reports"
,
"code"
:
"reports"
,
"name"
:
"财务报表"
,
"name"
:
"财务报表"
,
"type"
:
"MENU"
,
"type"
:
"MENU"
,
...
...
aus-api/src/main/java/com/glsx/usedcar/web/api/finance/RechargeController.java
View file @
06f5050
...
@@ -6,13 +6,17 @@ import com.github.binarywang.wxpay.bean.result.enums.TradeTypeEnum;
...
@@ -6,13 +6,17 @@ import com.github.binarywang.wxpay.bean.result.enums.TradeTypeEnum;
import
com.github.binarywang.wxpay.exception.WxPayException
;
import
com.github.binarywang.wxpay.exception.WxPayException
;
import
com.github.binarywang.wxpay.service.WxPayService
;
import
com.github.binarywang.wxpay.service.WxPayService
;
import
com.glsx.usedcar.module.account.entity.Account
;
import
com.glsx.usedcar.module.account.entity.Account
;
import
com.glsx.usedcar.module.finance.entity.Deposit_
;
import
com.glsx.usedcar.module.finance.entity.Recharge
;
import
com.glsx.usedcar.module.finance.entity.Recharge
;
import
com.glsx.usedcar.module.finance.entity.Recharge_
;
import
com.glsx.usedcar.module.finance.service.TransactionService
;
import
com.glsx.usedcar.module.finance.service.TransactionService
;
import
jakarta.annotation.Resource
;
import
jakarta.annotation.Resource
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.data.domain.Page
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
org.summerframework.core.exception.FieldException
;
import
org.summerframework.core.exception.FieldException
;
import
org.summerframework.orm.paging.Pagination
;
import
static
com
.
glsx
.
usedcar
.
web
.
WebConstants
.
LOGIN_ACCOUNT
;
import
static
com
.
glsx
.
usedcar
.
web
.
WebConstants
.
LOGIN_ACCOUNT
;
...
@@ -59,6 +63,25 @@ public class RechargeController {
...
@@ -59,6 +63,25 @@ public class RechargeController {
return
result
;
return
result
;
}
}
@PostMapping
(
"pageRecharge"
)
public
Page
<
Recharge
>
pageRecharge
(
@RequestBody
Pagination
<
Recharge
>
pagination
,
@RequestAttribute
(
LOGIN_ACCOUNT
)
Account
account
)
{
pagination
.
addFilter
(
account
,
Recharge_
.
account
);
pagination
.
addCondition
((
root
,
query
,
builder
)
->
root
.
get
(
Recharge_
.
paymentTime
).
isNotNull
());
return
transactionService
.
pageRecharge
(
pagination
);
}
/**
* 提交充值退款申请
*
* @param rechargeId
* @param account
* @return
* @throws FieldException
*/
@PostMapping
(
"refundRecharge"
)
public
Recharge
refundRecharge
(
@RequestParam
long
rechargeId
,
@RequestAttribute
(
LOGIN_ACCOUNT
)
Account
account
)
throws
FieldException
{
return
transactionService
.
refundRecharge
(
rechargeId
);
}
// /**
// /**
...
...
aus-core/src/main/java/com/glsx/usedcar/module/auction/service/AbstractAuctionService.java
View file @
06f5050
...
@@ -47,10 +47,10 @@ public abstract class AbstractAuctionService {
...
@@ -47,10 +47,10 @@ public abstract class AbstractAuctionService {
protected
MessagesenderProperties
messagesenderProperties
;
protected
MessagesenderProperties
messagesenderProperties
;
@Resource
@Resource
pr
ivate
WxPayService
wxService
;
pr
otected
WxPayService
wxService
;
@Value
(
"${wx.pay.notifyUrl}"
)
@Value
(
"${wx.pay.notifyUrl}"
)
pr
ivate
String
notifyUrl
;
pr
otected
String
notifyUrl
;
/**
/**
* 通过订单查询用户的保证金
* 通过订单查询用户的保证金
...
@@ -114,7 +114,6 @@ public abstract class AbstractAuctionService {
...
@@ -114,7 +114,6 @@ public abstract class AbstractAuctionService {
amount
.
setRefund
((
int
)
(
deposit
.
getAmount
()
*
100
));
amount
.
setRefund
((
int
)
(
deposit
.
getAmount
()
*
100
));
request
.
setAmount
(
amount
);
request
.
setAmount
(
amount
);
request
.
setOutTradeNo
(
deposit
.
getOutTradeNo
());
request
.
setOutTradeNo
(
deposit
.
getOutTradeNo
());
request
.
setOutRefundNo
(
deposit
.
getOutTradeNo
());
request
.
setTransactionId
(
deposit
.
getTransactionId
());
request
.
setTransactionId
(
deposit
.
getTransactionId
());
request
.
setNotifyUrl
(
notifyUrl
+
"/refund"
);
request
.
setNotifyUrl
(
notifyUrl
+
"/refund"
);
WxPayRefundV3Result
wxPayRefundV3Result
=
this
.
wxService
.
refundV3
(
request
);
WxPayRefundV3Result
wxPayRefundV3Result
=
this
.
wxService
.
refundV3
(
request
);
...
...
aus-core/src/main/java/com/glsx/usedcar/module/finance/dao/RechargeDao.java
View file @
06f5050
package
com
.
glsx
.
usedcar
.
module
.
finance
.
dao
;
package
com
.
glsx
.
usedcar
.
module
.
finance
.
dao
;
import
com.glsx.usedcar.module.finance.entity.Recharge
;
import
com.glsx.usedcar.module.finance.entity.Recharge
;
import
com.glsx.usedcar.module.finance.entity.Withdraw
;
import
com.glsx.usedcar.module.meta.AuditState
;
import
org.springframework.data.jpa.repository.EntityGraph
;
import
org.springframework.data.jpa.repository.EntityGraph
;
import
org.springframework.data.jpa.repository.JpaSpecificationExecutor
;
import
org.springframework.data.jpa.repository.JpaSpecificationExecutor
;
import
org.springframework.data.jpa.repository.Query
;
import
org.springframework.data.jpa.repository.Query
;
import
org.summerframework.orm.BaseRepository
;
import
org.summerframework.orm.BaseRepository
;
import
java.util.List
;
import
java.util.Optional
;
import
java.util.Optional
;
public
interface
RechargeDao
extends
BaseRepository
<
Recharge
,
Long
>,
JpaSpecificationExecutor
<
Recharge
>
{
public
interface
RechargeDao
extends
BaseRepository
<
Recharge
,
Long
>,
JpaSpecificationExecutor
<
Recharge
>
{
...
@@ -13,5 +16,7 @@ public interface RechargeDao extends BaseRepository<Recharge, Long>, JpaSpecific
...
@@ -13,5 +16,7 @@ public interface RechargeDao extends BaseRepository<Recharge, Long>, JpaSpecific
@EntityGraph
(
attributePaths
=
{
"account"
})
@EntityGraph
(
attributePaths
=
{
"account"
})
Optional
<
Recharge
>
findTopByOutTradeNoAndOpenId
(
String
outTradeNo
,
String
openId
);
Optional
<
Recharge
>
findTopByOutTradeNoAndOpenId
(
String
outTradeNo
,
String
openId
);
List
<
Recharge
>
findByAccount_AccountIdAndAuditStateOrderByCreateTimeDesc
(
int
accountId
,
AuditState
auditState
);
}
}
aus-core/src/main/java/com/glsx/usedcar/module/finance/entity/Deposit.java
View file @
06f5050
...
@@ -78,23 +78,6 @@ public class Deposit extends AuditingTimeEntity {
...
@@ -78,23 +78,6 @@ public class Deposit extends AuditingTimeEntity {
@Column
@Column
private
LocalDateTime
paymentTime
;
private
LocalDateTime
paymentTime
;
/**
* 退款时间
*/
@Column
private
LocalDateTime
refundTime
;
/**
* 退款成功时间
*/
@Column
private
LocalDateTime
refundSuccessTime
;
// /**
// * 退款渠道
// */
// @Column
// private String refundChannel;
/**
/**
* 退款备注
* 退款备注
...
@@ -115,6 +98,18 @@ public class Deposit extends AuditingTimeEntity {
...
@@ -115,6 +98,18 @@ public class Deposit extends AuditingTimeEntity {
private
String
outRefundNo
;
private
String
outRefundNo
;
/**
/**
* 退款时间
*/
@Column
private
LocalDateTime
refundTime
;
/**
* 退款成功时间
*/
@Column
private
LocalDateTime
refundSuccessTime
;
/**
* 退款类型
* 退款类型
*/
*/
@Column
@Column
...
...
aus-core/src/main/java/com/glsx/usedcar/module/finance/entity/Recharge.java
View file @
06f5050
package
com
.
glsx
.
usedcar
.
module
.
finance
.
entity
;
package
com
.
glsx
.
usedcar
.
module
.
finance
.
entity
;
import
com.glsx.usedcar.module.account.entity.Account
;
import
com.glsx.usedcar.module.account.entity.Account
;
import
com.glsx.usedcar.module.meta.AuditState
;
import
jakarta.persistence.*
;
import
jakarta.persistence.*
;
import
jakarta.validation.constraints.NotNull
;
import
jakarta.validation.constraints.NotNull
;
import
lombok.Getter
;
import
lombok.Getter
;
...
@@ -67,6 +68,62 @@ public class Recharge implements java.io.Serializable {
...
@@ -67,6 +68,62 @@ public class Recharge implements java.io.Serializable {
@Column
@Column
private
String
transactionId
;
private
String
transactionId
;
/**
* 退款时间
*/
@Column
private
LocalDateTime
refundTime
;
/**
* 退款成功时间
*/
@Column
private
LocalDateTime
refundSuccessTime
;
/**
* 微信退款订单号
*/
@Column
private
String
outRefundNo
;
/**
* 退款状态
*/
@Enumerated
(
EnumType
.
STRING
)
@Column
(
nullable
=
false
,
length
=
32
)
private
Deposit
.
RefundState
refundState
;
/**
* 审核时间
*/
@Column
(
nullable
=
false
)
private
LocalDateTime
auditTime
;
/**
* 审核备注
*/
@Column
private
String
auditRemark
;
/**
* 驳回原因
*/
@Column
private
String
rejectReason
;
/**
* 审核状态
*/
@Enumerated
(
EnumType
.
STRING
)
@Column
(
nullable
=
false
,
length
=
32
)
private
AuditState
auditState
;
public
Recharge
(
Account
account
,
String
openId
,
double
amount
)
{
public
Recharge
(
Account
account
,
String
openId
,
double
amount
)
{
this
.
account
=
account
;
this
.
account
=
account
;
this
.
openId
=
openId
;
this
.
openId
=
openId
;
...
...
aus-core/src/main/java/com/glsx/usedcar/module/finance/service/TransactionService.java
View file @
06f5050
package
com
.
glsx
.
usedcar
.
module
.
finance
.
service
;
package
com
.
glsx
.
usedcar
.
module
.
finance
.
service
;
import
com.github.binarywang.wxpay.bean.notify.WxPayRefundNotifyV3Result
;
import
com.github.binarywang.wxpay.bean.notify.WxPayRefundNotifyV3Result
;
import
com.github.binarywang.wxpay.bean.request.WxPayRefundV3Request
;
import
com.github.binarywang.wxpay.bean.result.WxPayRefundV3Result
;
import
com.github.binarywang.wxpay.bean.transfer.TransferBillsRequest
;
import
com.github.binarywang.wxpay.bean.transfer.TransferBillsResult
;
import
com.github.binarywang.wxpay.exception.WxPayException
;
import
com.glsx.usedcar.gsc.GscApiInvoker
;
import
com.glsx.usedcar.gsc.GscApiInvoker
;
import
com.glsx.usedcar.gsc.GscInvoker
;
import
com.glsx.usedcar.gsc.GscInvoker
;
import
com.glsx.usedcar.module.account.dao.AccountDao
;
import
com.glsx.usedcar.module.account.dao.AccountDao
;
...
@@ -33,6 +38,7 @@ import org.springframework.data.jpa.domain.Specification;
...
@@ -33,6 +38,7 @@ import org.springframework.data.jpa.domain.Specification;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Propagation
;
import
org.springframework.transaction.annotation.Propagation
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.util.StringUtils
;
import
org.summerframework.core.exception.FieldException
;
import
org.summerframework.core.exception.FieldException
;
import
org.summerframework.core.util.DateTimeUtils
;
import
org.summerframework.core.util.DateTimeUtils
;
import
org.summerframework.orm.UpdateField
;
import
org.summerframework.orm.UpdateField
;
...
@@ -40,10 +46,7 @@ import org.summerframework.orm.paging.Pagination;
...
@@ -40,10 +46,7 @@ import org.summerframework.orm.paging.Pagination;
import
java.time.LocalDate
;
import
java.time.LocalDate
;
import
java.time.LocalDateTime
;
import
java.time.LocalDateTime
;
import
java.util.List
;
import
java.util.*
;
import
java.util.Locale
;
import
java.util.Map
;
import
java.util.Optional
;
/**
/**
* 交易明细(Transaction) 服务实现类
* 交易明细(Transaction) 服务实现类
...
@@ -97,6 +100,10 @@ public class TransactionService extends AbstractAuctionService {
...
@@ -97,6 +100,10 @@ public class TransactionService extends AbstractAuctionService {
return
transactionDao
.
findAll
(
pagination
,
pagination
.
getPageRequest
());
return
transactionDao
.
findAll
(
pagination
,
pagination
.
getPageRequest
());
}
}
public
Page
<
Recharge
>
pageRecharge
(
Pagination
<
Recharge
>
pagination
)
{
return
rechargeDao
.
findAll
(
pagination
,
pagination
.
getPageRequest
());
}
/**
/**
* 通过ID查询一个订单交易
* 通过ID查询一个订单交易
...
@@ -232,6 +239,16 @@ public class TransactionService extends AbstractAuctionService {
...
@@ -232,6 +239,16 @@ public class TransactionService extends AbstractAuctionService {
return
rechargeDao
.
save
(
recharge
);
return
rechargeDao
.
save
(
recharge
);
}
}
@Transactional
(
propagation
=
Propagation
.
REQUIRED
,
rollbackFor
=
Exception
.
class
)
public
Recharge
refundRecharge
(
long
rechargeId
)
throws
FieldException
{
Recharge
recharge
=
rechargeDao
.
findById
(
rechargeId
).
orElseThrow
();
if
(
recharge
.
getRefundState
()
!=
Deposit
.
RefundState
.
UNREFUND
)
{
throw
new
FieldException
(
"refundState"
,
recharge
,
"订单已退款,不能再次退款"
);
}
recharge
.
setAuditState
(
AuditState
.
UNAUDITED
);
return
recharge
;
}
/**
/**
* 充值结果通知
* 充值结果通知
*
*
...
@@ -352,4 +369,42 @@ public class TransactionService extends AbstractAuctionService {
...
@@ -352,4 +369,42 @@ public class TransactionService extends AbstractAuctionService {
return
orderTransaction
;
return
orderTransaction
;
}
}
public
Map
<?,
Long
>
getRechargeCountByAuditState
()
{
return
rechargeDao
.
countAndGroupBy
((
Specification
<
Recharge
>)
(
root
,
query
,
criteriaBuilder
)
->
criteriaBuilder
.
isNotNull
(
root
.
get
(
Recharge_
.
auditState
)),
Withdraw_
.
auditState
);
}
public
List
<
Recharge
>
getRechargesByAccountId
(
int
accountId
,
AuditState
auditState
)
{
return
rechargeDao
.
findByAccount_AccountIdAndAuditStateOrderByCreateTimeDesc
(
accountId
,
auditState
);
}
@Transactional
(
propagation
=
Propagation
.
REQUIRED
,
rollbackFor
=
Exception
.
class
)
public
Recharge
auditRecharge
(
ApproveHistory
approveHistory
)
throws
WxPayException
{
Recharge
recharge
=
rechargeDao
.
findById
((
long
)
approveHistory
.
getApproveId
()).
orElseThrow
(()
->
new
ObjectNotFoundException
(
approveHistory
.
getApproveId
(),
Withdraw
.
class
.
getSimpleName
()));
if
(
approveHistory
.
getApproveResult
()
==
AuditState
.
AUDITED
&&
recharge
.
getAuditState
()
!=
AuditState
.
AUDITED
)
{
if
(!
StringUtils
.
hasText
(
recharge
.
getOutTradeNo
()))
{
throw
new
WxPayException
(
"退款订单号为空,此订单未支付,不能进行退款操作"
);
}
WxPayRefundV3Request
request
=
new
WxPayRefundV3Request
();
WxPayRefundV3Request
.
Amount
amount
=
new
WxPayRefundV3Request
.
Amount
();
amount
.
setCurrency
(
"CNY"
);
amount
.
setTotal
((
int
)
(
Math
.
abs
(
recharge
.
getAmount
())
*
100
));
amount
.
setRefund
((
int
)
(
recharge
.
getAmount
()
*
100
));
request
.
setAmount
(
amount
);
request
.
setOutTradeNo
(
recharge
.
getOutTradeNo
());
request
.
setTransactionId
(
recharge
.
getTransactionId
());
request
.
setNotifyUrl
(
notifyUrl
+
"/refund"
);
WxPayRefundV3Result
wxPayRefundV3Result
=
this
.
wxService
.
refundV3
(
request
);
recharge
.
setRefundTime
(
LocalDateTime
.
now
());
recharge
.
setOutRefundNo
(
wxPayRefundV3Result
.
getOutRefundNo
());
recharge
.
setRefundState
(
Deposit
.
RefundState
.
REFUNDING
);
}
recharge
.
setRejectReason
(
approveHistory
.
getRejectReason
());
recharge
.
setAuditTime
(
LocalDateTime
.
now
());
recharge
.
setAuditState
(
approveHistory
.
getApproveResult
());
recharge
.
setAuditRemark
(
approveHistory
.
getRemark
());
approveHistory
.
setApproveType
(
ApproveHistory
.
ApproveType
.
WITHDRAW
);
approveHistoryDao
.
save
(
approveHistory
);
return
recharge
;
}
}
}
\ No newline at end of file
\ No newline at end of file
aus-front/admin/src/api/AccountController.ts
View file @
06f5050
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"
;
...
@@ -10,27 +11,32 @@ import {NameCount} from "lib/src/entity/analysis/domain/NameCount";
...
@@ -10,27 +11,32 @@ import {NameCount} from "lib/src/entity/analysis/domain/NameCount";
import
{
AccountProjection
}
from
"lib/src/entity/account/domain/AccountProjection"
;
import
{
AccountProjection
}
from
"lib/src/entity/account/domain/AccountProjection"
;
import
{
ProvinceCount
}
from
"lib/src/entity/account/domain/ProvinceCount"
;
import
{
ProvinceCount
}
from
"lib/src/entity/account/domain/ProvinceCount"
;
import
{
AccountDateStat
}
from
"lib/src/entity/account/domain/AccountDateStat"
;
import
{
AccountDateStat
}
from
"lib/src/entity/account/domain/AccountDateStat"
;
// 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
[]
>>>
{
return
axios
.
get
(
'account/accountTagQrCode'
,
{
params
:
{
code
:
code
}},
config
);
}
/**
/**
* 新增用户分组
* 新增用户分组
* @param accountTag
* @param accountTag
* @return AccountTag
* @return AccountTag
*/
*/
static
addAccountTag
(
axios
:
AxiosStatic
,
accountTag
:
any
):
Promise
<
AxiosResponse
<
AccountTag
>>
{
static
addAccountTag
(
axios
:
AxiosStatic
,
accountTag
:
any
):
Promise
<
AxiosResponse
<
AccountTag
>>
{
return
axios
.
post
(
'account/addAccountTag'
,
accountTag
);
return
axios
.
post
(
'account/addAccountTag'
,
accountTag
);
}
}
/**
/**
*/
*/
static
addTagAccounts
(
axios
:
AxiosStatic
,
tagAccount
:
any
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
addTagAccounts
(
axios
:
AxiosStatic
,
tagAccount
:
any
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'account/addTagAccounts'
,
tagAccount
);
return
axios
.
post
(
'account/addTagAccounts'
,
tagAccount
);
}
}
...
@@ -39,7 +45,7 @@ export class AccountController {
...
@@ -39,7 +45,7 @@ export class AccountController {
* @param approveHistory
* @param approveHistory
* @return ApproveHistory
* @return ApproveHistory
*/
*/
static
auditAccount
(
axios
:
AxiosStatic
,
approveHistory
:
any
):
Promise
<
AxiosResponse
<
ApproveHistory
>>
{
static
auditAccount
(
axios
:
AxiosStatic
,
approveHistory
:
any
):
Promise
<
AxiosResponse
<
ApproveHistory
>>
{
return
axios
.
post
(
'account/auditAccount'
,
approveHistory
);
return
axios
.
post
(
'account/auditAccount'
,
approveHistory
);
}
}
...
@@ -49,19 +55,19 @@ export class AccountController {
...
@@ -49,19 +55,19 @@ export class AccountController {
* @param authentication
* @param authentication
* @return ApproveHistory
* @return ApproveHistory
*/
*/
static
auditAccounts
(
axios
:
AxiosStatic
,
approveHistory
:
any
):
Promise
<
AxiosResponse
<
ApproveHistory
>>
{
static
auditAccounts
(
axios
:
AxiosStatic
,
approveHistory
:
any
):
Promise
<
AxiosResponse
<
ApproveHistory
>>
{
return
axios
.
post
(
'account/auditAccounts'
,
approveHistory
);
return
axios
.
post
(
'account/auditAccounts'
,
approveHistory
);
}
}
/**
/**
*/
*/
static
enableAccount
(
axios
:
AxiosStatic
,
disableReason
:
any
,
accountId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
enableAccount
(
axios
:
AxiosStatic
,
disableReason
:
any
,
accountId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'account/enableAccount'
,
disableReason
,
{
params
:
{
accountId
:
accountId
,
enabled
:
enabled
}});
return
axios
.
post
(
'account/enableAccount'
,
disableReason
,
{
params
:
{
accountId
:
accountId
,
enabled
:
enabled
}});
}
}
/**
/**
*/
*/
static
exportAccount
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportAccount
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'account/exportAccount'
,
pagination
,
config
);
return
axios
.
post
(
'account/exportAccount'
,
pagination
,
config
);
}
}
...
@@ -70,51 +76,47 @@ export class AccountController {
...
@@ -70,51 +76,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
}});
}
}
/**
/**
...
@@ -122,25 +124,25 @@ export class AccountController {
...
@@ -122,25 +124,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'
);
}
}
...
@@ -149,7 +151,7 @@ export class AccountController {
...
@@ -149,7 +151,7 @@ export class AccountController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageAccount
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Account
>>>
{
static
pageAccount
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Account
>>>
{
return
axios
.
post
(
'account/pageAccount'
,
pagination
);
return
axios
.
post
(
'account/pageAccount'
,
pagination
);
}
}
...
@@ -160,7 +162,7 @@ export class AccountController {
...
@@ -160,7 +162,7 @@ export class AccountController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageAccountTag
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AccountTag
>>>
{
static
pageAccountTag
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AccountTag
>>>
{
return
axios
.
post
(
'account/pageAccountTag'
,
pagination
);
return
axios
.
post
(
'account/pageAccountTag'
,
pagination
);
}
}
...
@@ -168,7 +170,7 @@ export class AccountController {
...
@@ -168,7 +170,7 @@ export class AccountController {
/**
/**
*/
*/
static
pageAuctionAccount
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Account
>>>
{
static
pageAuctionAccount
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Account
>>>
{
return
axios
.
post
(
'account/pageAuctionAccount'
,
pagination
);
return
axios
.
post
(
'account/pageAuctionAccount'
,
pagination
);
}
}
...
@@ -179,7 +181,7 @@ export class AccountController {
...
@@ -179,7 +181,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
}});
}
}
...
@@ -188,7 +190,7 @@ export class AccountController {
...
@@ -188,7 +190,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
}});
}
}
...
@@ -197,7 +199,7 @@ export class AccountController {
...
@@ -197,7 +199,7 @@ export class AccountController {
* @param account
* @param account
* @return Account
* @return Account
*/
*/
static
updateAccount
(
axios
:
AxiosStatic
,
account
:
any
):
Promise
<
AxiosResponse
<
Account
>>
{
static
updateAccount
(
axios
:
AxiosStatic
,
account
:
any
):
Promise
<
AxiosResponse
<
Account
>>
{
return
axios
.
post
(
'account/updateAccount'
,
account
);
return
axios
.
post
(
'account/updateAccount'
,
account
);
}
}
...
@@ -206,7 +208,7 @@ export class AccountController {
...
@@ -206,7 +208,7 @@ export class AccountController {
* @param accountTag
* @param accountTag
* @return AccountTag
* @return AccountTag
*/
*/
static
updateAccountTag
(
axios
:
AxiosStatic
,
accountTag
:
any
):
Promise
<
AxiosResponse
<
AccountTag
>>
{
static
updateAccountTag
(
axios
:
AxiosStatic
,
accountTag
:
any
):
Promise
<
AxiosResponse
<
AccountTag
>>
{
return
axios
.
post
(
'account/updateAccountTag'
,
accountTag
);
return
axios
.
post
(
'account/updateAccountTag'
,
accountTag
);
}
}
...
...
aus-front/admin/src/api/AgreementController.ts
View file @
06f5050
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"
;
// endregion
// endregion
/**
/**
* 协议管理(Agreement) PI接口
* 协议管理(Agreement) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
AgreementController
{
export
class
AgreementController
{
/**
/**
* 新增协议管理
* 新增协议管理
* @param agreement
* @param agreement
* @return Agreement
* @return Agreement
*/
*/
static
addAgreement
(
axios
:
AxiosStatic
,
agreement
:
any
):
Promise
<
AxiosResponse
<
Agreement
>>
{
static
addAgreement
(
axios
:
AxiosStatic
,
agreement
:
any
):
Promise
<
AxiosResponse
<
Agreement
>>
{
return
axios
.
post
(
'agreement/addAgreement'
,
agreement
);
return
axios
.
post
(
'agreement/addAgreement'
,
agreement
);
}
}
...
@@ -26,13 +26,13 @@ export class AgreementController {
...
@@ -26,13 +26,13 @@ export class AgreementController {
* @param agreementId
* @param agreementId
* @return Agreement
* @return Agreement
*/
*/
static
getAgreementById
(
axios
:
AxiosStatic
,
agreementId
:
number
):
Promise
<
AxiosResponse
<
Agreement
>>
{
static
getAgreementById
(
axios
:
AxiosStatic
,
agreementId
:
number
):
Promise
<
AxiosResponse
<
Agreement
>>
{
return
axios
.
get
(
'agreement/getAgreementById'
,
{
params
:
{
agreementId
:
agreementId
}});
return
axios
.
get
(
'agreement/getAgreementById'
,
{
params
:
{
agreementId
:
agreementId
}});
}
}
/**
/**
*/
*/
static
getAgreementsByKey
(
axios
:
AxiosStatic
,
agreementKey
:
any
):
Promise
<
AxiosResponse
<
Agreement
[]
>>
{
static
getAgreementsByKey
(
axios
:
AxiosStatic
,
agreementKey
:
any
):
Promise
<
AxiosResponse
<
Agreement
[]
>>
{
return
axios
.
get
(
'agreement/getAgreementsByKey'
,
{
params
:
{
agreementKey
:
agreementKey
}});
return
axios
.
get
(
'agreement/getAgreementsByKey'
,
{
params
:
{
agreementKey
:
agreementKey
}});
}
}
...
@@ -41,7 +41,7 @@ export class AgreementController {
...
@@ -41,7 +41,7 @@ export class AgreementController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageAgreement
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Agreement
>>>
{
static
pageAgreement
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Agreement
>>>
{
return
axios
.
post
(
'agreement/pageAgreement'
,
pagination
);
return
axios
.
post
(
'agreement/pageAgreement'
,
pagination
);
}
}
...
@@ -52,7 +52,7 @@ export class AgreementController {
...
@@ -52,7 +52,7 @@ export class AgreementController {
* @param agreementId
* @param agreementId
* @return int
* @return int
*/
*/
static
removeAgreementById
(
axios
:
AxiosStatic
,
agreementId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeAgreementById
(
axios
:
AxiosStatic
,
agreementId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'agreement/removeAgreementById'
,
{
params
:
{
agreementId
:
agreementId
}});
return
axios
.
delete
(
'agreement/removeAgreementById'
,
{
params
:
{
agreementId
:
agreementId
}});
}
}
...
@@ -61,7 +61,7 @@ export class AgreementController {
...
@@ -61,7 +61,7 @@ export class AgreementController {
* @param agreement
* @param agreement
* @return Agreement
* @return Agreement
*/
*/
static
updateAgreement
(
axios
:
AxiosStatic
,
agreement
:
any
):
Promise
<
AxiosResponse
<
Agreement
>>
{
static
updateAgreement
(
axios
:
AxiosStatic
,
agreement
:
any
):
Promise
<
AxiosResponse
<
Agreement
>>
{
return
axios
.
post
(
'agreement/updateAgreement'
,
agreement
);
return
axios
.
post
(
'agreement/updateAgreement'
,
agreement
);
}
}
...
...
aus-front/admin/src/api/AppealController.ts
View file @
06f5050
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"
;
// endregion
// endregion
/**
/**
* 申诉(Appeal) PI接口
* 申诉(Appeal) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
AppealController
{
export
class
AppealController
{
/**
/**
* 修改申诉
* 修改申诉
* @param appeal
* @param appeal
* @return Appeal
* @return Appeal
*/
*/
static
acceptanceAppeal
(
axios
:
AxiosStatic
,
appeal
:
any
):
Promise
<
AxiosResponse
<
Appeal
>>
{
static
acceptanceAppeal
(
axios
:
AxiosStatic
,
appeal
:
any
):
Promise
<
AxiosResponse
<
Appeal
>>
{
return
axios
.
post
(
'appeal/acceptanceAppeal'
,
appeal
);
return
axios
.
post
(
'appeal/acceptanceAppeal'
,
appeal
);
}
}
/**
/**
*/
*/
static
exportAppeal
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportAppeal
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'appeal/exportAppeal'
,
pagination
,
config
);
return
axios
.
post
(
'appeal/exportAppeal'
,
pagination
,
config
);
}
}
...
@@ -32,13 +32,13 @@ export class AppealController {
...
@@ -32,13 +32,13 @@ export class AppealController {
* @param appealId
* @param appealId
* @return Appeal
* @return Appeal
*/
*/
static
getAppealById
(
axios
:
AxiosStatic
,
appealId
:
number
):
Promise
<
AxiosResponse
<
Appeal
>>
{
static
getAppealById
(
axios
:
AxiosStatic
,
appealId
:
number
):
Promise
<
AxiosResponse
<
Appeal
>>
{
return
axios
.
get
(
'appeal/getAppealById'
,
{
params
:
{
appealId
:
appealId
}});
return
axios
.
get
(
'appeal/getAppealById'
,
{
params
:
{
appealId
:
appealId
}});
}
}
/**
/**
*/
*/
static
getAppealDetailId
(
axios
:
AxiosStatic
,
appealId
:
number
):
Promise
<
AxiosResponse
<
Appeal
>>
{
static
getAppealDetailId
(
axios
:
AxiosStatic
,
appealId
:
number
):
Promise
<
AxiosResponse
<
Appeal
>>
{
return
axios
.
get
(
'appeal/getAppealDetailId'
,
{
params
:
{
appealId
:
appealId
}});
return
axios
.
get
(
'appeal/getAppealDetailId'
,
{
params
:
{
appealId
:
appealId
}});
}
}
...
@@ -47,7 +47,7 @@ export class AppealController {
...
@@ -47,7 +47,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
:
any
):
Promise
<
AxiosResponse
<
Page
<
Appeal
>>>
{
return
axios
.
post
(
'appeal/pageAppeal'
,
pagination
);
return
axios
.
post
(
'appeal/pageAppeal'
,
pagination
);
}
}
...
@@ -55,7 +55,7 @@ export class AppealController {
...
@@ -55,7 +55,7 @@ export class AppealController {
/**
/**
*/
*/
static
processingAppeal
(
axios
:
AxiosStatic
,
appeal
:
any
):
Promise
<
AxiosResponse
<
Appeal
>>
{
static
processingAppeal
(
axios
:
AxiosStatic
,
appeal
:
any
):
Promise
<
AxiosResponse
<
Appeal
>>
{
return
axios
.
post
(
'appeal/processingAppeal'
,
appeal
);
return
axios
.
post
(
'appeal/processingAppeal'
,
appeal
);
}
}
...
@@ -64,7 +64,7 @@ export class AppealController {
...
@@ -64,7 +64,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 @
06f5050
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"
;
// endregion
// endregion
/**
/**
*/
*/
export
class
AppraiseController
{
export
class
AppraiseController
{
/**
/**
*/
*/
static
addAppraisePrice
(
axios
:
AxiosStatic
,
appraisePrice
:
any
):
Promise
<
AxiosResponse
<
AppraisePrice
>>
{
static
addAppraisePrice
(
axios
:
AxiosStatic
,
appraisePrice
:
any
):
Promise
<
AxiosResponse
<
AppraisePrice
>>
{
return
axios
.
post
(
'appraise/addAppraisePrice'
,
appraisePrice
);
return
axios
.
post
(
'appraise/addAppraisePrice'
,
appraisePrice
);
}
}
/**
/**
*/
*/
static
auditAppraisePrice
(
axios
:
AxiosStatic
,
appraisePrice
:
any
):
Promise
<
AxiosResponse
<
AppraisePrice
>>
{
static
auditAppraisePrice
(
axios
:
AxiosStatic
,
appraisePrice
:
any
):
Promise
<
AxiosResponse
<
AppraisePrice
>>
{
return
axios
.
post
(
'appraise/auditAppraisePrice'
,
appraisePrice
);
return
axios
.
post
(
'appraise/auditAppraisePrice'
,
appraisePrice
);
}
}
/**
/**
*/
*/
static
getAppraisePricesByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
AppraisePrice
[]
>>
{
static
getAppraisePricesByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
AppraisePrice
[]
>>
{
return
axios
.
get
(
'appraise/getAppraisePricesByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
return
axios
.
get
(
'appraise/getAppraisePricesByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
}
}
/**
/**
*/
*/
static
pageAppraisePrice
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AppraisePrice
>>>
{
static
pageAppraisePrice
(
axios
:
AxiosStatic
,
pagination
:
any
):
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 @
06f5050
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"
;
// endregion
// endregion
/**
/**
*/
*/
export
class
AuctionChangeController
{
export
class
AuctionChangeController
{
/**
/**
* 新增拍卖场次变更审批
* 新增拍卖场次变更审批
* @param auctionChange
* @param auctionChange
* @return AuctionChange
* @return AuctionChange
*/
*/
static
addAuctionChange
(
axios
:
AxiosStatic
,
auctionChange
:
any
):
Promise
<
AxiosResponse
<
AuctionChange
>>
{
static
addAuctionChange
(
axios
:
AxiosStatic
,
auctionChange
:
any
):
Promise
<
AxiosResponse
<
AuctionChange
>>
{
return
axios
.
post
(
'auction/change/addAuctionChange'
,
auctionChange
);
return
axios
.
post
(
'auction/change/addAuctionChange'
,
auctionChange
);
}
}
/**
/**
*/
*/
static
addAuctionVehicleChange
(
axios
:
AxiosStatic
,
auctionVehicleChange
:
any
):
Promise
<
AxiosResponse
<
AuctionVehicleChange
>>
{
static
addAuctionVehicleChange
(
axios
:
AxiosStatic
,
auctionVehicleChange
:
any
):
Promise
<
AxiosResponse
<
AuctionVehicleChange
>>
{
return
axios
.
post
(
'auction/change/addAuctionVehicleChange'
,
auctionVehicleChange
);
return
axios
.
post
(
'auction/change/addAuctionVehicleChange'
,
auctionVehicleChange
);
}
}
/**
/**
*/
*/
static
auditAuctionChange
(
axios
:
AxiosStatic
,
approveHistory
:
any
):
Promise
<
AxiosResponse
<
AuctionChange
>>
{
static
auditAuctionChange
(
axios
:
AxiosStatic
,
approveHistory
:
any
):
Promise
<
AxiosResponse
<
AuctionChange
>>
{
return
axios
.
post
(
'auction/change/auditAuctionChange'
,
approveHistory
);
return
axios
.
post
(
'auction/change/auditAuctionChange'
,
approveHistory
);
}
}
/**
/**
*/
*/
static
auditAuctionVehicleChange
(
axios
:
AxiosStatic
,
approveHistory
:
any
):
Promise
<
AxiosResponse
<
AuctionVehicleChange
>>
{
static
auditAuctionVehicleChange
(
axios
:
AxiosStatic
,
approveHistory
:
any
):
Promise
<
AxiosResponse
<
AuctionVehicleChange
>>
{
return
axios
.
post
(
'auction/change/auditAuctionVehicleChange'
,
approveHistory
);
return
axios
.
post
(
'auction/change/auditAuctionVehicleChange'
,
approveHistory
);
}
}
/**
/**
*/
*/
static
pageAuctionChange
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionChange
>>>
{
static
pageAuctionChange
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionChange
>>>
{
return
axios
.
post
(
'auction/change/pageAuctionChange'
,
pagination
);
return
axios
.
post
(
'auction/change/pageAuctionChange'
,
pagination
);
}
}
...
@@ -48,7 +48,7 @@ export class AuctionChangeController {
...
@@ -48,7 +48,7 @@ export class AuctionChangeController {
/**
/**
*/
*/
static
pageAuctionVehicleChange
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionVehicleChange
>>>
{
static
pageAuctionVehicleChange
(
axios
:
AxiosStatic
,
pagination
:
any
):
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 @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
Auction
}
from
"lib/src/entity/auction/entity/Auction"
;
import
{
Auction
}
from
"lib/src/entity/auction/entity/Auction"
;
import
{
AuctionVehicle
}
from
"lib/src/entity/auction/entity/AuctionVehicle"
;
import
{
AuctionVehicle
}
from
"lib/src/entity/auction/entity/AuctionVehicle"
;
...
@@ -7,33 +8,32 @@ import {Page} from "lib/src/core/page/Page";
...
@@ -7,33 +8,32 @@ import {Page} from "lib/src/core/page/Page";
import
{
AuctionControl
}
from
"lib/src/entity/auction/domain/AuctionControl"
;
import
{
AuctionControl
}
from
"lib/src/entity/auction/domain/AuctionControl"
;
import
{
ApproveHistory
}
from
"lib/src/entity/track/entity/ApproveHistory"
;
import
{
ApproveHistory
}
from
"lib/src/entity/track/entity/ApproveHistory"
;
import
{
AuctionVehicleRate
}
from
"lib/src/entity/analysis/domain/AuctionVehicleRate"
;
import
{
AuctionVehicleRate
}
from
"lib/src/entity/analysis/domain/AuctionVehicleRate"
;
// endregion
// endregion
/**
/**
* 拍卖场次(Auction) PI接口
* 拍卖场次(Auction) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
AuctionController
{
export
class
AuctionController
{
/**
/**
* 新增拍卖场次
* 新增拍卖场次
* @param auction
* @param auction
* @return Auction
* @return Auction
*/
*/
static
addAuction
(
axios
:
AxiosStatic
,
auction
:
any
):
Promise
<
AxiosResponse
<
Auction
>>
{
static
addAuction
(
axios
:
AxiosStatic
,
auction
:
any
):
Promise
<
AxiosResponse
<
Auction
>>
{
return
axios
.
post
(
'auction/addAuction'
,
auction
);
return
axios
.
post
(
'auction/addAuction'
,
auction
);
}
}
/**
/**
*/
*/
static
auditAuction
(
axios
:
AxiosStatic
,
approveHistory
:
any
):
Promise
<
AxiosResponse
<
ApproveHistory
>>
{
static
auditAuction
(
axios
:
AxiosStatic
,
approveHistory
:
any
):
Promise
<
AxiosResponse
<
ApproveHistory
>>
{
return
axios
.
post
(
'auction/auditAuction'
,
approveHistory
);
return
axios
.
post
(
'auction/auditAuction'
,
approveHistory
);
}
}
/**
/**
*/
*/
static
auditAuctionVehicle
(
axios
:
AxiosStatic
,
approveHistory
:
any
):
Promise
<
AxiosResponse
<
ApproveHistory
>>
{
static
auditAuctionVehicle
(
axios
:
AxiosStatic
,
approveHistory
:
any
):
Promise
<
AxiosResponse
<
ApproveHistory
>>
{
return
axios
.
post
(
'auction/auditAuctionVehicle'
,
approveHistory
);
return
axios
.
post
(
'auction/auditAuctionVehicle'
,
approveHistory
);
}
}
...
@@ -42,7 +42,7 @@ export class AuctionController {
...
@@ -42,7 +42,7 @@ export class AuctionController {
* @param auctionId
* @param auctionId
* @return int
* @return int
*/
*/
static
cancelAuctionById
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
cancelAuctionById
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'auction/cancelAuctionById'
,
{
params
:
{
auctionId
:
auctionId
}});
return
axios
.
delete
(
'auction/cancelAuctionById'
,
{
params
:
{
auctionId
:
auctionId
}});
}
}
...
@@ -51,19 +51,19 @@ export class AuctionController {
...
@@ -51,19 +51,19 @@ export class AuctionController {
* @param auctionId
* @param auctionId
* @return Auction
* @return Auction
*/
*/
static
getAuctionById
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
Auction
>>
{
static
getAuctionById
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
Auction
>>
{
return
axios
.
get
(
'auction/getAuctionById'
,
{
params
:
{
auctionId
:
auctionId
}});
return
axios
.
get
(
'auction/getAuctionById'
,
{
params
:
{
auctionId
:
auctionId
}});
}
}
/**
/**
*/
*/
static
getAuctionCountRate
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
AuctionVehicleRate
[]
>>
{
static
getAuctionCountRate
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
AuctionVehicleRate
[]
>>
{
return
axios
.
get
(
'auction/getAuctionCountRate'
);
return
axios
.
get
(
'auction/getAuctionCountRate'
);
}
}
/**
/**
*/
*/
static
getAuctionDetailById
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
Auction
>>
{
static
getAuctionDetailById
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
Auction
>>
{
return
axios
.
get
(
'auction/getAuctionDetailById'
,
{
params
:
{
auctionId
:
auctionId
}});
return
axios
.
get
(
'auction/getAuctionDetailById'
,
{
params
:
{
auctionId
:
auctionId
}});
}
}
...
@@ -72,13 +72,13 @@ export class AuctionController {
...
@@ -72,13 +72,13 @@ export class AuctionController {
* @param auctionId
* @param auctionId
* @return Auction
* @return Auction
*/
*/
static
getAuctionInfoById
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
Auction
>>
{
static
getAuctionInfoById
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
Auction
>>
{
return
axios
.
get
(
'auction/getAuctionInfoById'
,
{
params
:
{
auctionId
:
auctionId
}});
return
axios
.
get
(
'auction/getAuctionInfoById'
,
{
params
:
{
auctionId
:
auctionId
}});
}
}
/**
/**
*/
*/
static
getAuctionStateCountByType
(
axios
:
AxiosStatic
,
auctionType
:
any
):
Promise
<
AxiosResponse
<
any
>>
{
static
getAuctionStateCountByType
(
axios
:
AxiosStatic
,
auctionType
:
any
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
get
(
'auction/getAuctionStateCountByType'
,
{
params
:
{
auctionType
:
auctionType
}});
return
axios
.
get
(
'auction/getAuctionStateCountByType'
,
{
params
:
{
auctionType
:
auctionType
}});
}
}
...
@@ -87,7 +87,7 @@ export class AuctionController {
...
@@ -87,7 +87,7 @@ export class AuctionController {
* @param aucvehId
* @param aucvehId
* @return AuctionVehicle
* @return AuctionVehicle
*/
*/
static
getAuctionVehicleById
(
axios
:
AxiosStatic
,
aucvehId
:
number
):
Promise
<
AxiosResponse
<
AuctionVehicle
>>
{
static
getAuctionVehicleById
(
axios
:
AxiosStatic
,
aucvehId
:
number
):
Promise
<
AxiosResponse
<
AuctionVehicle
>>
{
return
axios
.
get
(
'auction/getAuctionVehicleById'
,
{
params
:
{
aucvehId
:
aucvehId
}});
return
axios
.
get
(
'auction/getAuctionVehicleById'
,
{
params
:
{
aucvehId
:
aucvehId
}});
}
}
...
@@ -96,7 +96,7 @@ export class AuctionController {
...
@@ -96,7 +96,7 @@ export class AuctionController {
* @param vehicleId
* @param vehicleId
* @return AuctionVehicle
* @return AuctionVehicle
*/
*/
static
getAuctionVehicleByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
AuctionVehicle
>>
{
static
getAuctionVehicleByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
AuctionVehicle
>>
{
return
axios
.
get
(
'auction/getAuctionVehicleByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
return
axios
.
get
(
'auction/getAuctionVehicleByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
}
}
...
@@ -105,31 +105,31 @@ export class AuctionController {
...
@@ -105,31 +105,31 @@ export class AuctionController {
* @param auctionId
* @param auctionId
* @return List
* @return List
*/
*/
static
getAuctionVehiclesByAuctionId
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
AuctionVehicle
[]
>>
{
static
getAuctionVehiclesByAuctionId
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
AuctionVehicle
[]
>>
{
return
axios
.
get
(
'auction/getAuctionVehiclesByAuctionId'
,
{
params
:
{
auctionId
:
auctionId
}});
return
axios
.
get
(
'auction/getAuctionVehiclesByAuctionId'
,
{
params
:
{
auctionId
:
auctionId
}});
}
}
/**
/**
*/
*/
static
getAuctionVehiclesByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
AuctionVehicle
[]
>>
{
static
getAuctionVehiclesByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
AuctionVehicle
[]
>>
{
return
axios
.
get
(
'auction/getAuctionVehiclesByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
return
axios
.
get
(
'auction/getAuctionVehiclesByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
}
}
/**
/**
*/
*/
static
getBiddingAuctions
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Auction
[]
>>
{
static
getBiddingAuctions
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Auction
[]
>>
{
return
axios
.
get
(
'auction/getBiddingAuctions'
);
return
axios
.
get
(
'auction/getBiddingAuctions'
);
}
}
/**
/**
*/
*/
static
getHotAuctionVehiclesOrderByBidCount
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
AuctionVehicle
[]
>>
{
static
getHotAuctionVehiclesOrderByBidCount
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
AuctionVehicle
[]
>>
{
return
axios
.
get
(
'auction/getHotAuctionVehiclesOrderByBidCount'
);
return
axios
.
get
(
'auction/getHotAuctionVehiclesOrderByBidCount'
);
}
}
/**
/**
*/
*/
static
getTop3AuctionsByAuctionState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Auction
[]
>>
{
static
getTop3AuctionsByAuctionState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Auction
[]
>>
{
return
axios
.
get
(
'auction/getTop3AuctionsByAuctionState'
);
return
axios
.
get
(
'auction/getTop3AuctionsByAuctionState'
);
}
}
...
@@ -138,7 +138,7 @@ export class AuctionController {
...
@@ -138,7 +138,7 @@ export class AuctionController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageAuction
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Auction
>>>
{
static
pageAuction
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Auction
>>>
{
return
axios
.
post
(
'auction/pageAuction'
,
pagination
);
return
axios
.
post
(
'auction/pageAuction'
,
pagination
);
}
}
...
@@ -146,7 +146,7 @@ export class AuctionController {
...
@@ -146,7 +146,7 @@ export class AuctionController {
/**
/**
*/
*/
static
pageAuctionControl
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionControl
>>>
{
static
pageAuctionControl
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionControl
>>>
{
return
axios
.
post
(
'auction/pageAuctionControl'
,
pagination
);
return
axios
.
post
(
'auction/pageAuctionControl'
,
pagination
);
}
}
...
@@ -157,7 +157,7 @@ export class AuctionController {
...
@@ -157,7 +157,7 @@ export class AuctionController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageAuctionVehicle
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionVehicle
>>>
{
static
pageAuctionVehicle
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionVehicle
>>>
{
return
axios
.
post
(
'auction/pageAuctionVehicle'
,
pagination
);
return
axios
.
post
(
'auction/pageAuctionVehicle'
,
pagination
);
}
}
...
@@ -165,7 +165,7 @@ export class AuctionController {
...
@@ -165,7 +165,7 @@ export class AuctionController {
/**
/**
*/
*/
static
pageAuctionVehicleCtrl
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionVehicle
>>>
{
static
pageAuctionVehicleCtrl
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionVehicle
>>>
{
return
axios
.
post
(
'auction/pageAuctionVehicleCtrl'
,
pagination
);
return
axios
.
post
(
'auction/pageAuctionVehicleCtrl'
,
pagination
);
}
}
...
@@ -176,7 +176,7 @@ export class AuctionController {
...
@@ -176,7 +176,7 @@ export class AuctionController {
* @param pendingAuction
* @param pendingAuction
* @return int
* @return int
*/
*/
static
pendingAuction
(
axios
:
AxiosStatic
,
pendingAuction
:
any
):
Promise
<
AxiosResponse
<
number
>>
{
static
pendingAuction
(
axios
:
AxiosStatic
,
pendingAuction
:
any
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
post
(
'auction/pendingAuction'
,
pendingAuction
);
return
axios
.
post
(
'auction/pendingAuction'
,
pendingAuction
);
}
}
...
@@ -185,7 +185,7 @@ export class AuctionController {
...
@@ -185,7 +185,7 @@ export class AuctionController {
* @param auctionId
* @param auctionId
* @return int
* @return int
*/
*/
static
removeAuctionById
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeAuctionById
(
axios
:
AxiosStatic
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'auction/removeAuctionById'
,
{
params
:
{
auctionId
:
auctionId
}});
return
axios
.
delete
(
'auction/removeAuctionById'
,
{
params
:
{
auctionId
:
auctionId
}});
}
}
...
@@ -194,7 +194,7 @@ export class AuctionController {
...
@@ -194,7 +194,7 @@ export class AuctionController {
* @param auction
* @param auction
* @return Auction
* @return Auction
*/
*/
static
updateAuction
(
axios
:
AxiosStatic
,
auction
:
any
):
Promise
<
AxiosResponse
<
Auction
>>
{
static
updateAuction
(
axios
:
AxiosStatic
,
auction
:
any
):
Promise
<
AxiosResponse
<
Auction
>>
{
return
axios
.
post
(
'auction/updateAuction'
,
auction
);
return
axios
.
post
(
'auction/updateAuction'
,
auction
);
}
}
...
...
aus-front/admin/src/api/AuctionOrderController.ts
View file @
06f5050
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"
;
// endregion
// endregion
/**
/**
* 拍卖订单(AuctionOrder) PI接口
* 拍卖订单(AuctionOrder) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
AuctionOrderController
{
export
class
AuctionOrderController
{
/**
/**
* 新增拍卖订单
* 新增拍卖订单
* @param bidOrder
* @param bidOrder
* @return AuctionOrder
* @return AuctionOrder
*/
*/
static
addAuctionOrder
(
axios
:
AxiosStatic
,
bidOrder
:
any
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
static
addAuctionOrder
(
axios
:
AxiosStatic
,
bidOrder
:
any
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
return
axios
.
post
(
'auctionOrder/addAuctionOrder'
,
bidOrder
);
return
axios
.
post
(
'auctionOrder/addAuctionOrder'
,
bidOrder
);
}
}
...
@@ -27,7 +27,7 @@ export class AuctionOrderController {
...
@@ -27,7 +27,7 @@ export class AuctionOrderController {
* @return AuctionOrder
* @return AuctionOrder
* @throws FieldException
* @throws FieldException
*/
*/
static
auditTransferAuctionOrder
(
axios
:
AxiosStatic
,
approveHistory
:
any
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
static
auditTransferAuctionOrder
(
axios
:
AxiosStatic
,
approveHistory
:
any
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
return
axios
.
post
(
'auctionOrder/auditTransferAuctionOrder'
,
approveHistory
);
return
axios
.
post
(
'auctionOrder/auditTransferAuctionOrder'
,
approveHistory
);
}
}
...
@@ -36,13 +36,13 @@ export class AuctionOrderController {
...
@@ -36,13 +36,13 @@ export class AuctionOrderController {
* @param auctionOrder
* @param auctionOrder
* @return AuctionOrder
* @return AuctionOrder
*/
*/
static
cancelAuctionOrder
(
axios
:
AxiosStatic
,
auctionOrder
:
any
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
static
cancelAuctionOrder
(
axios
:
AxiosStatic
,
auctionOrder
:
any
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
return
axios
.
post
(
'auctionOrder/cancelAuctionOrder'
,
auctionOrder
);
return
axios
.
post
(
'auctionOrder/cancelAuctionOrder'
,
auctionOrder
);
}
}
/**
/**
*/
*/
static
exportAuctionOrder
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportAuctionOrder
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'auctionOrder/exportAuctionOrder'
,
pagination
,
config
);
return
axios
.
post
(
'auctionOrder/exportAuctionOrder'
,
pagination
,
config
);
}
}
...
@@ -51,37 +51,37 @@ export class AuctionOrderController {
...
@@ -51,37 +51,37 @@ export class AuctionOrderController {
* @param orderId
* @param orderId
* @return AuctionOrder
* @return AuctionOrder
*/
*/
static
getAuctionOrderById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
static
getAuctionOrderById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
return
axios
.
get
(
'auctionOrder/getAuctionOrderById'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
get
(
'auctionOrder/getAuctionOrderById'
,
{
params
:
{
orderId
:
orderId
}});
}
}
/**
/**
*/
*/
static
getAuctionOrderByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
static
getAuctionOrderByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
return
axios
.
get
(
'auctionOrder/getAuctionOrderByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
return
axios
.
get
(
'auctionOrder/getAuctionOrderByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
}
}
/**
/**
*/
*/
static
getAuctionOrderDetailById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
static
getAuctionOrderDetailById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
return
axios
.
get
(
'auctionOrder/getAuctionOrderDetailById'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
get
(
'auctionOrder/getAuctionOrderDetailById'
,
{
params
:
{
orderId
:
orderId
}});
}
}
/**
/**
*/
*/
static
getAuctionOrdersByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
AuctionOrder
[]
>>
{
static
getAuctionOrdersByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
AuctionOrder
[]
>>
{
return
axios
.
get
(
'auctionOrder/getAuctionOrdersByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
return
axios
.
get
(
'auctionOrder/getAuctionOrdersByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
}
}
/**
/**
*/
*/
static
getOrderCountByOrderState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
static
getOrderCountByOrderState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
get
(
'auctionOrder/getOrderCountByOrderState'
);
return
axios
.
get
(
'auctionOrder/getOrderCountByOrderState'
);
}
}
/**
/**
*/
*/
static
getTop3AuctionOrdersByAuctioning
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
AuctionOrder
[]
>>
{
static
getTop3AuctionOrdersByAuctioning
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
AuctionOrder
[]
>>
{
return
axios
.
get
(
'auctionOrder/getTop3AuctionOrdersByAuctioning'
);
return
axios
.
get
(
'auctionOrder/getTop3AuctionOrdersByAuctioning'
);
}
}
...
@@ -90,7 +90,7 @@ export class AuctionOrderController {
...
@@ -90,7 +90,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
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionOrder
>>>
{
return
axios
.
post
(
'auctionOrder/pageAuctionOrder'
,
pagination
);
return
axios
.
post
(
'auctionOrder/pageAuctionOrder'
,
pagination
);
}
}
...
@@ -101,7 +101,7 @@ export class AuctionOrderController {
...
@@ -101,7 +101,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/BidController.ts
View file @
06f5050
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"
;
// 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
}});
}
}
...
@@ -35,7 +33,7 @@ export class BidController {
...
@@ -35,7 +33,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
}});
}
}
...
@@ -44,7 +42,7 @@ export class BidController {
...
@@ -44,7 +42,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
:
any
):
Promise
<
AxiosResponse
<
Page
<
Bid
>>>
{
return
axios
.
post
(
'bid/pageBid'
,
pagination
);
return
axios
.
post
(
'bid/pageBid'
,
pagination
);
}
}
...
@@ -55,7 +53,7 @@ export class BidController {
...
@@ -55,7 +53,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 @
06f5050
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"
;
// endregion
// endregion
/**
/**
* 轮播图(Carousel) PI接口
* 轮播图(Carousel) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
CarouselController
{
export
class
CarouselController
{
/**
/**
* 新增轮播图
* 新增轮播图
* @param carousel
* @param carousel
* @return Carousel
* @return Carousel
*/
*/
static
addCarousel
(
axios
:
AxiosStatic
,
carousel
:
any
):
Promise
<
AxiosResponse
<
Carousel
>>
{
static
addCarousel
(
axios
:
AxiosStatic
,
carousel
:
any
):
Promise
<
AxiosResponse
<
Carousel
>>
{
return
axios
.
post
(
'carousel/addCarousel'
,
carousel
);
return
axios
.
post
(
'carousel/addCarousel'
,
carousel
);
}
}
...
@@ -26,7 +26,7 @@ export class CarouselController {
...
@@ -26,7 +26,7 @@ export class CarouselController {
* @param carouselId
* @param carouselId
* @return Carousel
* @return Carousel
*/
*/
static
getCarouselById
(
axios
:
AxiosStatic
,
carouselId
:
number
):
Promise
<
AxiosResponse
<
Carousel
>>
{
static
getCarouselById
(
axios
:
AxiosStatic
,
carouselId
:
number
):
Promise
<
AxiosResponse
<
Carousel
>>
{
return
axios
.
get
(
'carousel/getCarouselById'
,
{
params
:
{
carouselId
:
carouselId
}});
return
axios
.
get
(
'carousel/getCarouselById'
,
{
params
:
{
carouselId
:
carouselId
}});
}
}
...
@@ -35,7 +35,7 @@ export class CarouselController {
...
@@ -35,7 +35,7 @@ export class CarouselController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageCarousel
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Carousel
>>>
{
static
pageCarousel
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Carousel
>>>
{
return
axios
.
post
(
'carousel/pageCarousel'
,
pagination
);
return
axios
.
post
(
'carousel/pageCarousel'
,
pagination
);
}
}
...
@@ -46,7 +46,7 @@ export class CarouselController {
...
@@ -46,7 +46,7 @@ export class CarouselController {
* @param carouselId
* @param carouselId
* @return int
* @return int
*/
*/
static
removeCarouselById
(
axios
:
AxiosStatic
,
carouselId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeCarouselById
(
axios
:
AxiosStatic
,
carouselId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'carousel/removeCarouselById'
,
{
params
:
{
carouselId
:
carouselId
}});
return
axios
.
delete
(
'carousel/removeCarouselById'
,
{
params
:
{
carouselId
:
carouselId
}});
}
}
...
@@ -55,7 +55,7 @@ export class CarouselController {
...
@@ -55,7 +55,7 @@ export class CarouselController {
* @param carousel
* @param carousel
* @return Carousel
* @return Carousel
*/
*/
static
updateCarousel
(
axios
:
AxiosStatic
,
carousel
:
any
):
Promise
<
AxiosResponse
<
Carousel
>>
{
static
updateCarousel
(
axios
:
AxiosStatic
,
carousel
:
any
):
Promise
<
AxiosResponse
<
Carousel
>>
{
return
axios
.
post
(
'carousel/updateCarousel'
,
carousel
);
return
axios
.
post
(
'carousel/updateCarousel'
,
carousel
);
}
}
...
...
aus-front/admin/src/api/CommissionRuleController.ts
View file @
06f5050
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"
;
// endregion
// endregion
/**
/**
* 佣金规则(CommissionRule) PI接口
* 佣金规则(CommissionRule) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
CommissionRuleController
{
export
class
CommissionRuleController
{
/**
/**
* 新增佣金规则
* 新增佣金规则
* @param commissionRule
* @param commissionRule
* @return CommissionRule
* @return CommissionRule
*/
*/
static
addCommissionRule
(
axios
:
AxiosStatic
,
commissionRule
:
any
):
Promise
<
AxiosResponse
<
CommissionRule
>>
{
static
addCommissionRule
(
axios
:
AxiosStatic
,
commissionRule
:
any
):
Promise
<
AxiosResponse
<
CommissionRule
>>
{
return
axios
.
post
(
'commissionRule/addCommissionRule'
,
commissionRule
);
return
axios
.
post
(
'commissionRule/addCommissionRule'
,
commissionRule
);
}
}
...
@@ -26,15 +26,15 @@ export class CommissionRuleController {
...
@@ -26,15 +26,15 @@ export class CommissionRuleController {
* @param ruleId
* @param ruleId
* @return boolean
* @return boolean
*/
*/
static
enableCommissionRule
(
axios
:
AxiosStatic
,
ruleId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
enableCommissionRule
(
axios
:
AxiosStatic
,
ruleId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'commissionRule/enableCommissionRule'
,
null
,
{
params
:
{
ruleId
:
ruleId
,
enabled
:
enabled
}});
return
axios
.
post
(
'commissionRule/enableCommissionRule'
,
null
,
{
params
:
{
ruleId
:
ruleId
,
enabled
:
enabled
}});
}
}
/**
/**
* 查询全部$佣金规则
* 查询全部$佣金规则
* @return List
* @return List
*/
*/
static
getAllCommissionRules
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
CommissionRule
[]
>>
{
static
getAllCommissionRules
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
CommissionRule
[]
>>
{
return
axios
.
get
(
'commissionRule/getAllCommissionRules'
);
return
axios
.
get
(
'commissionRule/getAllCommissionRules'
);
}
}
...
@@ -43,7 +43,7 @@ export class CommissionRuleController {
...
@@ -43,7 +43,7 @@ export class CommissionRuleController {
* @param ruleId
* @param ruleId
* @return CommissionRule
* @return CommissionRule
*/
*/
static
getCommissionRuleById
(
axios
:
AxiosStatic
,
ruleId
:
number
):
Promise
<
AxiosResponse
<
CommissionRule
>>
{
static
getCommissionRuleById
(
axios
:
AxiosStatic
,
ruleId
:
number
):
Promise
<
AxiosResponse
<
CommissionRule
>>
{
return
axios
.
get
(
'commissionRule/getCommissionRuleById'
,
{
params
:
{
ruleId
:
ruleId
}});
return
axios
.
get
(
'commissionRule/getCommissionRuleById'
,
{
params
:
{
ruleId
:
ruleId
}});
}
}
...
@@ -51,7 +51,7 @@ export class CommissionRuleController {
...
@@ -51,7 +51,7 @@ export class CommissionRuleController {
* 查询全部启用$佣金规则
* 查询全部启用$佣金规则
* @return List
* @return List
*/
*/
static
getEnableCommissionRules
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
CommissionRule
[]
>>
{
static
getEnableCommissionRules
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
CommissionRule
[]
>>
{
return
axios
.
get
(
'commissionRule/getEnabledCommissionRules'
);
return
axios
.
get
(
'commissionRule/getEnabledCommissionRules'
);
}
}
...
@@ -60,7 +60,7 @@ export class CommissionRuleController {
...
@@ -60,7 +60,7 @@ export class CommissionRuleController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageCommissionRule
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
CommissionRule
>>>
{
static
pageCommissionRule
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
CommissionRule
>>>
{
return
axios
.
post
(
'commissionRule/pageCommissionRule'
,
pagination
);
return
axios
.
post
(
'commissionRule/pageCommissionRule'
,
pagination
);
}
}
...
@@ -71,7 +71,7 @@ export class CommissionRuleController {
...
@@ -71,7 +71,7 @@ export class CommissionRuleController {
* @param ruleId
* @param ruleId
* @return int
* @return int
*/
*/
static
removeCommissionRuleById
(
axios
:
AxiosStatic
,
ruleId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeCommissionRuleById
(
axios
:
AxiosStatic
,
ruleId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'commissionRule/removeCommissionRuleById'
,
{
params
:
{
ruleId
:
ruleId
}});
return
axios
.
delete
(
'commissionRule/removeCommissionRuleById'
,
{
params
:
{
ruleId
:
ruleId
}});
}
}
...
@@ -80,7 +80,7 @@ export class CommissionRuleController {
...
@@ -80,7 +80,7 @@ export class CommissionRuleController {
* @param commissionRule
* @param commissionRule
* @return CommissionRule
* @return CommissionRule
*/
*/
static
updateCommissionRule
(
axios
:
AxiosStatic
,
commissionRule
:
any
):
Promise
<
AxiosResponse
<
CommissionRule
>>
{
static
updateCommissionRule
(
axios
:
AxiosStatic
,
commissionRule
:
any
):
Promise
<
AxiosResponse
<
CommissionRule
>>
{
return
axios
.
post
(
'commissionRule/updateCommissionRule'
,
commissionRule
);
return
axios
.
post
(
'commissionRule/updateCommissionRule'
,
commissionRule
);
}
}
...
...
aus-front/admin/src/api/ContractController.ts
View file @
06f5050
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"
;
// endregion
// endregion
/**
/**
* 合同(Contract) PI接口
* 合同(Contract) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
ContractController
{
export
class
ContractController
{
/**
/**
* 新增合同
* 新增合同
* @param contract
* @param contract
* @return Contract
* @return Contract
*/
*/
static
addContract
(
axios
:
AxiosStatic
,
contract
:
any
):
Promise
<
AxiosResponse
<
Contract
>>
{
static
addContract
(
axios
:
AxiosStatic
,
contract
:
any
):
Promise
<
AxiosResponse
<
Contract
>>
{
return
axios
.
post
(
'contract/addContract'
,
contract
);
return
axios
.
post
(
'contract/addContract'
,
contract
);
}
}
...
@@ -27,7 +27,7 @@ export class ContractController {
...
@@ -27,7 +27,7 @@ export class ContractController {
* @param contractTemplate
* @param contractTemplate
* @return ContractTemplate
* @return ContractTemplate
*/
*/
static
addContractTemplate
(
axios
:
AxiosStatic
,
contractTemplate
:
any
):
Promise
<
AxiosResponse
<
ContractTemplate
>>
{
static
addContractTemplate
(
axios
:
AxiosStatic
,
contractTemplate
:
any
):
Promise
<
AxiosResponse
<
ContractTemplate
>>
{
return
axios
.
post
(
'contract/addContractTemplate'
,
contractTemplate
);
return
axios
.
post
(
'contract/addContractTemplate'
,
contractTemplate
);
}
}
...
@@ -36,8 +36,8 @@ export class ContractController {
...
@@ -36,8 +36,8 @@ export class ContractController {
* @param templateId
* @param templateId
* @return boolean
* @return boolean
*/
*/
static
enableContractTemplate
(
axios
:
AxiosStatic
,
templateId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
enableContractTemplate
(
axios
:
AxiosStatic
,
templateId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'contract/enableContractTemplate'
,
null
,
{
params
:
{
templateId
:
templateId
,
enabled
:
enabled
}});
return
axios
.
post
(
'contract/enableContractTemplate'
,
null
,
{
params
:
{
templateId
:
templateId
,
enabled
:
enabled
}});
}
}
/**
/**
...
@@ -45,7 +45,7 @@ export class ContractController {
...
@@ -45,7 +45,7 @@ export class ContractController {
* @param contractId
* @param contractId
* @return Contract
* @return Contract
*/
*/
static
getContractById
(
axios
:
AxiosStatic
,
contractId
:
number
):
Promise
<
AxiosResponse
<
Contract
>>
{
static
getContractById
(
axios
:
AxiosStatic
,
contractId
:
number
):
Promise
<
AxiosResponse
<
Contract
>>
{
return
axios
.
get
(
'contract/getContractById'
,
{
params
:
{
contractId
:
contractId
}});
return
axios
.
get
(
'contract/getContractById'
,
{
params
:
{
contractId
:
contractId
}});
}
}
...
@@ -53,7 +53,7 @@ export class ContractController {
...
@@ -53,7 +53,7 @@ export class ContractController {
* 查询全部$合同模板
* 查询全部$合同模板
* @return Contract
* @return Contract
*/
*/
static
getContractFileById
(
axios
:
AxiosStatic
,
contractId
:
number
):
Promise
<
AxiosResponse
<
Contract
>>
{
static
getContractFileById
(
axios
:
AxiosStatic
,
contractId
:
number
):
Promise
<
AxiosResponse
<
Contract
>>
{
return
axios
.
get
(
'contract/getContractFileById'
,
{
params
:
{
contractId
:
contractId
}});
return
axios
.
get
(
'contract/getContractFileById'
,
{
params
:
{
contractId
:
contractId
}});
}
}
...
@@ -62,13 +62,13 @@ export class ContractController {
...
@@ -62,13 +62,13 @@ export class ContractController {
* @param templateId
* @param templateId
* @return ContractTemplate
* @return ContractTemplate
*/
*/
static
getContractTemplateById
(
axios
:
AxiosStatic
,
templateId
:
number
):
Promise
<
AxiosResponse
<
ContractTemplate
>>
{
static
getContractTemplateById
(
axios
:
AxiosStatic
,
templateId
:
number
):
Promise
<
AxiosResponse
<
ContractTemplate
>>
{
return
axios
.
get
(
'contract/getContractTemplateById'
,
{
params
:
{
templateId
:
templateId
}});
return
axios
.
get
(
'contract/getContractTemplateById'
,
{
params
:
{
templateId
:
templateId
}});
}
}
/**
/**
*/
*/
static
getContractsByOrderId
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
Contract
[]
>>
{
static
getContractsByOrderId
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
Contract
[]
>>
{
return
axios
.
get
(
'contract/getContractsByOrderId'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
get
(
'contract/getContractsByOrderId'
,
{
params
:
{
orderId
:
orderId
}});
}
}
...
@@ -76,7 +76,7 @@ export class ContractController {
...
@@ -76,7 +76,7 @@ export class ContractController {
* 查询全部启用$合同模板
* 查询全部启用$合同模板
* @return List
* @return List
*/
*/
static
getEnableContractTemplates
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
ContractTemplate
[]
>>
{
static
getEnableContractTemplates
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
ContractTemplate
[]
>>
{
return
axios
.
get
(
'contract/getEnabledContractTemplates'
);
return
axios
.
get
(
'contract/getEnabledContractTemplates'
);
}
}
...
@@ -85,7 +85,7 @@ export class ContractController {
...
@@ -85,7 +85,7 @@ export class ContractController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageContract
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Contract
>>>
{
static
pageContract
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Contract
>>>
{
return
axios
.
post
(
'contract/pageContract'
,
pagination
);
return
axios
.
post
(
'contract/pageContract'
,
pagination
);
}
}
...
@@ -96,7 +96,7 @@ export class ContractController {
...
@@ -96,7 +96,7 @@ export class ContractController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageContractTemplate
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
ContractTemplate
>>>
{
static
pageContractTemplate
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
ContractTemplate
>>>
{
return
axios
.
post
(
'contract/pageContractTemplate'
,
pagination
);
return
axios
.
post
(
'contract/pageContractTemplate'
,
pagination
);
}
}
...
@@ -107,7 +107,7 @@ export class ContractController {
...
@@ -107,7 +107,7 @@ export class ContractController {
* @param contractId
* @param contractId
* @return int
* @return int
*/
*/
static
removeContractById
(
axios
:
AxiosStatic
,
contractId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeContractById
(
axios
:
AxiosStatic
,
contractId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'contract/removeContractById'
,
{
params
:
{
contractId
:
contractId
}});
return
axios
.
delete
(
'contract/removeContractById'
,
{
params
:
{
contractId
:
contractId
}});
}
}
...
@@ -116,7 +116,7 @@ export class ContractController {
...
@@ -116,7 +116,7 @@ export class ContractController {
* @param templateId
* @param templateId
* @return int
* @return int
*/
*/
static
removeContractTemplateById
(
axios
:
AxiosStatic
,
templateId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeContractTemplateById
(
axios
:
AxiosStatic
,
templateId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'contract/removeContractTemplateById'
,
{
params
:
{
templateId
:
templateId
}});
return
axios
.
delete
(
'contract/removeContractTemplateById'
,
{
params
:
{
templateId
:
templateId
}});
}
}
...
@@ -125,7 +125,7 @@ export class ContractController {
...
@@ -125,7 +125,7 @@ export class ContractController {
* @param contractId
* @param contractId
* @return String
* @return String
*/
*/
static
signFlowUrge
(
axios
:
AxiosStatic
,
contractId
:
number
):
Promise
<
AxiosResponse
<
string
>>
{
static
signFlowUrge
(
axios
:
AxiosStatic
,
contractId
:
number
):
Promise
<
AxiosResponse
<
string
>>
{
return
axios
.
get
(
'contract/signFlowUrge'
,
{
params
:
{
contractId
:
contractId
}});
return
axios
.
get
(
'contract/signFlowUrge'
,
{
params
:
{
contractId
:
contractId
}});
}
}
...
@@ -134,7 +134,7 @@ export class ContractController {
...
@@ -134,7 +134,7 @@ export class ContractController {
* @param contractTemplate
* @param contractTemplate
* @return ContractTemplate
* @return ContractTemplate
*/
*/
static
updateContractTemplate
(
axios
:
AxiosStatic
,
contractTemplate
:
any
):
Promise
<
AxiosResponse
<
ContractTemplate
>>
{
static
updateContractTemplate
(
axios
:
AxiosStatic
,
contractTemplate
:
any
):
Promise
<
AxiosResponse
<
ContractTemplate
>>
{
return
axios
.
post
(
'contract/updateContractTemplate'
,
contractTemplate
);
return
axios
.
post
(
'contract/updateContractTemplate'
,
contractTemplate
);
}
}
...
...
aus-front/admin/src/api/DeliveryOrderController.ts
View file @
06f5050
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"
;
// endregion
// endregion
/**
/**
* 交付订单(DeliveryOrder) PI接口
* 交付订单(DeliveryOrder) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
DeliveryOrderController
{
export
class
DeliveryOrderController
{
/**
/**
* 指派交付工单
* 指派交付工单
* @param deliveryOrder
* @param deliveryOrder
* @return DeliveryOrder
* @return DeliveryOrder
*/
*/
static
assignDeliveryOrder
(
axios
:
AxiosStatic
,
deliveryOrder
:
any
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
static
assignDeliveryOrder
(
axios
:
AxiosStatic
,
deliveryOrder
:
any
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
return
axios
.
post
(
'deliveryOrder/assignDeliveryOrder'
,
deliveryOrder
);
return
axios
.
post
(
'deliveryOrder/assignDeliveryOrder'
,
deliveryOrder
);
}
}
/**
/**
*/
*/
static
cancelDeliveryOrder
(
axios
:
AxiosStatic
,
deliveryOrder
:
any
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
static
cancelDeliveryOrder
(
axios
:
AxiosStatic
,
deliveryOrder
:
any
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
return
axios
.
post
(
'deliveryOrder/cancelDeliveryOrder'
,
deliveryOrder
);
return
axios
.
post
(
'deliveryOrder/cancelDeliveryOrder'
,
deliveryOrder
);
}
}
/**
/**
*/
*/
static
confirmDeliveryOrderArrived
(
axios
:
AxiosStatic
,
deliveryOrderId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
static
confirmDeliveryOrderArrived
(
axios
:
AxiosStatic
,
deliveryOrderId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
return
axios
.
post
(
'deliveryOrder/confirmDeliveryOrderArrived'
,
null
,
{
params
:
{
deliveryOrderId
:
deliveryOrderId
}});
return
axios
.
post
(
'deliveryOrder/confirmDeliveryOrderArrived'
,
null
,
{
params
:
{
deliveryOrderId
:
deliveryOrderId
}});
}
}
/**
/**
*/
*/
static
exportDeliveryOrder
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportDeliveryOrder
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'deliveryOrder/exportDeliveryOrder'
,
pagination
,
config
);
return
axios
.
post
(
'deliveryOrder/exportDeliveryOrder'
,
pagination
,
config
);
}
}
...
@@ -44,37 +44,37 @@ export class DeliveryOrderController {
...
@@ -44,37 +44,37 @@ export class DeliveryOrderController {
* @param orderId
* @param orderId
* @return DeliveryOrder
* @return DeliveryOrder
*/
*/
static
getDeliveryOrderById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
static
getDeliveryOrderById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
return
axios
.
get
(
'deliveryOrder/getDeliveryOrderById'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
get
(
'deliveryOrder/getDeliveryOrderById'
,
{
params
:
{
orderId
:
orderId
}});
}
}
/**
/**
*/
*/
static
getDeliveryOrderByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
static
getDeliveryOrderByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
return
axios
.
get
(
'deliveryOrder/getDeliveryOrderByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
return
axios
.
get
(
'deliveryOrder/getDeliveryOrderByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
}
}
/**
/**
*/
*/
static
getDeliveryOrderDetailById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
static
getDeliveryOrderDetailById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
return
axios
.
get
(
'deliveryOrder/getDeliveryOrderDetailById'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
get
(
'deliveryOrder/getDeliveryOrderDetailById'
,
{
params
:
{
orderId
:
orderId
}});
}
}
/**
/**
*/
*/
static
getDeliveryOrdersByOrderId
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
[]
>>
{
static
getDeliveryOrdersByOrderId
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
[]
>>
{
return
axios
.
get
(
'deliveryOrder/getDeliveryOrdersByOrderId'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
get
(
'deliveryOrder/getDeliveryOrdersByOrderId'
,
{
params
:
{
orderId
:
orderId
}});
}
}
/**
/**
*/
*/
static
getDeliveryOrdersByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
[]
>>
{
static
getDeliveryOrdersByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
DeliveryOrder
[]
>>
{
return
axios
.
get
(
'deliveryOrder/getDeliveryOrdersByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
return
axios
.
get
(
'deliveryOrder/getDeliveryOrdersByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
}
}
/**
/**
*/
*/
static
getOrderCountByOrderState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
static
getOrderCountByOrderState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
get
(
'deliveryOrder/getOrderCountByOrderState'
);
return
axios
.
get
(
'deliveryOrder/getOrderCountByOrderState'
);
}
}
...
@@ -83,7 +83,7 @@ export class DeliveryOrderController {
...
@@ -83,7 +83,7 @@ export class DeliveryOrderController {
* @param deliveryOrder
* @param deliveryOrder
* @return DeliveryOrder
* @return DeliveryOrder
*/
*/
static
handleDeliveryOrder
(
axios
:
AxiosStatic
,
deliveryOrder
:
any
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
static
handleDeliveryOrder
(
axios
:
AxiosStatic
,
deliveryOrder
:
any
):
Promise
<
AxiosResponse
<
DeliveryOrder
>>
{
return
axios
.
post
(
'deliveryOrder/handleDeliveryOrder'
,
deliveryOrder
);
return
axios
.
post
(
'deliveryOrder/handleDeliveryOrder'
,
deliveryOrder
);
}
}
...
@@ -92,7 +92,7 @@ export class DeliveryOrderController {
...
@@ -92,7 +92,7 @@ export class DeliveryOrderController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageDeliveryOrder
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
DeliveryOrder
>>>
{
static
pageDeliveryOrder
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
DeliveryOrder
>>>
{
return
axios
.
post
(
'deliveryOrder/pageDeliveryOrder'
,
pagination
);
return
axios
.
post
(
'deliveryOrder/pageDeliveryOrder'
,
pagination
);
}
}
...
@@ -103,7 +103,7 @@ export class DeliveryOrderController {
...
@@ -103,7 +103,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 @
06f5050
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"
;
// endregion
// endregion
/**
/**
* 保证金规则(DepositRule) PI接口
* 保证金规则(DepositRule) PI接口
* @since 2025-10-13 12:18:10
* @since 2025-10-13 12:18:10
*/
*/
export
class
DepositController
{
export
class
DepositController
{
/**
/**
* 新增保证金规则
* 新增保证金规则
* @param depositRule
* @param depositRule
* @return DepositRule
* @return DepositRule
*/
*/
static
addDepositRule
(
axios
:
AxiosStatic
,
depositRule
:
any
):
Promise
<
AxiosResponse
<
DepositRule
>>
{
static
addDepositRule
(
axios
:
AxiosStatic
,
depositRule
:
any
):
Promise
<
AxiosResponse
<
DepositRule
>>
{
return
axios
.
post
(
'depositRule/addDepositRule'
,
depositRule
);
return
axios
.
post
(
'depositRule/addDepositRule'
,
depositRule
);
}
}
...
@@ -28,19 +28,19 @@ export class DepositController {
...
@@ -28,19 +28,19 @@ export class DepositController {
* @param ruleId
* @param ruleId
* @return boolean
* @return boolean
*/
*/
static
enableDepositRule
(
axios
:
AxiosStatic
,
ruleId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
enableDepositRule
(
axios
:
AxiosStatic
,
ruleId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'depositRule/enableDepositRule'
,
null
,
{
params
:
{
ruleId
:
ruleId
,
enabled
:
enabled
}});
return
axios
.
post
(
'depositRule/enableDepositRule'
,
null
,
{
params
:
{
ruleId
:
ruleId
,
enabled
:
enabled
}});
}
}
/**
/**
*/
*/
static
exportDeposit
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportDeposit
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'depositRule/exportDeposit'
,
pagination
,
config
);
return
axios
.
post
(
'depositRule/exportDeposit'
,
pagination
,
config
);
}
}
/**
/**
*/
*/
static
exportDepositRefund
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportDepositRefund
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'depositRule/exportDepositRefund'
,
pagination
,
config
);
return
axios
.
post
(
'depositRule/exportDepositRefund'
,
pagination
,
config
);
}
}
...
@@ -48,19 +48,19 @@ export class DepositController {
...
@@ -48,19 +48,19 @@ export class DepositController {
* 查询全部$保证金规则
* 查询全部$保证金规则
* @return List
* @return List
*/
*/
static
getAllDepositRules
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
DepositRule
[]
>>
{
static
getAllDepositRules
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
DepositRule
[]
>>
{
return
axios
.
get
(
'depositRule/getAllDepositRules'
);
return
axios
.
get
(
'depositRule/getAllDepositRules'
);
}
}
/**
/**
*/
*/
static
getDepositByAccountAndVehicleAndAuction
(
axios
:
AxiosStatic
,
accountId
:
number
,
vehicleId
:
number
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
Deposit
>>
{
static
getDepositByAccountAndVehicleAndAuction
(
axios
:
AxiosStatic
,
accountId
:
number
,
vehicleId
:
number
,
auctionId
:
number
):
Promise
<
AxiosResponse
<
Deposit
>>
{
return
axios
.
get
(
'depositRule/getDepositByAccountAndVehicleAndAuction'
,
{
params
:
{
accountId
:
accountId
,
vehicleId
:
vehicleId
,
auctionId
:
auctionId
}});
return
axios
.
get
(
'depositRule/getDepositByAccountAndVehicleAndAuction'
,
{
params
:
{
accountId
:
accountId
,
vehicleId
:
vehicleId
,
auctionId
:
auctionId
}});
}
}
/**
/**
*/
*/
static
getDepositDetailById
(
axios
:
AxiosStatic
,
depositId
:
number
):
Promise
<
AxiosResponse
<
Deposit
>>
{
static
getDepositDetailById
(
axios
:
AxiosStatic
,
depositId
:
number
):
Promise
<
AxiosResponse
<
Deposit
>>
{
return
axios
.
get
(
'depositRule/getDepositDetailById'
,
{
params
:
{
depositId
:
depositId
}});
return
axios
.
get
(
'depositRule/getDepositDetailById'
,
{
params
:
{
depositId
:
depositId
}});
}
}
...
@@ -69,13 +69,13 @@ export class DepositController {
...
@@ -69,13 +69,13 @@ export class DepositController {
* @param ruleId
* @param ruleId
* @return DepositRule
* @return DepositRule
*/
*/
static
getDepositRuleById
(
axios
:
AxiosStatic
,
ruleId
:
number
):
Promise
<
AxiosResponse
<
DepositRule
>>
{
static
getDepositRuleById
(
axios
:
AxiosStatic
,
ruleId
:
number
):
Promise
<
AxiosResponse
<
DepositRule
>>
{
return
axios
.
get
(
'depositRule/getDepositRuleById'
,
{
params
:
{
ruleId
:
ruleId
}});
return
axios
.
get
(
'depositRule/getDepositRuleById'
,
{
params
:
{
ruleId
:
ruleId
}});
}
}
/**
/**
*/
*/
static
getDepositStat
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
DepositStat
>>
{
static
getDepositStat
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
DepositStat
>>
{
return
axios
.
get
(
'depositRule/getDepositStat'
);
return
axios
.
get
(
'depositRule/getDepositStat'
);
}
}
...
@@ -83,19 +83,19 @@ export class DepositController {
...
@@ -83,19 +83,19 @@ export class DepositController {
* 查询全部启用$保证金规则
* 查询全部启用$保证金规则
* @return List
* @return List
*/
*/
static
getEnableDepositRules
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
DepositRule
[]
>>
{
static
getEnableDepositRules
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
DepositRule
[]
>>
{
return
axios
.
get
(
'depositRule/getEnabledDepositRules'
);
return
axios
.
get
(
'depositRule/getEnabledDepositRules'
);
}
}
/**
/**
*/
*/
static
getFreezeAmountByAccount
(
axios
:
AxiosStatic
,
accountId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
getFreezeAmountByAccount
(
axios
:
AxiosStatic
,
accountId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
get
(
'depositRule/getFreezeAmountByAccount'
,
{
params
:
{
accountId
:
accountId
}});
return
axios
.
get
(
'depositRule/getFreezeAmountByAccount'
,
{
params
:
{
accountId
:
accountId
}});
}
}
/**
/**
*/
*/
static
pageDeposit
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Deposit
>>>
{
static
pageDeposit
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Deposit
>>>
{
return
axios
.
post
(
'depositRule/pageDeposit'
,
pagination
);
return
axios
.
post
(
'depositRule/pageDeposit'
,
pagination
);
}
}
...
@@ -103,7 +103,7 @@ export class DepositController {
...
@@ -103,7 +103,7 @@ export class DepositController {
/**
/**
*/
*/
static
pageDepositFetchOrder
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Deposit
>>>
{
static
pageDepositFetchOrder
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Deposit
>>>
{
return
axios
.
post
(
'depositRule/pageDepositFetchOrder'
,
pagination
);
return
axios
.
post
(
'depositRule/pageDepositFetchOrder'
,
pagination
);
}
}
...
@@ -114,7 +114,7 @@ export class DepositController {
...
@@ -114,7 +114,7 @@ export class DepositController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageDepositRule
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
DepositRule
>>>
{
static
pageDepositRule
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
DepositRule
>>>
{
return
axios
.
post
(
'depositRule/pageDepositRule'
,
pagination
);
return
axios
.
post
(
'depositRule/pageDepositRule'
,
pagination
);
}
}
...
@@ -122,13 +122,13 @@ export class DepositController {
...
@@ -122,13 +122,13 @@ export class DepositController {
/**
/**
* <pre>
* <pre>
微信支付-申请退款
微信支付-申请退款
详见 https://pay.weixin.qq.com/doc/v3/merchant/4012791862
详见 https://pay.weixin.qq.com/doc/v3/merchant/4012791862
</pre>
</pre>
* @param deposit 请求对象
* @param deposit 请求对象
* @return 退款操作结果
* @return 退款操作结果
*/
*/
static
refund
(
axios
:
AxiosStatic
,
deposit
:
any
):
Promise
<
AxiosResponse
<
Deposit
>>
{
static
refund
(
axios
:
AxiosStatic
,
deposit
:
any
):
Promise
<
AxiosResponse
<
Deposit
>>
{
return
axios
.
post
(
'depositRule/refund'
,
deposit
);
return
axios
.
post
(
'depositRule/refund'
,
deposit
);
}
}
...
@@ -137,7 +137,7 @@ export class DepositController {
...
@@ -137,7 +137,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
}});
}
}
...
@@ -146,7 +146,7 @@ export class DepositController {
...
@@ -146,7 +146,7 @@ export class DepositController {
* @param depositRule
* @param depositRule
* @return DepositRule
* @return DepositRule
*/
*/
static
updateDepositRule
(
axios
:
AxiosStatic
,
depositRule
:
any
):
Promise
<
AxiosResponse
<
DepositRule
>>
{
static
updateDepositRule
(
axios
:
AxiosStatic
,
depositRule
:
any
):
Promise
<
AxiosResponse
<
DepositRule
>>
{
return
axios
.
post
(
'depositRule/updateDepositRule'
,
depositRule
);
return
axios
.
post
(
'depositRule/updateDepositRule'
,
depositRule
);
}
}
...
...
aus-front/admin/src/api/FavoriteController.ts
View file @
06f5050
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"
;
// endregion
// endregion
/**
/**
* 收藏(Favorite) PI接口
* 收藏(Favorite) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
FavoriteController
{
export
class
FavoriteController
{
/**
/**
* 新增收藏
* 新增收藏
* @param favorite
* @param favorite
* @return Favorite
* @return Favorite
*/
*/
static
addFavorite
(
axios
:
AxiosStatic
,
favorite
:
any
):
Promise
<
AxiosResponse
<
Favorite
>>
{
static
addFavorite
(
axios
:
AxiosStatic
,
favorite
:
any
):
Promise
<
AxiosResponse
<
Favorite
>>
{
return
axios
.
post
(
'favorite/addFavorite'
,
favorite
);
return
axios
.
post
(
'favorite/addFavorite'
,
favorite
);
}
}
...
@@ -26,7 +26,7 @@ export class FavoriteController {
...
@@ -26,7 +26,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
:
any
):
Promise
<
AxiosResponse
<
Page
<
Favorite
>>>
{
return
axios
.
post
(
'favorite/pageFavorite'
,
pagination
);
return
axios
.
post
(
'favorite/pageFavorite'
,
pagination
);
}
}
...
@@ -37,8 +37,8 @@ export class FavoriteController {
...
@@ -37,8 +37,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 @
06f5050
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"
;
// endregion
// endregion
/**
/**
* 通知模板(NoticeTemplate) PI接口
* 通知模板(NoticeTemplate) PI接口
* @since 2025-10-13 12:18:10
* @since 2025-10-13 12:18:10
*/
*/
export
class
NoticeController
{
export
class
NoticeController
{
/**
/**
* 新增通知模板
* 新增通知模板
* @param noticeTemplate
* @param noticeTemplate
* @return NoticeTemplate
* @return NoticeTemplate
*/
*/
static
addNoticeTemplate
(
axios
:
AxiosStatic
,
noticeTemplate
:
any
):
Promise
<
AxiosResponse
<
NoticeTemplate
>>
{
static
addNoticeTemplate
(
axios
:
AxiosStatic
,
noticeTemplate
:
any
):
Promise
<
AxiosResponse
<
NoticeTemplate
>>
{
return
axios
.
post
(
'notice/addNoticeTemplate'
,
noticeTemplate
);
return
axios
.
post
(
'notice/addNoticeTemplate'
,
noticeTemplate
);
}
}
...
@@ -27,8 +27,8 @@ export class NoticeController {
...
@@ -27,8 +27,8 @@ export class NoticeController {
* @param templateId
* @param templateId
* @return boolean
* @return boolean
*/
*/
static
enableNoticeTemplate
(
axios
:
AxiosStatic
,
templateId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
enableNoticeTemplate
(
axios
:
AxiosStatic
,
templateId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'notice/enableNoticeTemplate'
,
null
,
{
params
:
{
templateId
:
templateId
,
enabled
:
enabled
}});
return
axios
.
post
(
'notice/enableNoticeTemplate'
,
null
,
{
params
:
{
templateId
:
templateId
,
enabled
:
enabled
}});
}
}
/**
/**
...
@@ -36,19 +36,19 @@ export class NoticeController {
...
@@ -36,19 +36,19 @@ export class NoticeController {
* @param templateId
* @param templateId
* @return NoticeTemplate
* @return NoticeTemplate
*/
*/
static
getNoticeTemplateById
(
axios
:
AxiosStatic
,
templateId
:
number
):
Promise
<
AxiosResponse
<
NoticeTemplate
>>
{
static
getNoticeTemplateById
(
axios
:
AxiosStatic
,
templateId
:
number
):
Promise
<
AxiosResponse
<
NoticeTemplate
>>
{
return
axios
.
get
(
'notice/getNoticeTemplateById'
,
{
params
:
{
templateId
:
templateId
}});
return
axios
.
get
(
'notice/getNoticeTemplateById'
,
{
params
:
{
templateId
:
templateId
}});
}
}
/**
/**
*/
*/
static
getNoticeTemplateFieldsByType
(
axios
:
AxiosStatic
,
templateType
:
any
):
Promise
<
AxiosResponse
<
string
[]
>>
{
static
getNoticeTemplateFieldsByType
(
axios
:
AxiosStatic
,
templateType
:
any
):
Promise
<
AxiosResponse
<
string
[]
>>
{
return
axios
.
get
(
'notice/getNoticeTemplateFieldsByType'
,
{
params
:
{
templateType
:
templateType
}});
return
axios
.
get
(
'notice/getNoticeTemplateFieldsByType'
,
{
params
:
{
templateType
:
templateType
}});
}
}
/**
/**
*/
*/
static
pageNoticeMessage
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
NoticeMessage
>>>
{
static
pageNoticeMessage
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
NoticeMessage
>>>
{
return
axios
.
post
(
'notice/pageNoticeMessage'
,
pagination
);
return
axios
.
post
(
'notice/pageNoticeMessage'
,
pagination
);
}
}
...
@@ -59,7 +59,7 @@ export class NoticeController {
...
@@ -59,7 +59,7 @@ export class NoticeController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageNoticeTemplate
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
NoticeTemplate
>>>
{
static
pageNoticeTemplate
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
NoticeTemplate
>>>
{
return
axios
.
post
(
'notice/pageNoticeTemplate'
,
pagination
);
return
axios
.
post
(
'notice/pageNoticeTemplate'
,
pagination
);
}
}
...
@@ -70,7 +70,7 @@ export class NoticeController {
...
@@ -70,7 +70,7 @@ export class NoticeController {
* @param templateId
* @param templateId
* @return int
* @return int
*/
*/
static
removeNoticeTemplateById
(
axios
:
AxiosStatic
,
templateId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeNoticeTemplateById
(
axios
:
AxiosStatic
,
templateId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'notice/removeNoticeTemplateById'
,
{
params
:
{
templateId
:
templateId
}});
return
axios
.
delete
(
'notice/removeNoticeTemplateById'
,
{
params
:
{
templateId
:
templateId
}});
}
}
...
@@ -79,7 +79,7 @@ export class NoticeController {
...
@@ -79,7 +79,7 @@ export class NoticeController {
* @param noticeTemplate
* @param noticeTemplate
* @return NoticeTemplate
* @return NoticeTemplate
*/
*/
static
updateNoticeTemplate
(
axios
:
AxiosStatic
,
noticeTemplate
:
any
):
Promise
<
AxiosResponse
<
NoticeTemplate
>>
{
static
updateNoticeTemplate
(
axios
:
AxiosStatic
,
noticeTemplate
:
any
):
Promise
<
AxiosResponse
<
NoticeTemplate
>>
{
return
axios
.
post
(
'notice/updateNoticeTemplate'
,
noticeTemplate
);
return
axios
.
post
(
'notice/updateNoticeTemplate'
,
noticeTemplate
);
}
}
...
...
aus-front/admin/src/api/PriceRuleController.ts
View file @
06f5050
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"
;
// endregion
// endregion
/**
/**
* 价格规则(PriceRule) PI接口
* 价格规则(PriceRule) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
PriceRuleController
{
export
class
PriceRuleController
{
/**
/**
* 新增价格规则
* 新增价格规则
* @param priceRule
* @param priceRule
* @return PriceRule
* @return PriceRule
*/
*/
static
addPriceRule
(
axios
:
AxiosStatic
,
priceRule
:
any
):
Promise
<
AxiosResponse
<
PriceRule
>>
{
static
addPriceRule
(
axios
:
AxiosStatic
,
priceRule
:
any
):
Promise
<
AxiosResponse
<
PriceRule
>>
{
return
axios
.
post
(
'priceRule/addPriceRule'
,
priceRule
);
return
axios
.
post
(
'priceRule/addPriceRule'
,
priceRule
);
}
}
...
@@ -26,13 +26,13 @@ export class PriceRuleController {
...
@@ -26,13 +26,13 @@ export class PriceRuleController {
* @param ruleId
* @param ruleId
* @return PriceRule
* @return PriceRule
*/
*/
static
getPriceRuleById
(
axios
:
AxiosStatic
,
ruleId
:
number
):
Promise
<
AxiosResponse
<
PriceRule
>>
{
static
getPriceRuleById
(
axios
:
AxiosStatic
,
ruleId
:
number
):
Promise
<
AxiosResponse
<
PriceRule
>>
{
return
axios
.
get
(
'priceRule/getPriceRuleById'
,
{
params
:
{
ruleId
:
ruleId
}});
return
axios
.
get
(
'priceRule/getPriceRuleById'
,
{
params
:
{
ruleId
:
ruleId
}});
}
}
/**
/**
*/
*/
static
getReferencePriceByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
getReferencePriceByVehicleId
(
axios
:
AxiosStatic
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
get
(
'priceRule/getReferencePriceByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
return
axios
.
get
(
'priceRule/getReferencePriceByVehicleId'
,
{
params
:
{
vehicleId
:
vehicleId
}});
}
}
...
@@ -41,7 +41,7 @@ export class PriceRuleController {
...
@@ -41,7 +41,7 @@ export class PriceRuleController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pagePriceRule
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
PriceRule
>>>
{
static
pagePriceRule
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
PriceRule
>>>
{
return
axios
.
post
(
'priceRule/pagePriceRule'
,
pagination
);
return
axios
.
post
(
'priceRule/pagePriceRule'
,
pagination
);
}
}
...
@@ -52,7 +52,7 @@ export class PriceRuleController {
...
@@ -52,7 +52,7 @@ export class PriceRuleController {
* @param ruleId
* @param ruleId
* @return int
* @return int
*/
*/
static
removePriceRuleById
(
axios
:
AxiosStatic
,
ruleId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removePriceRuleById
(
axios
:
AxiosStatic
,
ruleId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'priceRule/removePriceRuleById'
,
{
params
:
{
ruleId
:
ruleId
}});
return
axios
.
delete
(
'priceRule/removePriceRuleById'
,
{
params
:
{
ruleId
:
ruleId
}});
}
}
...
@@ -61,7 +61,7 @@ export class PriceRuleController {
...
@@ -61,7 +61,7 @@ export class PriceRuleController {
* @param priceRule
* @param priceRule
* @return PriceRule
* @return PriceRule
*/
*/
static
updatePriceRule
(
axios
:
AxiosStatic
,
priceRule
:
any
):
Promise
<
AxiosResponse
<
PriceRule
>>
{
static
updatePriceRule
(
axios
:
AxiosStatic
,
priceRule
:
any
):
Promise
<
AxiosResponse
<
PriceRule
>>
{
return
axios
.
post
(
'priceRule/updatePriceRule'
,
priceRule
);
return
axios
.
post
(
'priceRule/updatePriceRule'
,
priceRule
);
}
}
...
...
aus-front/admin/src/api/RechargeController.ts
0 → 100644
View file @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Recharge
}
from
"lib/src/entity/finance/entity/Recharge"
;
// endregion
/**
*/
export
class
RechargeController
{
/**
*/
static
getRechargeCountByAuditState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
get
(
'recharge/getRechargeCountByAuditState'
);
}
/**
*/
static
getRechargesByAccountId
(
axios
:
AxiosStatic
,
accountId
:
number
):
Promise
<
AxiosResponse
<
Recharge
[]
>>
{
return
axios
.
get
(
'recharge/getRechargesByAccountId'
,
{
params
:
{
accountId
:
accountId
}});
}
/**
*/
static
pageRecharge
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Recharge
>>>
{
return
axios
.
post
(
'recharge/pageRecharge'
,
pagination
);
}
static
PAGE_RECHARGE
=
'recharge/pageRecharge'
;
// region 前端扩展代码区
// endregion
}
aus-front/admin/src/api/ReleaseOrderController.ts
View file @
06f5050
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"
;
// endregion
// endregion
/**
/**
* 解押订单(ReleaseOrder) PI接口
* 解押订单(ReleaseOrder) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
ReleaseOrderController
{
export
class
ReleaseOrderController
{
/**
/**
* 新增解押订单
* 新增解押订单
* @param releaseOrder
* @param releaseOrder
* @return ReleaseOrder
* @return ReleaseOrder
*/
*/
static
addReleaseOrder
(
axios
:
AxiosStatic
,
releaseOrder
:
any
):
Promise
<
AxiosResponse
<
ReleaseOrder
>>
{
static
addReleaseOrder
(
axios
:
AxiosStatic
,
releaseOrder
:
any
):
Promise
<
AxiosResponse
<
ReleaseOrder
>>
{
return
axios
.
post
(
'order/addReleaseOrder'
,
releaseOrder
);
return
axios
.
post
(
'order/addReleaseOrder'
,
releaseOrder
);
}
}
...
@@ -26,7 +26,7 @@ export class ReleaseOrderController {
...
@@ -26,7 +26,7 @@ export class ReleaseOrderController {
* @param orderId
* @param orderId
* @return ReleaseOrder
* @return ReleaseOrder
*/
*/
static
getReleaseOrderById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
ReleaseOrder
>>
{
static
getReleaseOrderById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
ReleaseOrder
>>
{
return
axios
.
get
(
'order/getReleaseOrderById'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
get
(
'order/getReleaseOrderById'
,
{
params
:
{
orderId
:
orderId
}});
}
}
...
@@ -35,7 +35,7 @@ export class ReleaseOrderController {
...
@@ -35,7 +35,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
:
any
):
Promise
<
AxiosResponse
<
Page
<
ReleaseOrder
>>>
{
return
axios
.
post
(
'order/pageReleaseOrder'
,
pagination
);
return
axios
.
post
(
'order/pageReleaseOrder'
,
pagination
);
}
}
...
@@ -46,7 +46,7 @@ export class ReleaseOrderController {
...
@@ -46,7 +46,7 @@ export class ReleaseOrderController {
* @param orderId
* @param orderId
* @return int
* @return int
*/
*/
static
removeReleaseOrderById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeReleaseOrderById
(
axios
:
AxiosStatic
,
orderId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'order/removeReleaseOrderById'
,
{
params
:
{
orderId
:
orderId
}});
return
axios
.
delete
(
'order/removeReleaseOrderById'
,
{
params
:
{
orderId
:
orderId
}});
}
}
...
@@ -55,7 +55,7 @@ export class ReleaseOrderController {
...
@@ -55,7 +55,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
:
any
):
Promise
<
AxiosResponse
<
ReleaseOrder
>>
{
return
axios
.
post
(
'order/updateReleaseOrder'
,
releaseOrder
);
return
axios
.
post
(
'order/updateReleaseOrder'
,
releaseOrder
);
}
}
...
...
aus-front/admin/src/api/RelocationController.ts
View file @
06f5050
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"
;
// endregion
// endregion
/**
/**
* 出库(Outbound) PI接口
* 出库(Outbound) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
RelocationController
{
export
class
RelocationController
{
/**
/**
* 新增出库
* 新增出库
* @param outbound
* @param outbound
* @return Outbound
* @return Outbound
*/
*/
static
addOutbound
(
axios
:
AxiosStatic
,
outbound
:
any
):
Promise
<
AxiosResponse
<
Outbound
>>
{
static
addOutbound
(
axios
:
AxiosStatic
,
outbound
:
any
):
Promise
<
AxiosResponse
<
Outbound
>>
{
return
axios
.
post
(
'outbound/addOutbound'
,
outbound
);
return
axios
.
post
(
'outbound/addOutbound'
,
outbound
);
}
}
...
@@ -27,7 +27,7 @@ export class RelocationController {
...
@@ -27,7 +27,7 @@ export class RelocationController {
* @param warehousing
* @param warehousing
* @return Warehousing
* @return Warehousing
*/
*/
static
addWarehousing
(
axios
:
AxiosStatic
,
warehousing
:
any
):
Promise
<
AxiosResponse
<
Warehousing
>>
{
static
addWarehousing
(
axios
:
AxiosStatic
,
warehousing
:
any
):
Promise
<
AxiosResponse
<
Warehousing
>>
{
return
axios
.
post
(
'outbound/addWarehousing'
,
warehousing
);
return
axios
.
post
(
'outbound/addWarehousing'
,
warehousing
);
}
}
...
@@ -36,7 +36,7 @@ export class RelocationController {
...
@@ -36,7 +36,7 @@ export class RelocationController {
* @param outboundId
* @param outboundId
* @return Outbound
* @return Outbound
*/
*/
static
getOutboundById
(
axios
:
AxiosStatic
,
outboundId
:
number
):
Promise
<
AxiosResponse
<
Outbound
>>
{
static
getOutboundById
(
axios
:
AxiosStatic
,
outboundId
:
number
):
Promise
<
AxiosResponse
<
Outbound
>>
{
return
axios
.
get
(
'outbound/getOutboundById'
,
{
params
:
{
outboundId
:
outboundId
}});
return
axios
.
get
(
'outbound/getOutboundById'
,
{
params
:
{
outboundId
:
outboundId
}});
}
}
...
@@ -45,7 +45,7 @@ export class RelocationController {
...
@@ -45,7 +45,7 @@ export class RelocationController {
* @param warehousingId
* @param warehousingId
* @return Warehousing
* @return Warehousing
*/
*/
static
getWarehousingById
(
axios
:
AxiosStatic
,
warehousingId
:
number
):
Promise
<
AxiosResponse
<
Warehousing
>>
{
static
getWarehousingById
(
axios
:
AxiosStatic
,
warehousingId
:
number
):
Promise
<
AxiosResponse
<
Warehousing
>>
{
return
axios
.
get
(
'outbound/getWarehousingById'
,
{
params
:
{
warehousingId
:
warehousingId
}});
return
axios
.
get
(
'outbound/getWarehousingById'
,
{
params
:
{
warehousingId
:
warehousingId
}});
}
}
...
@@ -54,7 +54,7 @@ export class RelocationController {
...
@@ -54,7 +54,7 @@ export class RelocationController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageOutbound
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Outbound
>>>
{
static
pageOutbound
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Outbound
>>>
{
return
axios
.
post
(
'outbound/pageOutbound'
,
pagination
);
return
axios
.
post
(
'outbound/pageOutbound'
,
pagination
);
}
}
...
@@ -65,7 +65,7 @@ export class RelocationController {
...
@@ -65,7 +65,7 @@ export class RelocationController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageWarehousing
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Warehousing
>>>
{
static
pageWarehousing
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Warehousing
>>>
{
return
axios
.
post
(
'outbound/pageWarehousing'
,
pagination
);
return
axios
.
post
(
'outbound/pageWarehousing'
,
pagination
);
}
}
...
@@ -76,7 +76,7 @@ export class RelocationController {
...
@@ -76,7 +76,7 @@ export class RelocationController {
* @param outboundId
* @param outboundId
* @return int
* @return int
*/
*/
static
removeOutboundById
(
axios
:
AxiosStatic
,
outboundId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeOutboundById
(
axios
:
AxiosStatic
,
outboundId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'outbound/removeOutboundById'
,
{
params
:
{
outboundId
:
outboundId
}});
return
axios
.
delete
(
'outbound/removeOutboundById'
,
{
params
:
{
outboundId
:
outboundId
}});
}
}
...
@@ -85,7 +85,7 @@ export class RelocationController {
...
@@ -85,7 +85,7 @@ export class RelocationController {
* @param warehousingId
* @param warehousingId
* @return int
* @return int
*/
*/
static
removeWarehousingById
(
axios
:
AxiosStatic
,
warehousingId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeWarehousingById
(
axios
:
AxiosStatic
,
warehousingId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'outbound/removeWarehousingById'
,
{
params
:
{
warehousingId
:
warehousingId
}});
return
axios
.
delete
(
'outbound/removeWarehousingById'
,
{
params
:
{
warehousingId
:
warehousingId
}});
}
}
...
@@ -94,7 +94,7 @@ export class RelocationController {
...
@@ -94,7 +94,7 @@ export class RelocationController {
* @param outbound
* @param outbound
* @return Outbound
* @return Outbound
*/
*/
static
updateOutbound
(
axios
:
AxiosStatic
,
outbound
:
any
):
Promise
<
AxiosResponse
<
Outbound
>>
{
static
updateOutbound
(
axios
:
AxiosStatic
,
outbound
:
any
):
Promise
<
AxiosResponse
<
Outbound
>>
{
return
axios
.
post
(
'outbound/updateOutbound'
,
outbound
);
return
axios
.
post
(
'outbound/updateOutbound'
,
outbound
);
}
}
...
@@ -103,7 +103,7 @@ export class RelocationController {
...
@@ -103,7 +103,7 @@ export class RelocationController {
* @param warehousing
* @param warehousing
* @return Warehousing
* @return Warehousing
*/
*/
static
updateWarehousing
(
axios
:
AxiosStatic
,
warehousing
:
any
):
Promise
<
AxiosResponse
<
Warehousing
>>
{
static
updateWarehousing
(
axios
:
AxiosStatic
,
warehousing
:
any
):
Promise
<
AxiosResponse
<
Warehousing
>>
{
return
axios
.
post
(
'outbound/updateWarehousing'
,
warehousing
);
return
axios
.
post
(
'outbound/updateWarehousing'
,
warehousing
);
}
}
...
...
aus-front/admin/src/api/TrackController.ts
View file @
06f5050
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"
;
// endregion
// endregion
/**
/**
*/
*/
export
class
TrackController
{
export
class
TrackController
{
/**
/**
*/
*/
static
pageVehicleBrowserHistory
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
VehicleBrowserHistory
>>>
{
static
pageVehicleBrowserHistory
(
axios
:
AxiosStatic
,
pagination
:
any
):
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 @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
Transaction
}
from
"lib/src/entity/finance/entity/Transaction"
;
import
{
Transaction
}
from
"lib/src/entity/finance/entity/Transaction"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
OrderTransaction
}
from
"lib/src/entity/finance/entity/OrderTransaction"
;
import
{
OrderTransaction
}
from
"lib/src/entity/finance/entity/OrderTransaction"
;
import
{
OrderTransactionStat
}
from
"lib/src/entity/finance/domain/OrderTransactionStat"
;
import
{
OrderTransactionStat
}
from
"lib/src/entity/finance/domain/OrderTransactionStat"
;
import
{
OrderTransactionAmountStat
}
from
"lib/src/entity/finance/domain/OrderTransactionAmountStat"
;
import
{
OrderTransactionAmountStat
}
from
"lib/src/entity/finance/domain/OrderTransactionAmountStat"
;
// endregion
// endregion
/**
/**
* 交易明细(Transaction) PI接口
* 交易明细(Transaction) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
TransactionController
{
export
class
TransactionController
{
/**
/**
* 审核到帐
* 审核到帐
...
@@ -21,31 +21,31 @@ export class TransactionController {
...
@@ -21,31 +21,31 @@ export class TransactionController {
* @return OrderTransaction
* @return OrderTransaction
* @throws FieldException
* @throws FieldException
*/
*/
static
auditOrderTransaction
(
axios
:
AxiosStatic
,
approveHistory
:
any
):
Promise
<
AxiosResponse
<
OrderTransaction
>>
{
static
auditOrderTransaction
(
axios
:
AxiosStatic
,
approveHistory
:
any
):
Promise
<
AxiosResponse
<
OrderTransaction
>>
{
return
axios
.
post
(
'transaction/auditOrderTransaction'
,
approveHistory
);
return
axios
.
post
(
'transaction/auditOrderTransaction'
,
approveHistory
);
}
}
/**
/**
*/
*/
static
exportOrderTransaction
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportOrderTransaction
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'transaction/exportOrderTransaction'
,
pagination
,
config
);
return
axios
.
post
(
'transaction/exportOrderTransaction'
,
pagination
,
config
);
}
}
/**
/**
*/
*/
static
exportOrderTransactionAudit
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportOrderTransactionAudit
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'transaction/exportOrderTransactionAudit'
,
pagination
,
config
);
return
axios
.
post
(
'transaction/exportOrderTransactionAudit'
,
pagination
,
config
);
}
}
/**
/**
*/
*/
static
getAuditedOrderTransactionsRecently
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
OrderTransaction
[]
>>
{
static
getAuditedOrderTransactionsRecently
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
OrderTransaction
[]
>>
{
return
axios
.
get
(
'transaction/getAuditedOrderTransactionsRecently'
);
return
axios
.
get
(
'transaction/getAuditedOrderTransactionsRecently'
);
}
}
/**
/**
*/
*/
static
getOrderTransactionAmountStat
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
OrderTransactionAmountStat
>>
{
static
getOrderTransactionAmountStat
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
OrderTransactionAmountStat
>>
{
return
axios
.
get
(
'transaction/getOrderTransactionAmountStat'
);
return
axios
.
get
(
'transaction/getOrderTransactionAmountStat'
);
}
}
...
@@ -54,25 +54,25 @@ export class TransactionController {
...
@@ -54,25 +54,25 @@ 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'
);
}
}
...
@@ -81,7 +81,7 @@ export class TransactionController {
...
@@ -81,7 +81,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
}});
}
}
...
@@ -90,7 +90,7 @@ export class TransactionController {
...
@@ -90,7 +90,7 @@ export class TransactionController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageOrderTransaction
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
OrderTransaction
>>>
{
static
pageOrderTransaction
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
OrderTransaction
>>>
{
return
axios
.
post
(
'transaction/pageOrderTransaction'
,
pagination
);
return
axios
.
post
(
'transaction/pageOrderTransaction'
,
pagination
);
}
}
...
@@ -101,7 +101,7 @@ export class TransactionController {
...
@@ -101,7 +101,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
:
any
):
Promise
<
AxiosResponse
<
Page
<
Transaction
>>>
{
return
axios
.
post
(
'transaction/pageTransaction'
,
pagination
);
return
axios
.
post
(
'transaction/pageTransaction'
,
pagination
);
}
}
...
@@ -112,13 +112,13 @@ export class TransactionController {
...
@@ -112,13 +112,13 @@ export class TransactionController {
* @param transactionId
* @param transactionId
* @return int
* @return int
*/
*/
static
removeOrderTransactionById
(
axios
:
AxiosStatic
,
transactionId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeOrderTransactionById
(
axios
:
AxiosStatic
,
transactionId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'transaction/removeOrderTransactionById'
,
{
params
:
{
transactionId
:
transactionId
}});
return
axios
.
delete
(
'transaction/removeOrderTransactionById'
,
{
params
:
{
transactionId
:
transactionId
}});
}
}
/**
/**
*/
*/
static
updateOrderTransactionDesc
(
axios
:
AxiosStatic
,
orderTransaction
:
any
):
Promise
<
AxiosResponse
<
OrderTransaction
>>
{
static
updateOrderTransactionDesc
(
axios
:
AxiosStatic
,
orderTransaction
:
any
):
Promise
<
AxiosResponse
<
OrderTransaction
>>
{
return
axios
.
post
(
'transaction/updateOrderTransactionDesc'
,
orderTransaction
);
return
axios
.
post
(
'transaction/updateOrderTransactionDesc'
,
orderTransaction
);
}
}
...
...
aus-front/admin/src/api/VehicleController.ts
View file @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,
{
Dayjs
}
from
'dayjs'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
Vehicle
}
from
"lib/src/entity/vehicle/entity/Vehicle"
;
import
{
Vehicle
}
from
"lib/src/entity/vehicle/entity/Vehicle"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
Page
}
from
"lib/src/core/page/Page"
;
import
{
VehicleHistoryProjection
}
from
"lib/src/entity/vehicle/domain/VehicleHistoryProjection"
;
import
{
VehicleHistoryProjection
}
from
"lib/src/entity/vehicle/domain/VehicleHistoryProjection"
;
import
{
NameCount
}
from
"lib/src/entity/analysis/domain/NameCount"
;
import
{
NameCount
}
from
"lib/src/entity/analysis/domain/NameCount"
;
import
{
FileInfo
}
from
"lib/src/core/bean/FileInfo"
;
import
{
FileInfo
}
from
"lib/src/core/bean/FileInfo"
;
// endregion
// endregion
/**
/**
* 库存车辆(Vehicle) PI接口
* 库存车辆(Vehicle) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
VehicleController
{
export
class
VehicleController
{
/**
/**
* 新增库存车辆
* 新增库存车辆
* @param vehicle
* @param vehicle
* @return Vehicle
* @return Vehicle
*/
*/
static
addVehicle
(
axios
:
AxiosStatic
,
vehicle
:
any
):
Promise
<
AxiosResponse
<
Vehicle
>>
{
static
addVehicle
(
axios
:
AxiosStatic
,
vehicle
:
any
):
Promise
<
AxiosResponse
<
Vehicle
>>
{
return
axios
.
post
(
'vehicle/addVehicle'
,
vehicle
);
return
axios
.
post
(
'vehicle/addVehicle'
,
vehicle
);
}
}
/**
/**
*/
*/
static
exportCheckedVehicles
(
axios
:
AxiosStatic
,
vehicleIds
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportCheckedVehicles
(
axios
:
AxiosStatic
,
vehicleIds
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'vehicle/exportCheckedVehicles'
,
vehicleIds
,
config
);
return
axios
.
post
(
'vehicle/exportCheckedVehicles'
,
vehicleIds
,
config
);
}
}
/**
/**
*/
*/
static
exportPriceVehicles
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportPriceVehicles
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'vehicle/exportPriceVehicles'
,
pagination
,
config
);
return
axios
.
post
(
'vehicle/exportPriceVehicles'
,
pagination
,
config
);
}
}
...
@@ -42,13 +42,13 @@ export class VehicleController {
...
@@ -42,13 +42,13 @@ export class VehicleController {
* @param response
* @param response
* @throws IOException
* @throws IOException
*/
*/
static
exportVehicles
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportVehicles
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'vehicle/exportVehicles'
,
pagination
,
config
);
return
axios
.
post
(
'vehicle/exportVehicles'
,
pagination
,
config
);
}
}
/**
/**
*/
*/
static
getTop3VehiclesByInventory
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Vehicle
[]
>>
{
static
getTop3VehiclesByInventory
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Vehicle
[]
>>
{
return
axios
.
get
(
'vehicle/getTop3VehiclesByInventory'
);
return
axios
.
get
(
'vehicle/getTop3VehiclesByInventory'
);
}
}
...
@@ -56,7 +56,7 @@ export class VehicleController {
...
@@ -56,7 +56,7 @@ export class VehicleController {
* 按车辆品牌统计车辆数量
* 按车辆品牌统计车辆数量
* @return List
* @return List
*/
*/
static
getVehicleBrandCounts
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
NameCount
[]
>>
{
static
getVehicleBrandCounts
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
NameCount
[]
>>
{
return
axios
.
get
(
'vehicle/getVehicleBrandCounts'
);
return
axios
.
get
(
'vehicle/getVehicleBrandCounts'
);
}
}
...
@@ -65,62 +65,58 @@ export class VehicleController {
...
@@ -65,62 +65,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
:
any
):
Promise
<
AxiosResponse
<
Page
<
Vehicle
>>>
{
static
pagePriceVehicle
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Vehicle
>>>
{
return
axios
.
post
(
'vehicle/pagePriceVehicle'
,
pagination
);
return
axios
.
post
(
'vehicle/pagePriceVehicle'
,
pagination
);
}
}
...
@@ -131,7 +127,7 @@ export class VehicleController {
...
@@ -131,7 +127,7 @@ export class VehicleController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageVehicle
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Vehicle
>>>
{
static
pageVehicle
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Vehicle
>>>
{
return
axios
.
post
(
'vehicle/pageVehicle'
,
pagination
);
return
axios
.
post
(
'vehicle/pageVehicle'
,
pagination
);
}
}
...
@@ -142,7 +138,7 @@ export class VehicleController {
...
@@ -142,7 +138,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
}});
}
}
...
@@ -151,7 +147,7 @@ export class VehicleController {
...
@@ -151,7 +147,7 @@ export class VehicleController {
* @param vehicle
* @param vehicle
* @return Vehicle
* @return Vehicle
*/
*/
static
updateVehicle
(
axios
:
AxiosStatic
,
vehicle
:
any
):
Promise
<
AxiosResponse
<
Vehicle
>>
{
static
updateVehicle
(
axios
:
AxiosStatic
,
vehicle
:
any
):
Promise
<
AxiosResponse
<
Vehicle
>>
{
return
axios
.
post
(
'vehicle/updateVehicle'
,
vehicle
);
return
axios
.
post
(
'vehicle/updateVehicle'
,
vehicle
);
}
}
...
@@ -160,14 +156,14 @@ export class VehicleController {
...
@@ -160,14 +156,14 @@ export class VehicleController {
* @param vehicleVenue
* @param vehicleVenue
* @return Vehicle
* @return Vehicle
*/
*/
static
updateVehicleVenue
(
axios
:
AxiosStatic
,
vehicleVenue
:
any
):
Promise
<
AxiosResponse
<
Vehicle
>>
{
static
updateVehicleVenue
(
axios
:
AxiosStatic
,
vehicleVenue
:
any
):
Promise
<
AxiosResponse
<
Vehicle
>>
{
return
axios
.
post
(
'vehicle/updateVehicleVenue'
,
vehicleVenue
);
return
axios
.
post
(
'vehicle/updateVehicleVenue'
,
vehicleVenue
);
}
}
/**
/**
* 更新车辆封面
* 更新车辆封面
*/
*/
static
uploadVehicleCover
(
axios
:
AxiosStatic
,
fileInfo
:
any
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
FileInfo
>>
{
static
uploadVehicleCover
(
axios
:
AxiosStatic
,
fileInfo
:
any
,
vehicleId
:
number
):
Promise
<
AxiosResponse
<
FileInfo
>>
{
return
axios
.
post
(
'vehicle/uploadVehicleCover'
,
fileInfo
,
{
params
:
{
vehicleId
:
vehicleId
}});
return
axios
.
post
(
'vehicle/uploadVehicleCover'
,
fileInfo
,
{
params
:
{
vehicleId
:
vehicleId
}});
}
}
...
@@ -176,7 +172,7 @@ export class VehicleController {
...
@@ -176,7 +172,7 @@ export class VehicleController {
* @param vehicle
* @param vehicle
* @return Vehicle
* @return Vehicle
*/
*/
static
warehousingVehicle
(
axios
:
AxiosStatic
,
vehicle
:
any
):
Promise
<
AxiosResponse
<
Vehicle
>>
{
static
warehousingVehicle
(
axios
:
AxiosStatic
,
vehicle
:
any
):
Promise
<
AxiosResponse
<
Vehicle
>>
{
return
axios
.
post
(
'vehicle/warehousingVehicle'
,
vehicle
);
return
axios
.
post
(
'vehicle/warehousingVehicle'
,
vehicle
);
}
}
...
...
aus-front/admin/src/api/VenueController.ts
View file @
06f5050
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"
;
...
@@ -8,21 +9,20 @@ import {Page} from "lib/src/core/page/Page";
...
@@ -8,21 +9,20 @@ import {Page} from "lib/src/core/page/Page";
import
{
CascaderOption
}
from
"lib/src/domain/CascaderOption"
;
import
{
CascaderOption
}
from
"lib/src/domain/CascaderOption"
;
import
{
User
}
from
"lib/src/entity/security/entity/User"
;
import
{
User
}
from
"lib/src/entity/security/entity/User"
;
import
{
VenueOption
}
from
"lib/src/entity/venue/domain/VenueOption"
;
import
{
VenueOption
}
from
"lib/src/entity/venue/domain/VenueOption"
;
// endregion
// endregion
/**
/**
* 车辆场地(Venue) PI接口
* 车辆场地(Venue) PI接口
* @since 2025-10-13 12:18:11
* @since 2025-10-13 12:18:11
*/
*/
export
class
VenueController
{
export
class
VenueController
{
/**
/**
* 新增区域
* 新增区域
* @param area
* @param area
* @return Area
* @return Area
*/
*/
static
addArea
(
axios
:
AxiosStatic
,
area
:
any
):
Promise
<
AxiosResponse
<
Area
>>
{
static
addArea
(
axios
:
AxiosStatic
,
area
:
any
):
Promise
<
AxiosResponse
<
Area
>>
{
return
axios
.
post
(
'venue/addArea'
,
area
);
return
axios
.
post
(
'venue/addArea'
,
area
);
}
}
...
@@ -31,7 +31,7 @@ export class VenueController {
...
@@ -31,7 +31,7 @@ export class VenueController {
* @param parkingSpace
* @param parkingSpace
* @return ParkingSpace
* @return ParkingSpace
*/
*/
static
addParkingSpace
(
axios
:
AxiosStatic
,
parkingSpace
:
any
):
Promise
<
AxiosResponse
<
ParkingSpace
>>
{
static
addParkingSpace
(
axios
:
AxiosStatic
,
parkingSpace
:
any
):
Promise
<
AxiosResponse
<
ParkingSpace
>>
{
return
axios
.
post
(
'venue/addParkingSpace'
,
parkingSpace
);
return
axios
.
post
(
'venue/addParkingSpace'
,
parkingSpace
);
}
}
...
@@ -40,13 +40,13 @@ export class VenueController {
...
@@ -40,13 +40,13 @@ export class VenueController {
* @param venue
* @param venue
* @return Venue
* @return Venue
*/
*/
static
addVenue
(
axios
:
AxiosStatic
,
venue
:
any
):
Promise
<
AxiosResponse
<
Venue
>>
{
static
addVenue
(
axios
:
AxiosStatic
,
venue
:
any
):
Promise
<
AxiosResponse
<
Venue
>>
{
return
axios
.
post
(
'venue/addVenue'
,
venue
);
return
axios
.
post
(
'venue/addVenue'
,
venue
);
}
}
/**
/**
*/
*/
static
addVenueUsers
(
axios
:
AxiosStatic
,
users
:
any
,
venueId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
addVenueUsers
(
axios
:
AxiosStatic
,
users
:
any
,
venueId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
post
(
'venue/addVenueUsers'
,
users
,
{
params
:
{
venueId
:
venueId
}});
return
axios
.
post
(
'venue/addVenueUsers'
,
users
,
{
params
:
{
venueId
:
venueId
}});
}
}
...
@@ -55,8 +55,8 @@ export class VenueController {
...
@@ -55,8 +55,8 @@ export class VenueController {
* @param venueId
* @param venueId
* @return boolean
* @return boolean
*/
*/
static
enableVenue
(
axios
:
AxiosStatic
,
venueId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
static
enableVenue
(
axios
:
AxiosStatic
,
venueId
:
number
,
enabled
:
boolean
):
Promise
<
AxiosResponse
<
boolean
>>
{
return
axios
.
post
(
'venue/enableVenue'
,
null
,
{
params
:
{
venueId
:
venueId
,
enabled
:
enabled
}});
return
axios
.
post
(
'venue/enableVenue'
,
null
,
{
params
:
{
venueId
:
venueId
,
enabled
:
enabled
}});
}
}
/**
/**
...
@@ -64,7 +64,7 @@ export class VenueController {
...
@@ -64,7 +64,7 @@ export class VenueController {
* @param areaId
* @param areaId
* @return Area
* @return Area
*/
*/
static
getAreaById
(
axios
:
AxiosStatic
,
areaId
:
number
):
Promise
<
AxiosResponse
<
Area
>>
{
static
getAreaById
(
axios
:
AxiosStatic
,
areaId
:
number
):
Promise
<
AxiosResponse
<
Area
>>
{
return
axios
.
get
(
'venue/getAreaById'
,
{
params
:
{
areaId
:
areaId
}});
return
axios
.
get
(
'venue/getAreaById'
,
{
params
:
{
areaId
:
areaId
}});
}
}
...
@@ -72,25 +72,25 @@ export class VenueController {
...
@@ -72,25 +72,25 @@ export class VenueController {
* 查询全部启用$车辆场地
* 查询全部启用$车辆场地
* @return List
* @return List
*/
*/
static
getEnableVenues
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Venue
[]
>>
{
static
getEnableVenues
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Venue
[]
>>
{
return
axios
.
get
(
'venue/getEnabledVenues'
);
return
axios
.
get
(
'venue/getEnabledVenues'
);
}
}
/**
/**
*/
*/
static
getEnabledVenueOptionItems
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
VenueOption
[]
>>
{
static
getEnabledVenueOptionItems
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
VenueOption
[]
>>
{
return
axios
.
get
(
'venue/getEnabledVenueOptionItems'
);
return
axios
.
get
(
'venue/getEnabledVenueOptionItems'
);
}
}
/**
/**
*/
*/
static
getEnabledVenueOptions
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
CascaderOption
[]
>>
{
static
getEnabledVenueOptions
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
CascaderOption
[]
>>
{
return
axios
.
get
(
'venue/getEnabledVenueOptions'
);
return
axios
.
get
(
'venue/getEnabledVenueOptions'
);
}
}
/**
/**
*/
*/
static
getParkingSpaceCountGroupBySpaceType
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
any
>>
{
static
getParkingSpaceCountGroupBySpaceType
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
get
(
'venue/getParkingSpaceCountGroupBySpaceType'
,
{
params
:
{
venueId
:
venueId
}});
return
axios
.
get
(
'venue/getParkingSpaceCountGroupBySpaceType'
,
{
params
:
{
venueId
:
venueId
}});
}
}
...
@@ -99,13 +99,13 @@ export class VenueController {
...
@@ -99,13 +99,13 @@ export class VenueController {
* @param areaId
* @param areaId
* @return List
* @return List
*/
*/
static
getParkingSpacesByAreaId
(
axios
:
AxiosStatic
,
areaId
:
number
):
Promise
<
AxiosResponse
<
ParkingSpace
[]
>>
{
static
getParkingSpacesByAreaId
(
axios
:
AxiosStatic
,
areaId
:
number
):
Promise
<
AxiosResponse
<
ParkingSpace
[]
>>
{
return
axios
.
get
(
'venue/getParkingSpacesByAreaId'
,
{
params
:
{
areaId
:
areaId
}});
return
axios
.
get
(
'venue/getParkingSpacesByAreaId'
,
{
params
:
{
areaId
:
areaId
}});
}
}
/**
/**
*/
*/
static
getVehicleCountByVenueId
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
any
>>
{
static
getVehicleCountByVenueId
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
get
(
'venue/getVehicleCountByVenueId'
,
{
params
:
{
venueId
:
venueId
}});
return
axios
.
get
(
'venue/getVehicleCountByVenueId'
,
{
params
:
{
venueId
:
venueId
}});
}
}
...
@@ -114,13 +114,13 @@ export class VenueController {
...
@@ -114,13 +114,13 @@ export class VenueController {
* @param venueId
* @param venueId
* @return Venue
* @return Venue
*/
*/
static
getVenueById
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
Venue
>>
{
static
getVenueById
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
Venue
>>
{
return
axios
.
get
(
'venue/getVenueById'
,
{
params
:
{
venueId
:
venueId
}});
return
axios
.
get
(
'venue/getVenueById'
,
{
params
:
{
venueId
:
venueId
}});
}
}
/**
/**
*/
*/
static
getVenueDetailById
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
Venue
>>
{
static
getVenueDetailById
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
Venue
>>
{
return
axios
.
get
(
'venue/getVenueDetailById'
,
{
params
:
{
venueId
:
venueId
}});
return
axios
.
get
(
'venue/getVenueDetailById'
,
{
params
:
{
venueId
:
venueId
}});
}
}
...
@@ -128,7 +128,7 @@ export class VenueController {
...
@@ -128,7 +128,7 @@ export class VenueController {
* 查询场地下的用户
* 查询场地下的用户
* @return List
* @return List
*/
*/
static
getVenueUsers
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
User
[]
>>
{
static
getVenueUsers
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
User
[]
>>
{
return
axios
.
get
(
'venue/getVenueUsers'
,
{
params
:
{
venueId
:
venueId
}});
return
axios
.
get
(
'venue/getVenueUsers'
,
{
params
:
{
venueId
:
venueId
}});
}
}
...
@@ -136,7 +136,7 @@ export class VenueController {
...
@@ -136,7 +136,7 @@ export class VenueController {
* 分页查询区域
* 分页查询区域
* @param pagination
* @param pagination
*/
*/
static
pageArea
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Area
>>>
{
static
pageArea
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Area
>>>
{
return
axios
.
post
(
'venue/pageArea'
,
pagination
);
return
axios
.
post
(
'venue/pageArea'
,
pagination
);
}
}
...
@@ -147,7 +147,7 @@ export class VenueController {
...
@@ -147,7 +147,7 @@ export class VenueController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageParkingSpace
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
ParkingSpace
>>>
{
static
pageParkingSpace
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
ParkingSpace
>>>
{
return
axios
.
post
(
'venue/pageParkingSpace'
,
pagination
);
return
axios
.
post
(
'venue/pageParkingSpace'
,
pagination
);
}
}
...
@@ -158,7 +158,7 @@ export class VenueController {
...
@@ -158,7 +158,7 @@ export class VenueController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageVenue
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Venue
>>>
{
static
pageVenue
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Venue
>>>
{
return
axios
.
post
(
'venue/pageVenue'
,
pagination
);
return
axios
.
post
(
'venue/pageVenue'
,
pagination
);
}
}
...
@@ -166,7 +166,7 @@ export class VenueController {
...
@@ -166,7 +166,7 @@ export class VenueController {
/**
/**
*/
*/
static
pageVenueUser
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
User
>>>
{
static
pageVenueUser
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
User
>>>
{
return
axios
.
post
(
'venue/pageVenueUser'
,
pagination
);
return
axios
.
post
(
'venue/pageVenueUser'
,
pagination
);
}
}
...
@@ -177,7 +177,7 @@ export class VenueController {
...
@@ -177,7 +177,7 @@ export class VenueController {
* @param areaId
* @param areaId
* @return int
* @return int
*/
*/
static
removeAreaById
(
axios
:
AxiosStatic
,
areaId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeAreaById
(
axios
:
AxiosStatic
,
areaId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'venue/removeAreaById'
,
{
params
:
{
areaId
:
areaId
}});
return
axios
.
delete
(
'venue/removeAreaById'
,
{
params
:
{
areaId
:
areaId
}});
}
}
...
@@ -186,8 +186,8 @@ export class VenueController {
...
@@ -186,8 +186,8 @@ export class VenueController {
* @param venueId
* @param venueId
* @return int
* @return int
*/
*/
static
removeUserByVenueId
(
axios
:
AxiosStatic
,
venueId
:
number
,
userId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeUserByVenueId
(
axios
:
AxiosStatic
,
venueId
:
number
,
userId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'venue/removeUserByVenueId'
,
{
params
:
{
venueId
:
venueId
,
userId
:
userId
}});
return
axios
.
delete
(
'venue/removeUserByVenueId'
,
{
params
:
{
venueId
:
venueId
,
userId
:
userId
}});
}
}
/**
/**
...
@@ -195,7 +195,7 @@ export class VenueController {
...
@@ -195,7 +195,7 @@ export class VenueController {
* @param venueId
* @param venueId
* @return int
* @return int
*/
*/
static
removeVenueById
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
removeVenueById
(
axios
:
AxiosStatic
,
venueId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
delete
(
'venue/removeVenueById'
,
{
params
:
{
venueId
:
venueId
}});
return
axios
.
delete
(
'venue/removeVenueById'
,
{
params
:
{
venueId
:
venueId
}});
}
}
...
@@ -204,7 +204,7 @@ export class VenueController {
...
@@ -204,7 +204,7 @@ export class VenueController {
* @param area
* @param area
* @return Area
* @return Area
*/
*/
static
updateArea
(
axios
:
AxiosStatic
,
area
:
any
):
Promise
<
AxiosResponse
<
Area
>>
{
static
updateArea
(
axios
:
AxiosStatic
,
area
:
any
):
Promise
<
AxiosResponse
<
Area
>>
{
return
axios
.
post
(
'venue/updateArea'
,
area
);
return
axios
.
post
(
'venue/updateArea'
,
area
);
}
}
...
@@ -213,7 +213,7 @@ export class VenueController {
...
@@ -213,7 +213,7 @@ export class VenueController {
* @param parkingSpace
* @param parkingSpace
* @return ParkingSpace
* @return ParkingSpace
*/
*/
static
updateParkingSpace
(
axios
:
AxiosStatic
,
parkingSpace
:
any
):
Promise
<
AxiosResponse
<
ParkingSpace
>>
{
static
updateParkingSpace
(
axios
:
AxiosStatic
,
parkingSpace
:
any
):
Promise
<
AxiosResponse
<
ParkingSpace
>>
{
return
axios
.
post
(
'venue/updateParkingSpace'
,
parkingSpace
);
return
axios
.
post
(
'venue/updateParkingSpace'
,
parkingSpace
);
}
}
...
@@ -222,7 +222,7 @@ export class VenueController {
...
@@ -222,7 +222,7 @@ export class VenueController {
* @param venue
* @param venue
* @return Venue
* @return Venue
*/
*/
static
updateVenue
(
axios
:
AxiosStatic
,
venue
:
any
):
Promise
<
AxiosResponse
<
Venue
>>
{
static
updateVenue
(
axios
:
AxiosStatic
,
venue
:
any
):
Promise
<
AxiosResponse
<
Venue
>>
{
return
axios
.
post
(
'venue/updateVenue'
,
venue
);
return
axios
.
post
(
'venue/updateVenue'
,
venue
);
}
}
...
...
aus-front/admin/src/api/WithdrawController.ts
View file @
06f5050
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"
;
// 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
:
any
):
Promise
<
AxiosResponse
<
Withdraw
>>
{
static
auditWithdraw
(
axios
:
AxiosStatic
,
approveHistory
:
any
):
Promise
<
AxiosResponse
<
Withdraw
>>
{
return
axios
.
post
(
'withdraw/auditWithdraw'
,
approveHistory
);
return
axios
.
post
(
'withdraw/auditWithdraw'
,
approveHistory
);
}
}
/**
/**
*/
*/
static
exportWithdraw
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
static
exportWithdraw
(
axios
:
AxiosStatic
,
pagination
:
any
,
config
?:
any
):
Promise
<
AxiosResponse
<
void
>>
{
return
axios
.
post
(
'withdraw/exportWithdraw'
,
pagination
,
config
);
return
axios
.
post
(
'withdraw/exportWithdraw'
,
pagination
,
config
);
}
}
...
@@ -32,19 +32,19 @@ export class WithdrawController {
...
@@ -32,19 +32,19 @@ export class WithdrawController {
* @param withdrawId
* @param withdrawId
* @return Withdraw
* @return Withdraw
*/
*/
static
getWithdrawById
(
axios
:
AxiosStatic
,
withdrawId
:
number
):
Promise
<
AxiosResponse
<
Withdraw
>>
{
static
getWithdrawById
(
axios
:
AxiosStatic
,
withdrawId
:
number
):
Promise
<
AxiosResponse
<
Withdraw
>>
{
return
axios
.
get
(
'withdraw/getWithdrawById'
,
{
params
:
{
withdrawId
:
withdrawId
}});
return
axios
.
get
(
'withdraw/getWithdrawById'
,
{
params
:
{
withdrawId
:
withdrawId
}});
}
}
/**
/**
*/
*/
static
getWithdrawCountByAuditState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
static
getWithdrawCountByAuditState
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
any
>>
{
return
axios
.
get
(
'withdraw/getWithdrawCountByAuditState'
);
return
axios
.
get
(
'withdraw/getWithdrawCountByAuditState'
);
}
}
/**
/**
*/
*/
static
getWithdrawsByAccountId
(
axios
:
AxiosStatic
,
accountId
:
number
):
Promise
<
AxiosResponse
<
Withdraw
[]
>>
{
static
getWithdrawsByAccountId
(
axios
:
AxiosStatic
,
accountId
:
number
):
Promise
<
AxiosResponse
<
Withdraw
[]
>>
{
return
axios
.
get
(
'withdraw/getWithdrawsByAccountId'
,
{
params
:
{
accountId
:
accountId
}});
return
axios
.
get
(
'withdraw/getWithdrawsByAccountId'
,
{
params
:
{
accountId
:
accountId
}});
}
}
...
@@ -53,7 +53,7 @@ export class WithdrawController {
...
@@ -53,7 +53,7 @@ export class WithdrawController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageWithdraw
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Withdraw
>>>
{
static
pageWithdraw
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Withdraw
>>>
{
return
axios
.
post
(
'withdraw/pageWithdraw'
,
pagination
);
return
axios
.
post
(
'withdraw/pageWithdraw'
,
pagination
);
}
}
...
@@ -64,7 +64,7 @@ export class WithdrawController {
...
@@ -64,7 +64,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/router/FinanceRouter.ts
View file @
06f5050
...
@@ -67,6 +67,13 @@ export const financeRouter: Array<RouteRecordRaw> = [
...
@@ -67,6 +67,13 @@ export const financeRouter: Array<RouteRecordRaw> = [
}
}
},
},
{
{
path
:
'/finance/recharge'
,
component
:
()
=>
import
(
'@/views/finance/recharge/RechargePage.vue'
),
meta
:
{
breadcrumbs
:
[{
name
:
'财务管理'
},
{
name
:
'提现审核'
}]
}
},
{
path
:
'/finance/bank-account'
,
path
:
'/finance/bank-account'
,
component
:
()
=>
import
(
'@/views/finance/bank-account/BankAccountPage.vue'
),
component
:
()
=>
import
(
'@/views/finance/bank-account/BankAccountPage.vue'
),
meta
:
{
meta
:
{
...
...
aus-front/admin/src/views/finance/recharge/RechargeForm.vue
0 → 100644
View file @
06f5050
<
template
>
<a-card
:bordered=
"false"
class=
"card no-border-card"
title=
"请确认以下信息"
size=
"small"
>
<a-descriptions
:bordered=
"false"
:column=
"2"
size=
"small"
>
<a-descriptions-item
label=
"流水号"
name=
"name"
>
{{
recharge
.
outTradeNo
}}
</a-descriptions-item>
<a-descriptions-item
label=
"申请人"
name=
"updateBy"
>
{{
recharge
.
account
.
accountName
}}
</a-descriptions-item>
<a-descriptions-item
label=
"申请时间"
name=
"createTime"
>
{{
recharge
.
createTime
}}
</a-descriptions-item>
<a-descriptions-item
label=
"申请提现金额"
name=
"amount"
>
¥
{{
recharge
.
amount
}}
</a-descriptions-item>
<a-descriptions-item
label=
"账户余额"
name=
"amount"
>
¥
{{
recharge
.
account
.
surplus
}}
</a-descriptions-item>
<!--
<a-descriptions-item
label=
"当前冻结金额"
name=
"amount"
>
-->
<!-- ¥
{{
recharge
.
account
.
frozenDeposit
}}
-->
<!--
</a-descriptions-item>
-->
</a-descriptions>
</a-card>
<a-card
:bordered=
"false"
class=
" no-border-card"
title=
"历史驳回记录"
size=
"small"
v-if=
"recharges.length>0"
>
<a-table
:columns=
"columns"
:data-source=
"recharges"
:bordered=
"false"
@
resizeColumn=
"this.$filters.tableResizeColumn"
size=
"small"
:pagination=
"false"
:row-key=
"record => record.withdrawId"
:scroll=
"
{y: '350px)'}">
<template
#
bodyCell=
"
{column,record}">
<template
v-if=
"column.key === 'updateBy'"
>
<user-real-name
:user-name=
"record.updateBy"
></user-real-name>
</
template
>
</template>
<!--提现申请列表end-->
</a-table>
</a-card>
<a-spin
:spinning=
"submitted"
>
<a-alert
show-icon
v-if=
"formState.approveResult==='AUDITED'"
type=
"info"
message=
"审核通过后将自动进入打款流程"
class=
"mt-10 mb-8"
></a-alert>
<a-alert
show-icon
v-if=
"formState.approveResult==='REJECTED'"
type=
"warning"
message=
"用户将收到驳回通知,请谨慎操作!"
class=
"mt-10 mb-8"
></a-alert>
<a-form
v-if=
"formState"
:model=
"formState"
:label-col=
"labelCol"
:wrapper-col=
"wrapperCol"
ref=
"formRef"
>
<a-form-item
label=
"审核结果"
name=
"approveResult"
>
<a-radio-group
v-model:value=
"formState.approveResult"
>
<a-radio
value=
"AUDITED"
>
审核通过
</a-radio>
<a-radio
value=
"REJECTED"
>
驳回申请
</a-radio>
</a-radio-group>
</a-form-item>
<a-form-item
v-if=
"formState.approveResult==='REJECTED'"
label=
"驳回原因"
name=
"rejectReason"
:rules=
"[{ required: true, message: '请选择驳回原因!' } ]"
>
<a-select
v-model:value=
"formState.rejectReason"
placeholder=
"请选择驳回原因"
>
<a-select-option
value=
"账户信息异常"
>
账户信息异常
</a-select-option>
<a-select-option
value=
"涉嫌违规操作"
>
涉嫌违规操作
</a-select-option>
<a-select-option
value=
"资料不全"
>
资料不全
</a-select-option>
<a-select-option
value=
"其它"
>
其它
</a-select-option>
</a-select>
</a-form-item>
<a-form-item
label=
"详细驳回原因"
name=
"rejectOtherReason"
v-if=
"formState.rejectReason==='其它'"
:rules=
"[{ required: true, message: '请输入详细驳回原因!' },{max: 120, message: '最多输入120个字符!'}]"
>
<a-textarea
v-model:value=
"formState.rejectOtherReason"
rows=
"3"
placeholder=
"请输入详细驳回原因"
/>
</a-form-item>
<a-form-item
label=
"备注"
name=
"remark"
:rules=
"[ {max: 120, message: '最多不能超过120个字符!' }]"
>
<a-textarea
v-model:value=
"formState.remark"
rows=
"6"
placeholder=
"请输入备注"
/>
</a-form-item>
</a-form>
</a-spin>
</template>
<
script
lang=
"ts"
>
import
{
Component
,
Prop
,
Vue
}
from
"vue-facing-decorator"
;
import
UserRealName
from
"@/components/UserRealName.vue"
;
import
{
EnhanceFormComponent
}
from
"@/core/form/EnhanceFormComponent"
;
import
{
ApproveHistory
}
from
"lib/src/entity/track/entity/ApproveHistory"
;
import
{
Withdraw
}
from
"lib/src/entity/finance/entity/Withdraw"
;
import
{
AuditState
}
from
"lib/src/entity/enum_types"
;
import
{
message
,
TableColumnsType
}
from
"ant-design-vue"
;
import
{
reactive
}
from
"vue"
;
import
{
WithdrawController
}
from
"@/api/WithdrawController"
;
import
{
Recharge
}
from
"lib/src/entity/finance/entity/Recharge"
;
import
{
RechargeController
}
from
"@/api/RechargeController"
;
@
Component
({
components
:
{
UserRealName
}
})
export
default
class
RechargeForm
extends
EnhanceFormComponent
<
ApproveHistory
>
{
@
Prop
({
type
:
Object
,
required
:
true
})
recharge
:
Recharge
;
@
Prop
({
type
:
String
,
required
:
false
,
default
:
'AUDITED'
})
auditState
:
AuditState
;
columns
:
TableColumnsType
=
[
{
title
:
'流水号'
,
dataIndex
:
'outTradeNo'
,
key
:
'outTradeNo'
,
width
:
150
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
{
title
:
'申请提现金额'
,
dataIndex
:
'amount'
,
key
:
'amount'
,
width
:
120
,
align
:
'right'
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
,
customRender
:
({
text
,
record
,
index
,
column
})
=>
{
return
'¥'
+
text
;
}
},
{
title
:
'申请时间'
,
dataIndex
:
'createTime'
,
key
:
'createTime'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
{
title
:
'审核人'
,
dataIndex
:
'updateBy'
,
key
:
'updateBy'
,
width
:
120
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
{
title
:
'审核备注'
,
dataIndex
:
'auditRemark'
,
key
:
'auditRemark'
,
width
:
120
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
{
title
:
'审核时间'
,
dataIndex
:
'auditTime'
,
key
:
'auditTime'
,
align
:
'center'
,
width
:
170
,
resizable
:
true
,
ellipsis
:
true
,
sorter
:
true
},
];
recharges
:
Recharge
[]
=
[];
created
():
void
{
this
.
formState
=
reactive
<
ApproveHistory
>
(
new
ApproveHistory
());
this
.
formState
.
approveResult
=
this
.
auditState
;
RechargeController
.
getRechargesByAccountId
(
this
.
axios
,
this
.
recharge
.
account
.
accountId
).
then
(
response
=>
{
this
.
recharges
=
response
.
data
;
});
}
/**
* 在实例挂载后调用
*/
mounted
()
{
}
onValidSuccess
(
formValue
:
ApproveHistory
):
void
{
formValue
.
approveId
=
this
.
recharge
.
rechargeId
;
if
(
formValue
.
rejectReason
===
'其它'
)
{
formValue
.
rejectReason
=
formValue
.
rejectOtherReason
;
}
WithdrawController
.
auditWithdraw
(
this
.
axios
,
formValue
).
then
(
response
=>
{
message
.
success
(
'提交成功'
);
this
.
$emit
(
'handleOk'
,
response
.
data
);
});
}
/**
* 失败回调
* @param errorMessage
*/
onValidFailure
(
errorMessage
:
any
)
{
console
.
error
(
'错误信息:'
,
errorMessage
);
}
}
</
script
>
<
style
lang=
"less"
scoped
>
</
style
>
aus-front/admin/src/views/finance/recharge/RechargePage.vue
0 → 100644
View file @
06f5050
This diff is collapsed.
Click to expand it.
aus-front/app/src/api/AccountController.ts
View file @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
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"
;
// 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
:
any
):
Promise
<
AxiosResponse
<
Account
>>
{
return
axios
.
post
(
'account/certifyAccount'
,
certification
);
return
axios
.
post
(
'account/certifyAccount'
,
certification
);
}
}
...
@@ -24,7 +25,7 @@ export class AccountController {
...
@@ -24,7 +25,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
}});
}
}
...
@@ -33,7 +34,7 @@ export class AccountController {
...
@@ -33,7 +34,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'
);
}
}
...
@@ -42,25 +43,25 @@ export class AccountController {
...
@@ -42,25 +43,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
:
any
):
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
}});
}
}
...
@@ -69,13 +70,13 @@ export class AccountController {
...
@@ -69,13 +70,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
:
any
):
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
:
any
):
Promise
<
AxiosResponse
<
Account
>>
{
return
axios
.
post
(
'account/updateAccountNickName'
,
accountInfo
);
return
axios
.
post
(
'account/updateAccountNickName'
,
accountInfo
);
}
}
...
...
aus-front/app/src/api/AgreementController.ts
View file @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
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"
;
// endregion
// endregion
/**
/**
...
...
aus-front/app/src/api/AppealController.ts
View file @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
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"
;
// endregion
// endregion
/**
/**
...
...
aus-front/app/src/api/AuctionController.ts
View file @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
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"
;
// 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
}});
}
}
...
@@ -26,7 +27,7 @@ export class AuctionController {
...
@@ -26,7 +27,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
}});
}
}
...
@@ -36,7 +37,7 @@ export class AuctionController {
...
@@ -36,7 +37,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
}});
}
}
...
@@ -46,7 +47,7 @@ export class AuctionController {
...
@@ -46,7 +47,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
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionVehicle
>>>
{
return
axios
.
post
(
'auction/pageDarkAuctionVehicle'
,
pagination
);
return
axios
.
post
(
'auction/pageDarkAuctionVehicle'
,
pagination
);
}
}
...
@@ -57,7 +58,7 @@ export class AuctionController {
...
@@ -57,7 +58,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
:
any
):
Promise
<
AxiosResponse
<
Page
<
Auction
>>>
{
return
axios
.
post
(
'auction/pageLightAuction'
,
pagination
);
return
axios
.
post
(
'auction/pageLightAuction'
,
pagination
);
}
}
...
@@ -68,7 +69,7 @@ export class AuctionController {
...
@@ -68,7 +69,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
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionVehicle
>>>
{
return
axios
.
post
(
'auction/pageLightAuctionVehicle'
,
pagination
);
return
axios
.
post
(
'auction/pageLightAuctionVehicle'
,
pagination
);
}
}
...
@@ -80,7 +81,7 @@ export class AuctionController {
...
@@ -80,7 +81,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
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionVehicle
>>>
{
return
axios
.
post
(
'auction/pageRandomAuctionVehicle'
,
pagination
);
return
axios
.
post
(
'auction/pageRandomAuctionVehicle'
,
pagination
);
}
}
...
@@ -92,7 +93,7 @@ export class AuctionController {
...
@@ -92,7 +93,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
:
any
):
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 @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
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"
;
// 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
:
any
):
Promise
<
AxiosResponse
<
Contract
>>
{
return
axios
.
post
(
'order/esignAuctionOrderContract'
,
signOrder
);
return
axios
.
post
(
'order/esignAuctionOrderContract'
,
signOrder
);
}
}
...
@@ -26,7 +27,7 @@ export class AuctionOrderController {
...
@@ -26,7 +27,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
}});
}
}
...
@@ -35,13 +36,13 @@ export class AuctionOrderController {
...
@@ -35,13 +36,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
}});
}
}
...
@@ -50,19 +51,19 @@ export class AuctionOrderController {
...
@@ -50,19 +51,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'
);
}
}
...
@@ -71,7 +72,7 @@ export class AuctionOrderController {
...
@@ -71,7 +72,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
:
any
):
Promise
<
AxiosResponse
<
Page
<
AuctionOrder
>>>
{
return
axios
.
post
(
'order/pageAuctionOrder'
,
pagination
);
return
axios
.
post
(
'order/pageAuctionOrder'
,
pagination
);
}
}
...
@@ -83,7 +84,7 @@ export class AuctionOrderController {
...
@@ -83,7 +84,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
:
any
):
Promise
<
AxiosResponse
<
AuctionOrder
>>
{
return
axios
.
post
(
'order/uploadTransferAuctionOrder'
,
auctionOrder
);
return
axios
.
post
(
'order/uploadTransferAuctionOrder'
,
auctionOrder
);
}
}
...
...
aus-front/app/src/api/BankAccountController.ts
View file @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
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"
;
// endregion
// endregion
/**
/**
...
...
aus-front/app/src/api/BidController.ts
View file @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
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"
;
// 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
);
}
}
...
@@ -25,19 +26,19 @@ export class BidController {
...
@@ -25,19 +26,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
}});
}
}
...
@@ -46,7 +47,7 @@ export class BidController {
...
@@ -46,7 +47,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
:
any
):
Promise
<
AxiosResponse
<
Page
<
Bid
>>>
{
return
axios
.
post
(
'bid/pageBid'
,
pagination
);
return
axios
.
post
(
'bid/pageBid'
,
pagination
);
}
}
...
...
aus-front/app/src/api/CarouselController.ts
View file @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
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"
;
// endregion
// endregion
/**
/**
...
...
aus-front/app/src/api/ConfigController.ts
View file @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
LightBidPriceRange
}
from
"lib/src/entity/business/domain/LightBidPriceRange"
;
import
{
LightBidPriceRange
}
from
"lib/src/entity/business/domain/LightBidPriceRange"
;
import
{
BusinessConfig
}
from
"lib/src/entity/business/domain/BusinessConfig"
;
import
{
BusinessConfig
}
from
"lib/src/entity/business/domain/BusinessConfig"
;
import
{
DarkBidPriceRange
}
from
"lib/src/entity/business/domain/DarkBidPriceRange"
;
import
{
DarkBidPriceRange
}
from
"lib/src/entity/business/domain/DarkBidPriceRange"
;
// endregion
// endregion
/**
/**
...
...
aus-front/app/src/api/DepositController.ts
View file @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
type
{
WxPayUnifiedOrderV3Result
}
from
"lib/src/domain/WxPayUnifiedOrderV3Result"
;
import
type
{
WxPayUnifiedOrderV3Result
}
from
"lib/src/domain/WxPayUnifiedOrderV3Result"
;
// endregion
// endregion
/**
/**
...
...
aus-front/app/src/api/DictionaryController.ts
View file @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
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 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
}});
}
}
...
@@ -25,7 +26,7 @@ export class DictionaryController {
...
@@ -25,7 +26,7 @@ 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
}});
}
}
...
...
aus-front/app/src/api/ESignController.ts
View file @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
// endregion
// endregion
...
...
aus-front/app/src/api/FavoriteController.ts
View file @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
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"
;
// 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
}});
}
}
...
@@ -25,7 +26,7 @@ export class FavoriteController {
...
@@ -25,7 +26,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
:
any
):
Promise
<
AxiosResponse
<
Page
<
Favorite
>>>
{
return
axios
.
post
(
'favorite/pageFavorite'
,
pagination
);
return
axios
.
post
(
'favorite/pageFavorite'
,
pagination
);
}
}
...
@@ -36,7 +37,7 @@ export class FavoriteController {
...
@@ -36,7 +37,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
}});
}
}
...
@@ -45,7 +46,7 @@ export class FavoriteController {
...
@@ -45,7 +46,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/GscApiController.ts
View file @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
// endregion
// endregion
...
...
aus-front/app/src/api/LoginController.ts
View file @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
Authenticity
from
"lib/src/core/security/Authenticity"
;
import
Authenticity
from
"lib/src/core/security/Authenticity"
;
// endregion
// endregion
/**
/**
*/
*/
export
class
LoginController
{
export
class
LoginController
{
/**
/**
* 个人账户修改手机原号码校验
* 个人账户修改手机原号码校验
...
@@ -15,7 +16,7 @@ export class LoginController {
...
@@ -15,7 +16,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
);
}
}
...
@@ -27,13 +28,13 @@ export class LoginController {
...
@@ -27,13 +28,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
);
}
}
...
@@ -44,16 +45,16 @@ export class LoginController {
...
@@ -44,16 +45,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
:
any
):
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 @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
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
{
Page
}
from
"lib/src/core/page/Page"
;
// endregion
// endregion
/**
/**
...
@@ -19,6 +22,25 @@ export class RechargeController{
...
@@ -19,6 +22,25 @@ export class RechargeController{
return
axios
.
post
(
'recharge/addRecharge'
,
recharge
);
return
axios
.
post
(
'recharge/addRecharge'
,
recharge
);
}
}
/**
*/
static
pageRecharge
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Recharge
>>>
{
return
axios
.
post
(
'recharge/pageRecharge'
,
pagination
);
}
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 @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
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"
;
// 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
}});
}
}
...
@@ -25,7 +26,7 @@ export class ReleaseOrderController {
...
@@ -25,7 +26,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
:
any
):
Promise
<
AxiosResponse
<
Page
<
ReleaseOrder
>>>
{
return
axios
.
post
(
'order/pageReleaseOrder'
,
pagination
);
return
axios
.
post
(
'order/pageReleaseOrder'
,
pagination
);
}
}
...
@@ -36,7 +37,7 @@ export class ReleaseOrderController {
...
@@ -36,7 +37,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
:
any
):
Promise
<
AxiosResponse
<
ReleaseOrder
>>
{
return
axios
.
post
(
'order/updateReleaseOrder'
,
releaseOrder
);
return
axios
.
post
(
'order/updateReleaseOrder'
,
releaseOrder
);
}
}
...
...
aus-front/app/src/api/StorageController.ts
View file @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
// endregion
// endregion
...
...
aus-front/app/src/api/TrackController.ts
View file @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
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"
;
// endregion
// endregion
/**
/**
*/
*/
export
class
TrackController
{
export
class
TrackController
{
/**
/**
*/
*/
static
pageVehicleBrowserHistory
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
VehicleBrowserHistory
>>>
{
static
pageVehicleBrowserHistory
(
axios
:
AxiosStatic
,
pagination
:
any
):
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 @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
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"
;
// 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
:
any
):
Promise
<
AxiosResponse
<
OrderTransaction
>>
{
return
axios
.
post
(
'transaction/addOrderTransaction'
,
orderTransaction
);
return
axios
.
post
(
'transaction/addOrderTransaction'
,
orderTransaction
);
}
}
...
@@ -27,7 +28,7 @@ export class TransactionController {
...
@@ -27,7 +28,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'
);
}
}
...
@@ -36,7 +37,7 @@ export class TransactionController {
...
@@ -36,7 +37,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
:
any
):
Promise
<
AxiosResponse
<
Page
<
Transaction
>>>
{
return
axios
.
post
(
'transaction/pageTransaction'
,
pagination
);
return
axios
.
post
(
'transaction/pageTransaction'
,
pagination
);
}
}
...
@@ -48,7 +49,7 @@ export class TransactionController {
...
@@ -48,7 +49,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
:
any
):
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 @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
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"
;
// 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
:
any
):
Promise
<
AxiosResponse
<
Withdraw
>>
{
return
axios
.
post
(
'withdraw/addWithdraw'
,
withdraw
);
return
axios
.
post
(
'withdraw/addWithdraw'
,
withdraw
);
}
}
...
@@ -25,19 +26,19 @@ export class WithdrawController {
...
@@ -25,19 +26,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
getWithdrawsByWaitUserConfirm
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Withdraw
[]
>>
{
static
getWithdrawsByWaitUserConfirm
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
Withdraw
[]
>>
{
return
axios
.
get
(
'withdraw/getWithdrawsByWaitUserConfirm'
);
return
axios
.
get
(
'withdraw/getWithdrawsByWaitUserConfirm'
);
}
}
/**
/**
*/
*/
static
getWxPayMchId
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
string
>>
{
static
getWxPayMchId
(
axios
:
AxiosStatic
):
Promise
<
AxiosResponse
<
string
>>
{
return
axios
.
get
(
'withdraw/getWxPayMchId'
);
return
axios
.
get
(
'withdraw/getWxPayMchId'
);
}
}
...
@@ -46,7 +47,7 @@ export class WithdrawController {
...
@@ -46,7 +47,7 @@ export class WithdrawController {
* @param pagination
* @param pagination
* @return Page
* @return Page
*/
*/
static
pageWithdraw
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Withdraw
>>>
{
static
pageWithdraw
(
axios
:
AxiosStatic
,
pagination
:
any
):
Promise
<
AxiosResponse
<
Page
<
Withdraw
>>>
{
return
axios
.
post
(
'withdraw/pageWithdraw'
,
pagination
);
return
axios
.
post
(
'withdraw/pageWithdraw'
,
pagination
);
}
}
...
@@ -54,7 +55,7 @@ export class WithdrawController {
...
@@ -54,7 +55,7 @@ export class WithdrawController {
/**
/**
*/
*/
static
updateWithdrawStateById
(
axios
:
AxiosStatic
,
withdrawId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
static
updateWithdrawStateById
(
axios
:
AxiosStatic
,
withdrawId
:
number
):
Promise
<
AxiosResponse
<
number
>>
{
return
axios
.
post
(
'withdraw/updateWithdrawStateById'
,
null
,
{
params
:
{
withdrawId
:
withdrawId
}});
return
axios
.
post
(
'withdraw/updateWithdrawStateById'
,
null
,
{
params
:
{
withdrawId
:
withdrawId
}});
}
}
...
...
aus-front/app/src/api/WxpayController.ts
View file @
06f5050
import
{
AxiosResponse
,
AxiosStatic
}
from
'axios'
;
import
dayjs
,{
Dayjs
}
from
'dayjs'
;
// region 前端扩展导入包
// region 前端扩展导入包
// endregion
// endregion
...
@@ -5,6 +8,20 @@
...
@@ -5,6 +8,20 @@
*/
*/
export
class
WxpayController
{
export
class
WxpayController
{
/**
* <pre>
退款回调通知处理
详见 https://pay.weixin.qq.com/doc/v3/merchant/4012791865
</pre>
* @param notifyData
* @param request
* @return ResponseEntity
* @throws WxPayException
*/
static
parseRefundNotifyResult
(
axios
:
AxiosStatic
,
notifyData
:
any
):
Promise
<
AxiosResponse
<
ResponseEntity
<
String
>>>
{
return
axios
.
post
(
'wxpay/notify/refund'
,
notifyData
);
}
// region 前端扩展代码区
// region 前端扩展代码区
// endregion
// endregion
}
}
aus-front/app/src/components/AuctionVehicleItem.vue
View file @
06f5050
<
template
>
<
template
>
<view
v-if=
"auctionVehicle"
class=
"car-item"
@
click=
"viewCarDetail()"
>
<view
v-if=
"auctionVehicle"
class=
"car-item"
@
click=
"viewCarDetail()"
>
<vehicle-cover-wrapper
:auction-vehicle=
"auctionVehicle"
></vehicle-cover-wrapper>
<vehicle-cover-wrapper
:auction-vehicle=
"auctionVehicle"
></vehicle-cover-wrapper>
<view
class=
"
car
-info"
>
<view
class=
"
recharge
-info"
>
<text
class=
"car-name"
>
【
{{
licensePlate
}}
】
{{
vehicle
.
baseInfo
.
carSeriesName
}}
{{
vehicle
.
baseInfo
.
carTypeName
}}
</text>
<text
class=
"car-name"
>
【
{{
licensePlate
}}
】
{{
vehicle
.
baseInfo
.
carSeriesName
}}
{{
vehicle
.
baseInfo
.
carTypeName
}}
</text>
<text
class=
"car-specs"
>
{{
productionYear
}}
年 |
{{
mileage
}}
万公里
</text>
<text
class=
"car-specs"
>
{{
productionYear
}}
年 |
{{
mileage
}}
万公里
</text>
<view
class=
"car-features"
>
<view
class=
"car-features"
>
...
@@ -79,7 +79,7 @@ export default class AuctionVehicleItem extends AbstractVehicleItem {
...
@@ -79,7 +79,7 @@ export default class AuctionVehicleItem extends AbstractVehicleItem {
}
}
.
car
-info
{
.
recharge
-info
{
flex
:
1
;
flex
:
1
;
margin-left
:
10px
;
margin-left
:
10px
;
display
:
flex
;
display
:
flex
;
...
...
aus-front/app/src/module/deposit/DepositPage.vue
View file @
06f5050
...
@@ -6,15 +6,15 @@
...
@@ -6,15 +6,15 @@
<!-- 账户余额区域 -->
<!-- 账户余额区域 -->
<view
class=
"balance-section"
>
<view
class=
"balance-section"
>
<view
class=
"balance-label"
>
我的钱包
<view
class=
"balance-label"
>
我的钱包
<
!--
<view
class=
"withdraw-button"
@
click=
"withdraw"
>
提现-->
<
view
class=
"withdraw-button"
@
click=
"rechargeRefund"
>
提现
<!--
<uni-icons
type=
"right"
size=
"12"
style=
"padding-bottom: 4px;"
color=
"#185EFE"
></uni-icons>
--
>
<uni-icons
type=
"right"
size=
"12"
style=
"padding-bottom: 4px;"
color=
"#185EFE"
></uni-icons
>
<
!--
</view>
--
>
<
/view
>
</view>
</view>
<view
class=
"balance-surplus"
>
<view
class=
"balance-surplus"
>
<view>
<view>
<view
class=
"stat-label"
>
账户余额(元)
<view
class=
"stat-label"
>
账户余额(元)
<
!--
<text
class=
"recharge"
@
click=
"recharge"
>
充值
</text>
--
>
<
text
class=
"recharge"
@
click=
"recharge"
>
充值
</text
>
</view>
</view>
<view
class=
"balance-amount"
>
{{
$filters
.
formatNumber
(
transactionStat
?.
surplus
??
0
)
}}
</view>
<view
class=
"balance-amount"
>
{{
$filters
.
formatNumber
(
transactionStat
?.
surplus
??
0
)
}}
</view>
</view>
</view>
...
@@ -143,6 +143,10 @@ export default class DepositPage extends PaginationComponent<Transaction> {
...
@@ -143,6 +143,10 @@ export default class DepositPage extends PaginationComponent<Transaction> {
uni
.
navigateTo
({
url
:
'/module/deposit/WithdrawForm'
});
uni
.
navigateTo
({
url
:
'/module/deposit/WithdrawForm'
});
}
}
rechargeRefund
()
{
uni
.
navigateTo
({
url
:
'/module/deposit/RechargeRefundPage'
});
}
recharge
()
{
recharge
()
{
uni
.
navigateTo
({
url
:
'/module/deposit/RechargePage'
});
uni
.
navigateTo
({
url
:
'/module/deposit/RechargePage'
});
}
}
...
...
aus-front/app/src/module/deposit/RechargeRefundPage.vue
0 → 100644
View file @
06f5050
<
template
>
<view
class=
"order-tabs"
>
<scroll-view
scroll-x
class=
"tabs-scroll"
>
<uni-segmented-control
class=
"state-segmented"
:current=
"current"
:values=
"tabs"
style-type=
"text"
active-color=
"#333"
inActiveColor=
"#666"
@
clickItem=
"onClickItem"
/>
</scroll-view>
</view>
<scroll-view
class=
"scroll-content"
scroll-y
:refresher-enabled=
"true"
:refresher-triggered=
"loading"
@
scrolltolower=
"doInfinite()"
@
refresherrefresh=
"pageReload()"
>
<view
class=
"recharge-list"
>
<!-- 待支付订单 -->
<template
v-if=
"contents.length>0"
v-for=
"(recharge, index) in contents"
:key=
"recharge.rechargeId"
>
<view
class=
"recharge-item"
>
<view
class=
"recharge-header"
>
<span
class=
"order-id"
>
订单编号:
{{
recharge
.
outTradeNo
}}
</span>
<span
class=
"recharge-copy"
>
<image
src=
"/static/images/common/copy.png"
style=
"width: 16px;height: 16px;transform: translateY(3px);"
></image>
</span>
</view>
<view
class=
"payment-time"
>
充值时间:
{{
recharge
.
paymentTime
}}
</view>
<view
class=
"recharge-info"
>
<view
class=
"recharge-details"
>
<view
class=
"recharge-amount"
>
{{
recharge
.
amount
}}
元
</view>
<view
class=
"recharge-state"
>
<template
v-if=
"recharge.auditState==='UNAUDITED'"
>
审核中
</
template
>
<
template
v-else-if=
"recharge.auditState==='REJECTED'"
>
已驳回
</
template
>
<
template
v-else
>
<span
v-if=
"recharge.refundState==='UNREFUND'"
>
待提现
</span>
<span
v-else-if=
"recharge.refundState==='REFUNDING'"
>
提现中
</span>
<span
v-else-if=
"recharge.refundState==='REFUNDED'"
>
提现成功
</span>
</
template
>
</view>
</view>
</view>
<view
class=
"recharge-footer"
>
<view></view>
<view
v-if=
"recharge.refundState==='UNREFUND'&&!recharge.auditState"
class=
"order-actions"
>
<van-button
type=
"primary"
round
@
click=
"refundRecharge(recharge)"
size=
"small"
>
申请提现
</van-button>
</view>
<view
v-else
class=
"order-actions"
>
</view>
</view>
</view>
</template>
<van-empty
v-else
image=
"/static/images/empty_2.png"
style=
"margin-top: 100px"
description=
"暂无订单"
/>
<view
v-if=
"contents.length>0&&pagination.isLast()"
class=
"empty-tip"
>
<text>
-到底啦-
</text>
</view>
</view>
</scroll-view>
<uni-popup
ref=
"refundDialog"
type=
"dialog"
>
<uni-popup-dialog
type=
"info"
cancelText=
"取消"
confirmText=
"确认提现"
title=
"确认提现"
@
confirm=
"refundConfirm"
>
<view
style=
"display: flex;flex-direction: column;align-items: center;"
>
<uni-list
v-if=
"recharge"
:border=
"false"
style=
"width: 100%"
>
<uni-list-item
title=
"提现金额"
:rightText=
"recharge?.amount+'元' "
:border=
"false"
/>
<uni-list-item
title=
"提现方式"
rightText=
"原路退回微信"
:border=
"false"
/>
<uni-list-item
title=
"到账时间"
rightText=
"1-3个工作日"
:border=
"false"
/>
</uni-list>
<uni-notice-bar
text=
"提交后将进入审核流程,审核通过后款项将原路退回至您的微信支付账户"
/>
</view>
</uni-popup-dialog>
</uni-popup>
</template>
<
script
lang=
"ts"
>
import
{
Component
,
Ref
,
Vue
}
from
"vue-facing-decorator"
;
import
{
PaginationComponent
}
from
"@/components/PaginationComponent"
;
import
{
Recharge
}
from
"lib/src/entity/finance/entity/Recharge"
;
import
{
Operator
,
Order
}
from
"lib/src/core/page/Pagination"
;
import
{
onLoad
,
onShow
}
from
"@dcloudio/uni-app"
;
import
{
RechargeController
}
from
"@/api/RechargeController"
;
@
Component
({
components
:
{}
})
export
default
class
RechargeRefundPage
extends
PaginationComponent
<
Recharge
>
{
current
=
0
;
tabs
=
[
'待提现'
,
'提现中'
,
'提现完成'
];
@
Ref
(
"refundDialog"
)
refundDialog
:
any
;
recharge
:
Recharge
=
null
;
created
():
void
{
this
.
init
(
this
.
axios
,
RechargeController
.
PAGE_RECHARGE
);
this
.
buildQueryForm
({
carTypeName
:
[
null
,
{
label
:
'实际时间'
,
field
:
'vehicle.baseInfo.carTypeName'
,
operator
:
Operator
.
like
}],
});
this
.
pagination
.
setDefaultSort
(
'createTime'
,
Order
.
desc
);
onLoad
((
option
)
=>
{
this
.
pagination
.
reload
();
});
onShow
(
options
=>
{
this
.
pageRefresh
();
});
}
get
contents
():
Recharge
[]
{
return
this
.
pagination
.
content
;
}
onClickItem
():
void
{
}
refundRecharge
(
recharge
:
Recharge
):
void
{
this
.
recharge
=
recharge
;
this
.
refundDialog
.
open
();
}
refundConfirm
():
void
{
uni
.
showLoading
({
title
:
'正在提交申请中...'
,
mask
:
true
});
RechargeController
.
refundRecharge
(
this
.
axios
,
this
.
recharge
.
rechargeId
).
then
(
res
=>
{
uni
.
showToast
({
title
:
'提交审核成功'
,
icon
:
'none'
});
this
.
pageRefresh
();
this
.
refundDialog
.
close
();
}).
finally
(()
=>
uni
.
hideLoading
());
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
/* 订单状态切换标签 */
.order-tabs
{
background-color
:
#fff
;
border-bottom
:
1
rpx
solid
#eee
;
padding
:
0
20
rpx
10
rpx
20
rpx
;
}
.scroll-content
{
height
:
calc
(
100vh
-
80px
);
background
:
rgba
(
248
,
249
,
251
,
1
);
}
.recharge-list
{
margin-top
:
20
rpx
;
}
/* 订单项 */
.recharge-item
{
background-color
:
#fff
;
margin
:
20
rpx
;
padding
:
24
rpx
30
rpx
;
border-radius
:
12px
;
}
.recharge-header
{
font-size
:
15px
;
display
:
flex
;
justify-content
:
start
;
align-items
:
center
;
margin-bottom
:
6
rpx
;
}
.payment-time
{
font-size
:
14px
;
color
:
#999
;
}
.recharge-copy
{
margin-left
:
5px
;
}
.recharge-info
{
display
:
flex
;
margin-bottom
:
24
rpx
;
}
.recharge-details
{
display
:
flex
;
margin
:
8px
0
8px
0
;
align-items
:
baseline
;
}
.recharge-amount
{
font-size
:
24px
;
}
.recharge-state
{
font-size
:
14px
;
margin-left
:
8px
;
}
/* 订单底部 */
.recharge-footer
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
}
</
style
>
aus-front/app/src/module/order/AuctionOrderPage.vue
View file @
06f5050
...
@@ -16,11 +16,11 @@
...
@@ -16,11 +16,11 @@
<!-- 订单列表 -->
<!-- 订单列表 -->
<scroll-view
class=
"scroll-content"
scroll-y
:refresher-enabled=
"true"
:refresher-triggered=
"loading"
@
scrolltolower=
"doInfinite()"
@
refresherrefresh=
"pageReload()"
>
<scroll-view
class=
"scroll-content"
scroll-y
:refresher-enabled=
"true"
:refresher-triggered=
"loading"
@
scrolltolower=
"doInfinite()"
@
refresherrefresh=
"pageReload()"
>
<view
class=
"
order
-list"
>
<view
class=
"
recharge
-list"
>
<!-- 待支付订单 -->
<!-- 待支付订单 -->
<template
v-if=
"contents.length>0"
v-for=
"(order, index) in contents"
:key=
"order.orderId"
>
<template
v-if=
"contents.length>0"
v-for=
"(order, index) in contents"
:key=
"order.orderId"
>
<view
class=
"
order
-item"
>
<view
class=
"
recharge
-item"
>
<view
class=
"
order
-header"
>
<view
class=
"
recharge
-header"
>
<span
class=
"order-id"
@
click=
"copyOrderCode(order)"
>
订单编号:
{{
order
.
orderCode
}}
</span>
<span
class=
"order-id"
@
click=
"copyOrderCode(order)"
>
订单编号:
{{
order
.
orderCode
}}
</span>
<span
class=
"order-status"
:class=
"
{ completed: order.orderState==='COMPLETED' }">
<span
class=
"order-status"
:class=
"
{ completed: order.orderState==='COMPLETED' }">
<template
v-if=
"order.orderState!=='CANCELED'&&order.onAppeal"
>
<template
v-if=
"order.orderState!=='CANCELED'&&order.onAppeal"
>
...
@@ -41,12 +41,12 @@
...
@@ -41,12 +41,12 @@
</
template
>
</
template
>
</span>
</span>
</view>
</view>
<view
class=
"
order
-time"
>
中拍时间:{{ order.createTime }}
</view>
<view
class=
"
payment
-time"
>
中拍时间:{{ order.createTime }}
</view>
<view
class=
"
car
-info"
@
click=
"viewAuctionOrder(order)"
>
<view
class=
"
recharge
-info"
@
click=
"viewAuctionOrder(order)"
>
<van-image
class=
"car-image"
radius=
"16rpx"
use-error-slot
width=
"200rpx"
height=
"140rpx"
fit=
"cover"
:src=
"order.vehicle.cover?.url"
>
<van-image
class=
"car-image"
radius=
"16rpx"
use-error-slot
width=
"200rpx"
height=
"140rpx"
fit=
"cover"
:src=
"order.vehicle.cover?.url"
>
<text
slot=
"error"
>
加载失败
</text>
<text
slot=
"error"
>
加载失败
</text>
</van-image>
</van-image>
<view
class=
"
car
-details"
>
<view
class=
"
recharge
-details"
>
<view
class=
"car-name"
>
【{{ getLicensePlate(order) }}】{{ order.vehicle.baseInfo.carSeriesName }} {{ order.vehicle.baseInfo.carTypeName }}
</view>
<view
class=
"car-name"
>
【{{ getLicensePlate(order) }}】{{ order.vehicle.baseInfo.carSeriesName }} {{ order.vehicle.baseInfo.carTypeName }}
</view>
<view
class=
"car-price"
>
{{ $filters.formatNumber(order.orderPrice / 10000) }}
<view
class=
"car-price"
>
{{ $filters.formatNumber(order.orderPrice / 10000) }}
<text
class=
"price-unit"
>
万
</text>
<text
class=
"price-unit"
>
万
</text>
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
</view>
</view>
</view>
</view>
<view
class=
"
order
-footer"
>
<view
class=
"
recharge
-footer"
>
<view
class=
"warning-text"
v-if=
"order.orderState==='CONTRACT_UNSIGNED'"
>
<view
class=
"warning-text"
v-if=
"order.orderState==='CONTRACT_UNSIGNED'"
>
<
template
v-if=
"getRemainingBreachContract(order)>0"
>
<
template
v-if=
"getRemainingBreachContract(order)>0"
>
<van-count-down
class=
"red-count-down"
:time=
"getRemainingBreachContract(order)"
format=
"HH:mm:ss"
/>
<van-count-down
class=
"red-count-down"
:time=
"getRemainingBreachContract(order)"
format=
"HH:mm:ss"
/>
...
@@ -319,20 +319,20 @@ export default class AuctionOrderPage extends PaginationComponent<AuctionOrder>
...
@@ -319,20 +319,20 @@ export default class AuctionOrderPage extends PaginationComponent<AuctionOrder>
/* 订单列表 */
/* 订单列表 */
.
order
-list
{
.
recharge
-list
{
margin-top
:
20
rpx
;
margin-top
:
20
rpx
;
}
}
/* 订单项 */
/* 订单项 */
.
order
-item
{
.
recharge
-item
{
background-color
:
#fff
;
background-color
:
#fff
;
margin
:
20
rpx
;
margin
:
20
rpx
;
padding
:
24
rpx
30
rpx
;
padding
:
24
rpx
30
rpx
;
border-radius
:
12px
;
border-radius
:
12px
;
}
}
.
order
-header
{
.
recharge
-header
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
...
@@ -356,14 +356,14 @@ export default class AuctionOrderPage extends PaginationComponent<AuctionOrder>
...
@@ -356,14 +356,14 @@ export default class AuctionOrderPage extends PaginationComponent<AuctionOrder>
color
:
#999999
FF
;
color
:
#999999
FF
;
}
}
.
order
-time
{
.
payment
-time
{
font-size
:
12px
;
font-size
:
12px
;
color
:
#999
;
color
:
#999
;
margin-bottom
:
24
rpx
;
margin-bottom
:
24
rpx
;
}
}
/* 车辆信息 */
/* 车辆信息 */
.
car
-info
{
.
recharge
-info
{
display
:
flex
;
display
:
flex
;
margin-bottom
:
24
rpx
;
margin-bottom
:
24
rpx
;
}
}
...
@@ -375,7 +375,7 @@ export default class AuctionOrderPage extends PaginationComponent<AuctionOrder>
...
@@ -375,7 +375,7 @@ export default class AuctionOrderPage extends PaginationComponent<AuctionOrder>
margin-right
:
20
rpx
;
margin-right
:
20
rpx
;
}
}
.
car
-details
{
.
recharge
-details
{
flex
:
1
;
flex
:
1
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
...
@@ -404,7 +404,7 @@ export default class AuctionOrderPage extends PaginationComponent<AuctionOrder>
...
@@ -404,7 +404,7 @@ export default class AuctionOrderPage extends PaginationComponent<AuctionOrder>
/* 订单底部 */
/* 订单底部 */
.
order
-footer
{
.
recharge
-footer
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
...
...
aus-front/app/src/module/order/BidPage.vue
View file @
06f5050
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<!-- 车辆项 -->
<!-- 车辆项 -->
<view
class=
"car-item"
@
click=
"viewCarDetail(bid)"
>
<view
class=
"car-item"
@
click=
"viewCarDetail(bid)"
>
<vehicle-cover-wrapper
:auction-vehicle=
"bid.auctionVehicle"
></vehicle-cover-wrapper>
<vehicle-cover-wrapper
:auction-vehicle=
"bid.auctionVehicle"
></vehicle-cover-wrapper>
<view
class=
"
car
-info"
>
<view
class=
"
recharge
-info"
>
<text
class=
"car-name"
>
【
{{
getLicensePlate
(
bid
.
auctionVehicle
.
vehicle
)
}}
】
{{
bid
.
auctionVehicle
.
vehicle
.
baseInfo
.
carSeriesName
}}
<text
class=
"car-name"
>
【
{{
getLicensePlate
(
bid
.
auctionVehicle
.
vehicle
)
}}
】
{{
bid
.
auctionVehicle
.
vehicle
.
baseInfo
.
carSeriesName
}}
{{
bid
.
auctionVehicle
.
vehicle
.
baseInfo
.
carTypeName
}}
{{
bid
.
auctionVehicle
.
vehicle
.
baseInfo
.
carTypeName
}}
</text>
</text>
...
@@ -146,7 +146,7 @@ export default class BidPage extends PaginationComponent<Bid> {
...
@@ -146,7 +146,7 @@ export default class BidPage extends PaginationComponent<Bid> {
position
:
relative
;
position
:
relative
;
}
}
.
car
-info
{
.
recharge
-info
{
flex
:
1
;
flex
:
1
;
margin-left
:
12px
;
margin-left
:
12px
;
display
:
flex
;
display
:
flex
;
...
...
aus-front/app/src/module/order/CancelOrderPage.vue
View file @
06f5050
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
<view
class=
"order-appeal-container"
>
<view
class=
"order-appeal-container"
>
<!-- 车辆信息区域 -->
<!-- 车辆信息区域 -->
<view
class=
"car-info-section"
>
<view
class=
"car-info-section"
>
<view
class=
"
car
-info"
>
<view
class=
"
recharge
-info"
>
<image
class=
"car-image"
src=
"/static/images/car/car1@2x.png"
mode=
"aspectFill"
/>
<image
class=
"car-image"
src=
"/static/images/car/car1@2x.png"
mode=
"aspectFill"
/>
<view
class=
"
car
-details"
>
<view
class=
"
recharge
-details"
>
<view
class=
"car-title"
>
奔驰C级 2019款 改款 C 260 L 运动版
</view>
<view
class=
"car-title"
>
奔驰C级 2019款 改款 C 260 L 运动版
</view>
<view
class=
"car-price"
>
19.02 万
</view>
<view
class=
"car-price"
>
19.02 万
</view>
</view>
</view>
...
@@ -153,7 +153,7 @@ export default class CancelOrderPage extends Vue {
...
@@ -153,7 +153,7 @@ export default class CancelOrderPage extends Vue {
margin
:
10px
;
margin
:
10px
;
}
}
.
car
-info
{
.
recharge
-info
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
}
}
...
@@ -165,7 +165,7 @@ export default class CancelOrderPage extends Vue {
...
@@ -165,7 +165,7 @@ export default class CancelOrderPage extends Vue {
margin-right
:
12px
;
margin-right
:
12px
;
}
}
.
car
-details
{
.
recharge
-details
{
flex
:
1
;
flex
:
1
;
}
}
...
...
aus-front/app/src/module/order/OrderVehicleItem.vue
View file @
06f5050
<
template
>
<
template
>
<view
class=
"
car
-info"
v-if=
"order"
>
<view
class=
"
recharge
-info"
v-if=
"order"
>
<van-image
class=
"car-image"
use-error-slot
width=
"120"
fit=
"cover"
radius=
"16rpx"
<van-image
class=
"car-image"
use-error-slot
width=
"120"
fit=
"cover"
radius=
"16rpx"
height=
"90"
:src=
"vehicle.cover?.url"
>
height=
"90"
:src=
"vehicle.cover?.url"
>
</van-image>
</van-image>
<view
class=
"
car
-details"
>
<view
class=
"
recharge
-details"
>
<view
class=
"car-title"
>
【
{{
licensePlate
}}
】
{{
vehicle
.
baseInfo
.
carSeriesName
}}
{{
vehicle
.
baseInfo
.
carTypeName
}}
</view>
<view
class=
"car-title"
>
【
{{
licensePlate
}}
】
{{
vehicle
.
baseInfo
.
carSeriesName
}}
{{
vehicle
.
baseInfo
.
carTypeName
}}
</view>
<view
class=
"car-specs"
>
{{
productionYear
}}
年 |
{{
mileage
}}
万公里 | 国
{{
vehicle
.
coreSpecs
.
emissionStandard
}}
</view>
<view
class=
"car-specs"
>
{{
productionYear
}}
年 |
{{
mileage
}}
万公里 | 国
{{
vehicle
.
coreSpecs
.
emissionStandard
}}
</view>
<view
class=
"car-tags"
>
<view
class=
"car-tags"
>
...
@@ -52,7 +52,7 @@ export default class OrderVehicleItem extends Vue {
...
@@ -52,7 +52,7 @@ export default class OrderVehicleItem extends Vue {
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
/* 车辆信息 */
/* 车辆信息 */
.
car
-info
{
.
recharge
-info
{
background-color
:
#fff
;
background-color
:
#fff
;
padding
:
12px
;
padding
:
12px
;
margin
:
12px
;
margin
:
12px
;
...
@@ -64,7 +64,7 @@ export default class OrderVehicleItem extends Vue {
...
@@ -64,7 +64,7 @@ export default class OrderVehicleItem extends Vue {
margin-right
:
12px
;
margin-right
:
12px
;
}
}
.
car
-details
{
.
recharge
-details
{
flex
:
1
;
flex
:
1
;
}
}
...
...
aus-front/app/src/pages.json
View file @
06f5050
...
@@ -424,6 +424,13 @@
...
@@ -424,6 +424,13 @@
"navigationBarTitleText"
:
"保证金充值"
,
"navigationBarTitleText"
:
"保证金充值"
,
"enablePullDownRefresh"
:
false
"enablePullDownRefresh"
:
false
}
}
},
{
"path"
:
"RechargeRefundPage"
,
"style"
:
{
"navigationBarTitleText"
:
"提现"
,
"enablePullDownRefresh"
:
false
}
}
}
]
]
}
}
...
...
aus-front/app/src/pages/tabbar/ProfilePage.vue
View file @
06f5050
...
@@ -138,7 +138,7 @@
...
@@ -138,7 +138,7 @@
<view
style=
"margin-left: 24px;line-height: 6px;margin-bottom: 4px"
>
<view
style=
"margin-left: 24px;line-height: 6px;margin-bottom: 4px"
>
<image
src=
"/static/images/order-tip.png"
fit=
"cover"
style=
"width:15px;height: 5px"
/>
<image
src=
"/static/images/order-tip.png"
fit=
"cover"
style=
"width:15px;height: 5px"
/>
</view>
</view>
<view
class=
"
order
-item"
v-for=
"(order,index) in auctionOrders"
@
click=
"viewOrderDetail(order)"
:key=
"index"
>
<view
class=
"
recharge
-item"
v-for=
"(order,index) in auctionOrders"
@
click=
"viewOrderDetail(order)"
:key=
"index"
>
<van-image
use-error-slot
width=
"78"
fit=
"cover"
radius=
"12rpx"
class=
"order-car-image"
<van-image
use-error-slot
width=
"78"
fit=
"cover"
radius=
"12rpx"
class=
"order-car-image"
height=
"60"
:src=
"order.vehicle.cover?.url"
>
height=
"60"
:src=
"order.vehicle.cover?.url"
>
</van-image>
</van-image>
...
@@ -148,7 +148,7 @@
...
@@ -148,7 +148,7 @@
<text
class=
"order-car-name"
>
{{ order.vehicle.baseInfo.carSeriesName }} {{ order.vehicle.baseInfo.carTypeName }}
</text>
<text
class=
"order-car-name"
>
{{ order.vehicle.baseInfo.carSeriesName }} {{ order.vehicle.baseInfo.carTypeName }}
</text>
</view>
</view>
</view>
</view>
<view
class=
"
order
-item"
v-if=
"!auctionOrders||auctionOrders.length===0"
>
<view
class=
"
recharge
-item"
v-if=
"!auctionOrders||auctionOrders.length===0"
>
<view
style=
"text-align: center;width: 100%"
>
<view
style=
"text-align: center;width: 100%"
>
<view
style=
"margin: 0 auto;"
>
<view
style=
"margin: 0 auto;"
>
<van-image
width=
"72"
height=
"54"
src=
"/static/images/empty.png"
/>
<van-image
width=
"72"
height=
"54"
src=
"/static/images/empty.png"
/>
...
@@ -487,7 +487,7 @@ export default class ProfilePage extends Vue {
...
@@ -487,7 +487,7 @@ export default class ProfilePage extends Vue {
margin-bottom
:
1px
;
margin-bottom
:
1px
;
}
}
.
order
-item
{
.
recharge
-item
{
display
:
flex
;
display
:
flex
;
padding
:
12px
;
padding
:
12px
;
background
:
rgba
(
248
,
249
,
251
,
1
);
background
:
rgba
(
248
,
249
,
251
,
1
);
...
...
aus-front/app/src/pages/tabbar/ServicePage.vue
View file @
06f5050
...
@@ -7,20 +7,20 @@
...
@@ -7,20 +7,20 @@
</view>
</view>
<!-- 订单列表 -->
<!-- 订单列表 -->
<scroll-view
scroll-y
:refresher-enabled=
"true"
:refresher-triggered=
"loading"
@
scrolltolower=
"doInfinite()"
@
refresherrefresh=
"pageReload()"
>
<scroll-view
scroll-y
:refresher-enabled=
"true"
:refresher-triggered=
"loading"
@
scrolltolower=
"doInfinite()"
@
refresherrefresh=
"pageReload()"
>
<view
class=
"
order
-list"
>
<view
class=
"
recharge
-list"
>
<!-- 待支付订单 -->
<!-- 待支付订单 -->
<template
v-for=
"(item, index) in contents"
>
<template
v-for=
"(item, index) in contents"
>
<view
class=
"
order
-item"
>
<view
class=
"
recharge
-item"
>
<view
class=
"
order
-header"
>
<view
class=
"
recharge
-header"
>
<span
class=
"order-id"
>
订单编号:
{{
item
.
orderCode
}}
</span>
<span
class=
"order-id"
>
订单编号:
{{
item
.
orderCode
}}
</span>
<span
class=
"order-status pending-payment"
>
{{
$t
(
'enum.releaseOrder.orderState.'
+
item
.
orderState
)
}}
</span>
<span
class=
"order-status pending-payment"
>
{{
$t
(
'enum.releaseOrder.orderState.'
+
item
.
orderState
)
}}
</span>
</view>
</view>
<view
class=
"
order
-time"
>
中拍时间:
{{
item
.
createTime
}}
</view>
<view
class=
"
payment
-time"
>
中拍时间:
{{
item
.
createTime
}}
</view>
<view
class=
"
car
-info"
>
<view
class=
"
recharge
-info"
>
<image
:src=
"item.vehicle.cover.thumbUrl"
class=
"car-image"
mode=
"aspectFill"
/>
<image
:src=
"item.vehicle.cover.thumbUrl"
class=
"car-image"
mode=
"aspectFill"
/>
<view
class=
"
car
-details"
>
<view
class=
"
recharge
-details"
>
<view
class=
"car-name"
>
{{
item
.
vehicle
.
baseInfo
.
carSeriesName
}}
{{
item
.
vehicle
.
baseInfo
.
carTypeName
}}
</view>
<view
class=
"car-name"
>
{{
item
.
vehicle
.
baseInfo
.
carSeriesName
}}
{{
item
.
vehicle
.
baseInfo
.
carTypeName
}}
</view>
<view
class=
"
order
-footer"
>
<view
class=
"
recharge
-footer"
>
<view
class=
"car-price"
>
{{
$filters
.
formatNumber
(
item
.
vehicle
.
baseInfo
.
guidePrice
/
10000
)
}}
<view
class=
"car-price"
>
{{
$filters
.
formatNumber
(
item
.
vehicle
.
baseInfo
.
guidePrice
/
10000
)
}}
<text
class=
"price-unit"
>
万
</text>
<text
class=
"price-unit"
>
万
</text>
</view>
</view>
...
@@ -99,20 +99,20 @@ export default class ServicePage extends PaginationComponent<ReleaseOrder> {
...
@@ -99,20 +99,20 @@ export default class ServicePage extends PaginationComponent<ReleaseOrder> {
/* 订单列表 */
/* 订单列表 */
.
order
-list
{
.
recharge
-list
{
margin-top
:
20
rpx
;
margin-top
:
20
rpx
;
}
}
/* 订单项 */
/* 订单项 */
.
order
-item
{
.
recharge
-item
{
background-color
:
#fff
;
background-color
:
#fff
;
margin
:
20
rpx
;
margin
:
20
rpx
;
padding
:
24
rpx
30
rpx
;
padding
:
24
rpx
30
rpx
;
border-radius
:
12px
;
border-radius
:
12px
;
}
}
.
order
-header
{
.
recharge
-header
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
...
@@ -150,14 +150,14 @@ export default class ServicePage extends PaginationComponent<ReleaseOrder> {
...
@@ -150,14 +150,14 @@ export default class ServicePage extends PaginationComponent<ReleaseOrder> {
color
:
#999
;
color
:
#999
;
}
}
.
order
-time
{
.
payment
-time
{
font-size
:
12px
;
font-size
:
12px
;
color
:
#999
;
color
:
#999
;
margin-bottom
:
24
rpx
;
margin-bottom
:
24
rpx
;
}
}
/* 车辆信息 */
/* 车辆信息 */
.
car
-info
{
.
recharge
-info
{
display
:
flex
;
display
:
flex
;
margin-bottom
:
24
rpx
;
margin-bottom
:
24
rpx
;
}
}
...
@@ -169,7 +169,7 @@ export default class ServicePage extends PaginationComponent<ReleaseOrder> {
...
@@ -169,7 +169,7 @@ export default class ServicePage extends PaginationComponent<ReleaseOrder> {
margin-right
:
20
rpx
;
margin-right
:
20
rpx
;
}
}
.
car
-details
{
.
recharge
-details
{
flex
:
1
;
flex
:
1
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
...
@@ -198,7 +198,7 @@ export default class ServicePage extends PaginationComponent<ReleaseOrder> {
...
@@ -198,7 +198,7 @@ export default class ServicePage extends PaginationComponent<ReleaseOrder> {
}
}
/* 订单底部 */
/* 订单底部 */
.
order
-footer
{
.
recharge
-footer
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
...
...
aus-front/app/src/pages/tabbar/home/SmallVehicleItem.vue
View file @
06f5050
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
已结束
已结束
</
template
>
</
template
>
</view>
</view>
<view
class=
"
car
-info"
>
<view
class=
"
recharge
-info"
>
<text
class=
"car-name"
>
【{{ licensePlate }}】{{ vehicle.baseInfo.carSeriesName }} {{ vehicle.baseInfo.carTypeName }}
</text>
<text
class=
"car-name"
>
【{{ licensePlate }}】{{ vehicle.baseInfo.carSeriesName }} {{ vehicle.baseInfo.carTypeName }}
</text>
<text
class=
"car-detail"
>
{{ productionYear }}年/{{ mileage }}万公里/国{{ vehicle.coreSpecs.emissionStandard }}
</text>
<text
class=
"car-detail"
>
{{ productionYear }}年/{{ mileage }}万公里/国{{ vehicle.coreSpecs.emissionStandard }}
</text>
<view
class=
"car-features"
>
<view
class=
"car-features"
>
...
@@ -97,7 +97,7 @@ export default class SmallVehicleItem extends AbstractVehicleItem {
...
@@ -97,7 +97,7 @@ export default class SmallVehicleItem extends AbstractVehicleItem {
background
:
rgba
(
51
,
51
,
51
,
0.75
);
background
:
rgba
(
51
,
51
,
51
,
0.75
);
}
}
.
car
-info
{
.
recharge
-info
{
margin
:
8px
2px
;
margin
:
8px
2px
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
...
...
aus-front/lib/src/entity/auction/entity/Auction.ts
View file @
06f5050
import
{
Dayjs
}
from
'dayjs'
;
import
{
Dayjs
}
from
'dayjs'
;
//
import {AuditingEntity,AuditingTimeEntity} from 'autumn-vue/lib/core/orm/AuditingEntity';
import
{
AuditingEntity
,
AuditingTimeEntity
}
from
'autumn-vue/lib/core/orm/AuditingEntity'
;
import
{
User
}
from
'../../security/entity/User'
;
import
{
User
}
from
'../../security/entity/User'
;
import
{
AuctionVehicle
}
from
'./AuctionVehicle'
;
import
{
AuctionVehicle
}
from
'./AuctionVehicle'
;
import
{
AuctionOrder
}
from
'./AuctionOrder'
;
import
{
AuctionOrder
}
from
'./AuctionOrder'
;
import
{
AccountTag
}
from
'../../account/entity/AccountTag'
;
import
{
AccountTag
}
from
'../../account/entity/AccountTag'
;
import
{
AuditState
}
from
'../../enum_types'
;
import
{
AuditState
}
from
'../../enum_types'
;
import
{
AuditingEntity
}
from
"../../../core/orm/AuditingEntity"
;
// region 前端扩展导入包
// region 前端扩展导入包
// endregion
// endregion
/**
/**
* 拍卖场次(Auction)实体类
* 拍卖场次(Auction)实体类
*/
*/
export
class
Auction
extends
AuditingEntity
{
export
class
Auction
extends
AuditingEntity
{
...
@@ -125,14 +124,14 @@ export class Auction extends AuditingEntity {
...
@@ -125,14 +124,14 @@ export class Auction extends AuditingEntity {
// endregion
// endregion
}
}
/**
/**
* LIGHT 明拍
* LIGHT 明拍
* DARK 暗拍
* DARK 暗拍
*/
*/
export
type
Auction_AuctionType
=
'LIGHT'
|
'DARK'
;
export
type
Auction_AuctionType
=
'LIGHT'
|
'DARK'
;
export
const
AUCTION_AUCTION_TYPES
=
[
'LIGHT'
,
'DARK'
];
export
const
AUCTION_AUCTION_TYPES
=
[
'LIGHT'
,
'DARK'
];
/**
/**
* PENDING_AUCTION 待上拍
* PENDING_AUCTION 待上拍
* WAIT_AUCTION 已上拍
* WAIT_AUCTION 已上拍
* PREVIEW 预展中
* PREVIEW 预展中
...
@@ -140,13 +139,13 @@ export const AUCTION_AUCTION_TYPES = ['LIGHT', 'DARK'];
...
@@ -140,13 +139,13 @@ export const AUCTION_AUCTION_TYPES = ['LIGHT', 'DARK'];
* CLOSED 已结束
* CLOSED 已结束
* CANCELLED 已取消
* CANCELLED 已取消
*/
*/
export
type
Auction_AuctionState
=
'PENDING_AUCTION'
|
'WAIT_AUCTION'
|
'PREVIEW'
|
'AUCTIONING'
|
'CLOSED'
|
'CANCELLED'
;
export
type
Auction_AuctionState
=
'PENDING_AUCTION'
|
'WAIT_AUCTION'
|
'PREVIEW'
|
'AUCTIONING'
|
'CLOSED'
|
'CANCELLED'
;
export
const
AUCTION_AUCTION_STATES
=
[
'PENDING_AUCTION'
,
'WAIT_AUCTION'
,
'PREVIEW'
,
'AUCTIONING'
,
'CLOSED'
,
'CANCELLED'
];
export
const
AUCTION_AUCTION_STATES
=
[
'PENDING_AUCTION'
,
'WAIT_AUCTION'
,
'PREVIEW'
,
'AUCTIONING'
,
'CLOSED'
,
'CANCELLED'
];
/**
/**
* GLOBAL 公开
* GLOBAL 公开
* TAGS 按标签
* TAGS 按标签
*/
*/
export
type
Auction_AccessScope
=
'GLOBAL'
|
'TAGS'
;
export
type
Auction_AccessScope
=
'GLOBAL'
|
'TAGS'
;
export
const
AUCTION_ACCESS_SCOPES
=
[
'GLOBAL'
,
'TAGS'
];
export
const
AUCTION_ACCESS_SCOPES
=
[
'GLOBAL'
,
'TAGS'
];
aus-front/lib/src/entity/finance/entity/Deposit.ts
View file @
06f5050
...
@@ -41,14 +41,6 @@ export class Deposit extends AuditingTimeEntity {
...
@@ -41,14 +41,6 @@ export class Deposit extends AuditingTimeEntity {
*/
*/
paymentTime
:
Dayjs
|
string
;
paymentTime
:
Dayjs
|
string
;
/**
/**
* 退款时间
*/
refundTime
:
Dayjs
|
string
;
/**
* 退款成功时间
*/
refundSuccessTime
:
Dayjs
|
string
;
/**
* 退款备注
* 退款备注
*/
*/
refundRemark
:
string
;
refundRemark
:
string
;
...
@@ -61,6 +53,14 @@ export class Deposit extends AuditingTimeEntity {
...
@@ -61,6 +53,14 @@ export class Deposit extends AuditingTimeEntity {
*/
*/
outRefundNo
:
string
;
outRefundNo
:
string
;
/**
/**
* 退款时间
*/
refundTime
:
Dayjs
|
string
;
/**
* 退款成功时间
*/
refundSuccessTime
:
Dayjs
|
string
;
/**
* 退款类型
* 退款类型
*/
*/
refundType
:
string
;
refundType
:
string
;
...
@@ -69,6 +69,7 @@ export class Deposit extends AuditingTimeEntity {
...
@@ -69,6 +69,7 @@ export class Deposit extends AuditingTimeEntity {
*/
*/
refundOperator
:
string
;
refundOperator
:
string
;
/**
/**
* 退款状态
*/
*/
refundState
:
Deposit_RefundState
;
refundState
:
Deposit_RefundState
;
/**
/**
...
...
aus-front/lib/src/entity/finance/entity/Recharge.ts
View file @
06f5050
import
{
Dayjs
}
from
'dayjs'
;
import
{
Dayjs
}
from
'dayjs'
;
import
{
AuditingEntity
,
AuditingTimeEntity
}
from
'autumn-vue/lib/core/orm/AuditingEntity'
;
import
{
AuditingEntity
,
AuditingTimeEntity
}
from
'autumn-vue/lib/core/orm/AuditingEntity'
;
import
{
Account
}
from
'../../account/entity/Account'
;
import
{
Account
}
from
'../../account/entity/Account'
;
import
{
Deposit
}
from
'./Deposit'
;
import
{
AuditState
}
from
'../../enum_types'
;
// region 前端扩展导入包
// region 前端扩展导入包
import
{
Deposit_RefundState
}
from
'./Deposit'
;
// endregion
// endregion
/**
/**
...
@@ -36,6 +39,34 @@ export class Recharge {
...
@@ -36,6 +39,34 @@ export class Recharge {
* 微信支付订单号
* 微信支付订单号
*/
*/
transactionId
:
string
;
transactionId
:
string
;
/**
* 退款时间
*/
refundTime
:
Dayjs
|
string
;
/**
* 退款成功时间
*/
refundSuccessTime
:
Dayjs
|
string
;
/**
* 微信退款订单号
*/
outRefundNo
:
string
;
/**
* 退款状态
*/
refundState
:
Deposit_RefundState
;
/**
* 审核时间
*/
auditTime
:
Dayjs
|
string
;
/**
* 审核备注
*/
auditRemark
:
string
;
/**
* 审核状态
*/
auditState
:
AuditState
;
// region 前端扩展定义属性及方法区
// region 前端扩展定义属性及方法区
// endregion
// endregion
...
...
doc/aus.xml
View file @
06f5050
...
@@ -2207,6 +2207,38 @@
...
@@ -2207,6 +2207,38 @@
<DT
arr=
"0"
ds=
"VarChar"
en=
""
id=
"12"
ln=
"32"
sc=
"null"
sg=
"1"
un=
"0"
/>
<DT
arr=
"0"
ds=
"VarChar"
en=
""
id=
"12"
ln=
"32"
sc=
"null"
sg=
"1"
un=
"0"
/>
<Cm>
付款类型
</Cm>
<Cm>
付款类型
</Cm>
</Cl>
</Cl>
<Cl
au=
"0"
df=
""
nm=
"REFUND_TIME"
nu=
"1"
>
<DT
arr=
"0"
ds=
"DateTime"
en=
""
id=
"700"
ln=
"null"
sc=
"null"
sg=
"1"
un=
"0"
/>
<Cm>
退款时间
</Cm>
</Cl>
<Cl
au=
"0"
df=
""
nm=
"REFUND_SUCCESS_TIME"
nu=
"1"
>
<DT
arr=
"0"
ds=
"DateTime"
en=
""
id=
"700"
ln=
"null"
sc=
"null"
sg=
"1"
un=
"0"
/>
<Cm>
退款成功时间
</Cm>
</Cl>
<Cl
au=
"0"
df=
""
nm=
"OUT_REFUND_NO"
nu=
"1"
>
<DT
arr=
"0"
ds=
"VarChar"
en=
""
id=
"12"
ln=
"64"
sc=
"null"
sg=
"1"
un=
"0"
/>
<Cm>
微信退款订单号
</Cm>
</Cl>
<Cl
au=
"0"
df=
"UNREFUND"
nm=
"REFUND_STATE"
nu=
"1"
>
<DT
arr=
"0"
ds=
"VarChar"
en=
""
id=
"12"
ln=
"32"
sc=
"null"
sg=
"1"
un=
"0"
/>
<Cm>
退款状态
</Cm>
</Cl>
<Cl
au=
"0"
df=
""
nm=
"AUDIT_TIME"
nu=
"1"
>
<DT
arr=
"0"
ds=
"DateTime"
en=
""
id=
"700"
ln=
"null"
sc=
"null"
sg=
"1"
un=
"0"
/>
<Cm>
审核时间
</Cm>
</Cl>
<Cl
au=
"0"
df=
""
nm=
"AUDIT_REMARK"
nu=
"1"
>
<DT
arr=
"0"
ds=
"VarChar"
en=
""
id=
"12"
ln=
"1024"
sc=
"null"
sg=
"1"
un=
"0"
/>
<Cm>
审核备注
</Cm>
</Cl>
<Cl
au=
"0"
df=
""
nm=
"AUDIT_STATE"
nu=
"1"
>
<DT
arr=
"0"
ds=
"VarChar"
en=
""
id=
"12"
ln=
"32"
sc=
"null"
sg=
"1"
un=
"0"
/>
<Cm>
审核状态
</Cm>
</Cl>
<Cl
au=
"0"
df=
""
nm=
"REJECT_REASON"
nu=
"1"
>
<DT
arr=
"0"
ds=
"VarChar"
en=
""
id=
"12"
ln=
"255"
sc=
"null"
sg=
"1"
un=
"0"
/>
<Cm>
驳回原因
</Cm>
</Cl>
<Fk
deAc=
"1"
nm=
"fk_recharge_account"
prLkCl=
"ACCOUNT_ID"
upAc=
"1"
>
<Fk
deAc=
"1"
nm=
"fk_recharge_account"
prLkCl=
"ACCOUNT_ID"
upAc=
"1"
>
<PrTb
mn=
"0"
nm=
"account"
oe=
"1"
sch=
"schemaA"
zr=
"0"
/>
<PrTb
mn=
"0"
nm=
"account"
oe=
"1"
sch=
"schemaA"
zr=
"0"
/>
<CdTb
mn=
"1"
nm=
"recharge"
oe=
"1"
sch=
"schemaA"
zr=
"1"
/>
<CdTb
mn=
"1"
nm=
"recharge"
oe=
"1"
sch=
"schemaA"
zr=
"1"
/>
...
@@ -3534,7 +3566,7 @@
...
@@ -3534,7 +3566,7 @@
<TbGl
bkCl=
"#6699ff64"
h=
"450"
sch=
"schemaA"
tbl=
"account"
w=
"518"
x=
"1131"
y=
"181"
/>
<TbGl
bkCl=
"#6699ff64"
h=
"450"
sch=
"schemaA"
tbl=
"account"
w=
"518"
x=
"1131"
y=
"181"
/>
<TbGl
bkCl=
"#6699ff64"
h=
"242"
sch=
"schemaA"
tbl=
"bank_account"
w=
"436"
x=
"657"
y=
"866"
/>
<TbGl
bkCl=
"#6699ff64"
h=
"242"
sch=
"schemaA"
tbl=
"bank_account"
w=
"436"
x=
"657"
y=
"866"
/>
<TbGl
bkCl=
"#6699ff64"
h=
"338"
sch=
"schemaA"
tbl=
"deposit"
w=
"551"
x=
"169"
y=
"116"
/>
<TbGl
bkCl=
"#6699ff64"
h=
"338"
sch=
"schemaA"
tbl=
"deposit"
w=
"551"
x=
"169"
y=
"116"
/>
<TbGl
bkCl=
"#6699ff64"
h=
"
178"
sch=
"schemaA"
tbl=
"recharge"
w=
"453
"
x=
"69"
y=
"840"
/>
<TbGl
bkCl=
"#6699ff64"
h=
"
306"
sch=
"schemaA"
tbl=
"recharge"
w=
"499
"
x=
"69"
y=
"840"
/>
<TbGl
bkCl=
"#6699ff64"
h=
"274"
sch=
"schemaA"
tbl=
"user_info"
w=
"393"
x=
"858"
y=
"1274"
/>
<TbGl
bkCl=
"#6699ff64"
h=
"274"
sch=
"schemaA"
tbl=
"user_info"
w=
"393"
x=
"858"
y=
"1274"
/>
<FkGl
bearing=
"NORTH"
bkCl=
"#00000064"
childEdge=
"NORTH"
childOffset=
"0"
lineCount=
"1"
midLineOffset=
""
nm=
"schemaA.withdraw.fk_withdraw_account"
parentEdge=
"SOUTH"
parentOffset=
"250"
/>
<FkGl
bearing=
"NORTH"
bkCl=
"#00000064"
childEdge=
"NORTH"
childOffset=
"0"
lineCount=
"1"
midLineOffset=
""
nm=
"schemaA.withdraw.fk_withdraw_account"
parentEdge=
"SOUTH"
parentOffset=
"250"
/>
<FkGl
bearing=
"NORTH_EAST"
bkCl=
"#00000064"
childEdge=
"EAST"
childOffset=
"16"
lineCount=
"2"
midLineOffset=
""
nm=
"schemaA.recharge.fk_recharge_account"
parentEdge=
"SOUTH"
parentOffset=
"43"
/>
<FkGl
bearing=
"NORTH_EAST"
bkCl=
"#00000064"
childEdge=
"EAST"
childOffset=
"16"
lineCount=
"2"
midLineOffset=
""
nm=
"schemaA.recharge.fk_recharge_account"
parentEdge=
"SOUTH"
parentOffset=
"43"
/>
...
@@ -4717,6 +4749,19 @@
...
@@ -4717,6 +4749,19 @@
<RnmCh
ObjCls=
"Column"
ParCls=
"Table"
ParNme=
"deposit"
SupCls=
"Schema"
SupNme=
"schemaA"
>
<RnmCh
ObjCls=
"Column"
ParCls=
"Table"
ParNme=
"deposit"
SupCls=
"Schema"
SupNme=
"schemaA"
>
<Rnm
nNm=
"REFUND_TYPE"
oNm=
"REFUND_TYPE"
/>
<Rnm
nNm=
"REFUND_TYPE"
oNm=
"REFUND_TYPE"
/>
</RnmCh>
</RnmCh>
<RnmCh
ObjCls=
"Column"
ParCls=
"Table"
ParNme=
"recharge"
SupCls=
"Schema"
SupNme=
"schemaA"
>
<Rnm
nNm=
"REFUND_TIME"
oNm=
"REFUND_TIME"
/>
</RnmCh>
<RnmCh
ObjCls=
"Column"
ParCls=
"Table"
ParNme=
"recharge"
SupCls=
"Schema"
SupNme=
"schemaA"
>
<Rnm
nNm=
"REFUND_SUCCESS_TIME"
oNm=
"REFUND_SUCCESS_TIME"
/>
</RnmCh>
<RnmCh
ObjCls=
"Column"
ParCls=
"Table"
ParNme=
"recharge"
SupCls=
"Schema"
SupNme=
"schemaA"
>
<Rnm
nNm=
"OUT_REFUND_NO"
oNm=
"OUT_REFUND_NO"
/>
</RnmCh>
<RnmCh
ObjCls=
"Column"
ParCls=
"Table"
ParNme=
"recharge"
SupCls=
"Schema"
SupNme=
"schemaA"
>
<Rnm
nNm=
"REFUND_STATE"
oNm=
"REFUND_STATE"
/>
<Rnm
nNm=
"REFUND_STATE"
oNm=
"REFUND_STATE"
/>
</RnmCh>
</RnmMgr>
</RnmMgr>
<BasicOptionMgr>
<BasicOptionMgr>
<Name>
dbDocOptionMgr
</Name>
<Name>
dbDocOptionMgr
</Name>
...
@@ -4740,7 +4785,6 @@
...
@@ -4740,7 +4785,6 @@
<TreePath>
diagramA
</TreePath>
<TreePath>
diagramA
</TreePath>
<TreePath>
schemaA
</TreePath>
<TreePath>
schemaA
</TreePath>
<TreePath>
aus.Schemas
</TreePath>
<TreePath>
aus.Schemas
</TreePath>
<TreePath>
schemaA.venue
</TreePath>
<TreePath>
aus.Diagrams
</TreePath>
<TreePath>
aus.Diagrams
</TreePath>
<TreePath>
数据埋点
</TreePath>
<TreePath>
数据埋点
</TreePath>
<TreePath>
保证金
</TreePath>
<TreePath>
保证金
</TreePath>
...
...
doc/sql/update.sql
View file @
06f5050
...
@@ -138,3 +138,27 @@ ALTER TABLE deposit ADD REFUND_OPERATOR VARCHAR(64)
...
@@ -138,3 +138,27 @@ ALTER TABLE deposit ADD REFUND_OPERATOR VARCHAR(64)
ALTER
TABLE
deposit
ADD
REFUND_STATE
VARCHAR
(
32
)
DEFAULT
'UNREFUND'
ALTER
TABLE
deposit
ADD
REFUND_STATE
VARCHAR
(
32
)
DEFAULT
'UNREFUND'
COMMENT
'退款状态'
NULL
after
REFUND_OPERATOR
;
COMMENT
'退款状态'
NULL
after
REFUND_OPERATOR
;
ALTER
TABLE
recharge
ADD
REFUND_TIME
DATETIME
COMMENT
'退款时间'
NULL
after
RECHARGE_TYPE
;
ALTER
TABLE
recharge
ADD
REFUND_SUCCESS_TIME
DATETIME
COMMENT
'退款成功时间'
NULL
after
REFUND_TIME
;
ALTER
TABLE
recharge
ADD
OUT_REFUND_NO
VARCHAR
(
64
)
COMMENT
'微信退款订单号'
NULL
after
REFUND_SUCCESS_TIME
;
ALTER
TABLE
recharge
ADD
REFUND_STATE
VARCHAR
(
32
)
DEFAULT
'UNREFUND'
COMMENT
'退款状态'
NULL
after
OUT_REFUND_NO
;
ALTER
TABLE
recharge
ADD
AUDIT_TIME
DATETIME
COMMENT
'审核时间'
NULL
after
REFUND_STATE
;
ALTER
TABLE
recharge
ADD
AUDIT_REMARK
VARCHAR
(
1024
)
COMMENT
'审核备注'
NULL
after
AUDIT_TIME
;
ALTER
TABLE
recharge
ADD
AUDIT_STATE
VARCHAR
(
32
)
COMMENT
'审核状态'
NULL
after
AUDIT_REMARK
;
ALTER
TABLE
recharge
ADD
REJECT_REASON
VARCHAR
(
255
)
COMMENT
'驳回原因'
NULL
after
AUDIT_STATE
;
\ No newline at end of file
\ No newline at end of file
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