Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
property-management
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘帅
property-management
Commits
224ab6c4
Commit
224ab6c4
authored
Jun 17, 2025
by
刘帅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.支付记录增加导出、支付时间筛选
parent
e4624d97
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
66 additions
and
23 deletions
+66
-23
WxPayRecordBo.java
.../propertyManagement/business/domain/bo/WxPayRecordBo.java
+14
-0
WxPayRecordVo.java
.../propertyManagement/business/domain/vo/WxPayRecordVo.java
+12
-10
WxPayRecordServiceImpl.java
...agement/business/service/impl/WxPayRecordServiceImpl.java
+2
-0
index.vue
propertyManagement-ui/src/views/business/payRecord/index.vue
+38
-13
No files found.
propertyManagement-business/src/main/java/com/propertyManagement/business/domain/bo/WxPayRecordBo.java
View file @
224ab6c4
package
com
.
propertyManagement
.
business
.
domain
.
bo
;
package
com
.
propertyManagement
.
business
.
domain
.
bo
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.propertyManagement.common.core.validate.AddGroup
;
import
com.propertyManagement.common.core.validate.AddGroup
;
import
com.propertyManagement.common.core.validate.EditGroup
;
import
com.propertyManagement.common.core.validate.EditGroup
;
import
lombok.Data
;
import
lombok.Data
;
...
@@ -10,6 +11,7 @@ import java.util.Date;
...
@@ -10,6 +11,7 @@ import java.util.Date;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
com.propertyManagement.common.core.domain.BaseEntity
;
import
com.propertyManagement.common.core.domain.BaseEntity
;
import
org.springframework.format.annotation.DateTimeFormat
;
/**
/**
* 缴费记录业务对象 wx_pay_record
* 缴费记录业务对象 wx_pay_record
...
@@ -133,4 +135,16 @@ public class WxPayRecordBo extends BaseEntity {
...
@@ -133,4 +135,16 @@ public class WxPayRecordBo extends BaseEntity {
*/
*/
private
String
outTradeNo
;
private
String
outTradeNo
;
/**
* 创建开始时间
*/
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
createStartTime
;
/**
* 创建结束时间
*/
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
createEndTime
;
}
}
propertyManagement-business/src/main/java/com/propertyManagement/business/domain/vo/WxPayRecordVo.java
View file @
224ab6c4
...
@@ -3,6 +3,7 @@ package com.propertyManagement.business.domain.vo;
...
@@ -3,6 +3,7 @@ package com.propertyManagement.business.domain.vo;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
com.alibaba.excel.annotation.ExcelIgnoreUnannotated
;
import
com.alibaba.excel.annotation.ExcelIgnoreUnannotated
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.baomidou.mybatisplus.annotation.FieldFill
;
import
com.baomidou.mybatisplus.annotation.FieldFill
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.propertyManagement.common.annotation.ExcelDictFormat
;
import
com.propertyManagement.common.annotation.ExcelDictFormat
;
...
@@ -53,19 +54,18 @@ public class WxPayRecordVo implements Serializable {
...
@@ -53,19 +54,18 @@ public class WxPayRecordVo implements Serializable {
/**
/**
* 业主名称
* 业主名称
*/
*/
@ExcelProperty
(
value
=
"业主
名称
"
)
@ExcelProperty
(
value
=
"业主
姓名
"
)
private
String
proprietorName
;
private
String
proprietorName
;
/**
/**
* 业主
房间
* 业主
户号
*/
*/
@ExcelProperty
(
value
=
"业主
房间
"
)
@ExcelProperty
(
value
=
"业主
户号
"
)
private
String
room
;
private
String
room
;
/**
/**
* 登记车牌
* 登记车牌
*/
*/
@ExcelProperty
(
value
=
"登记车牌"
)
private
String
plateNumber
;
private
String
plateNumber
;
/**
/**
...
@@ -78,31 +78,26 @@ public class WxPayRecordVo implements Serializable {
...
@@ -78,31 +78,26 @@ public class WxPayRecordVo implements Serializable {
/**
/**
* 支付渠道
* 支付渠道
*/
*/
@ExcelProperty
(
value
=
"支付渠道"
)
private
String
payChannelCode
;
private
String
payChannelCode
;
/**
/**
* 支付商户code
* 支付商户code
*/
*/
@ExcelProperty
(
value
=
"支付商户code"
)
private
String
payMchCode
;
private
String
payMchCode
;
/**
/**
* 支付类型
* 支付类型
*/
*/
@ExcelProperty
(
value
=
"支付类型"
)
private
String
payTradeType
;
private
String
payTradeType
;
/**
/**
* 支付应用
* 支付应用
*/
*/
@ExcelProperty
(
value
=
"支付应用"
)
private
String
payAppCode
;
private
String
payAppCode
;
/**
/**
* 支付业务
* 支付业务
*/
*/
@ExcelProperty
(
value
=
"支付业务"
)
private
String
payBizCode
;
private
String
payBizCode
;
/**
/**
...
@@ -118,16 +113,23 @@ public class WxPayRecordVo implements Serializable {
...
@@ -118,16 +113,23 @@ public class WxPayRecordVo implements Serializable {
@ExcelDictFormat
(
dictType
=
"wx_pay_record_state"
)
@ExcelDictFormat
(
dictType
=
"wx_pay_record_state"
)
private
Integer
payState
;
private
Integer
payState
;
/**
* 支付时间
*/
@ExcelProperty
(
value
=
"支付时间"
)
@ColumnWidth
(
18
)
private
Date
createTime
;
/**
/**
* 平台支付流水号
* 平台支付流水号
*/
*/
@ExcelProperty
(
value
=
"平台支付流水号"
)
@ExcelProperty
(
value
=
"平台支付流水号"
)
@ColumnWidth
(
25
)
private
String
outTradeNo
;
private
String
outTradeNo
;
/**
/**
* 更新时间
* 更新时间
*/
*/
@ExcelProperty
(
value
=
"更新时间"
)
private
Date
updateTime
;
private
Date
updateTime
;
...
...
propertyManagement-business/src/main/java/com/propertyManagement/business/service/impl/WxPayRecordServiceImpl.java
View file @
224ab6c4
...
@@ -13,6 +13,7 @@ import com.propertyManagement.business.mapper.WxLiveBillMapper;
...
@@ -13,6 +13,7 @@ import com.propertyManagement.business.mapper.WxLiveBillMapper;
import
com.propertyManagement.business.mapper.WxProprietorLedgerMapper
;
import
com.propertyManagement.business.mapper.WxProprietorLedgerMapper
;
import
com.propertyManagement.business.mapper.WxRepairsMapper
;
import
com.propertyManagement.business.mapper.WxRepairsMapper
;
import
com.propertyManagement.business.support.util.AuthUtil
;
import
com.propertyManagement.business.support.util.AuthUtil
;
import
com.propertyManagement.common.core.domain.BaseEntity
;
import
com.propertyManagement.common.enums.LiveBillState
;
import
com.propertyManagement.common.enums.LiveBillState
;
import
com.propertyManagement.common.enums.LiveBillType
;
import
com.propertyManagement.common.enums.LiveBillType
;
import
com.propertyManagement.common.enums.PayState
;
import
com.propertyManagement.common.enums.PayState
;
...
@@ -262,6 +263,7 @@ public class WxPayRecordServiceImpl implements IWxPayRecordService {
...
@@ -262,6 +263,7 @@ public class WxPayRecordServiceImpl implements IWxPayRecordService {
lqw
.
eq
(
bo
.
getPayAmount
()
!=
null
,
WxPayRecord:
:
getPayAmount
,
bo
.
getPayAmount
());
lqw
.
eq
(
bo
.
getPayAmount
()
!=
null
,
WxPayRecord:
:
getPayAmount
,
bo
.
getPayAmount
());
lqw
.
eq
(
bo
.
getPayState
()
!=
null
,
WxPayRecord:
:
getPayState
,
bo
.
getPayState
());
lqw
.
eq
(
bo
.
getPayState
()
!=
null
,
WxPayRecord:
:
getPayState
,
bo
.
getPayState
());
lqw
.
eq
(
StringUtils
.
isNotBlank
(
bo
.
getOutTradeNo
()),
WxPayRecord:
:
getOutTradeNo
,
bo
.
getOutTradeNo
());
lqw
.
eq
(
StringUtils
.
isNotBlank
(
bo
.
getOutTradeNo
()),
WxPayRecord:
:
getOutTradeNo
,
bo
.
getOutTradeNo
());
lqw
.
between
(
bo
.
getCreateStartTime
()
!=
null
,
BaseEntity:
:
getCreateTime
,
bo
.
getCreateStartTime
(),
bo
.
getCreateEndTime
());
lqw
.
orderByDesc
(
WxPayRecord:
:
getCreateTime
);
lqw
.
orderByDesc
(
WxPayRecord:
:
getCreateTime
);
return
lqw
;
return
lqw
;
}
}
...
...
propertyManagement-ui/src/views/business/payRecord/index.vue
View file @
224ab6c4
...
@@ -58,6 +58,17 @@
...
@@ -58,6 +58,17 @@
@
keyup.enter.native=
"handleQuery"
@
keyup.enter.native=
"handleQuery"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"支付时间"
prop=
"createTime"
>
<el-date-picker
v-model=
"createTime"
type=
"datetimerange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
value-format=
"yyyy-MM-dd HH:mm:ss"
:default-time=
"['00:00:00', '23:59:59']"
>
</el-date-picker>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
...
@@ -97,25 +108,25 @@
...
@@ -97,25 +108,25 @@
<!-- v-hasPermi="['business:payRecord:remove']"-->
<!-- v-hasPermi="['business:payRecord:remove']"-->
<!-- >删除
</el-button>
-->
<!-- >删除
</el-button>
-->
<!--
</el-col>
-->
<!--
</el-col>
-->
<!--
<el-col
:span=
"1.5"
>
--
>
<el-col
:span=
"1.5"
>
<!--
<el-button-->
<el-button
<!-- type="warning"-->
type=
"warning"
<!-- plain-->
plain
<!-- icon="el-icon-download"-->
icon=
"el-icon-download"
<!-- size="mini"-->
size=
"mini"
<!-- @click="handleExport"-->
@
click=
"handleExport"
<!-- v-hasPermi="['business:payRecord:export']"-->
v-hasPermi=
"['business:payRecord:export']"
<!-- >导出
</el-button>
--
>
>
导出
</el-button
>
<!--
</el-col>
--
>
</el-col
>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
</el-row>
<el-table
v-loading=
"loading"
:data=
"payRecordList"
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"loading"
:data=
"payRecordList"
@
selection-change=
"handleSelectionChange"
>
<!--
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
-->
<!--
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
-->
<!--
<el-table-column
label=
"记录主键"
align=
"center"
prop=
"recordId"
v-if=
"false"
/>
-->
<!--
<el-table-column
label=
"记录主键"
align=
"center"
prop=
"recordId"
v-if=
"false"
/>
-->
<!--
<el-table-column
label=
"用户名称"
align=
"center"
prop=
"userName"
/>
--
>
<el-table-column
label=
"用户名称"
align=
"center"
prop=
"userName"
/
>
<el-table-column
label=
"小区名称"
align=
"center"
prop=
"communityName"
/>
<el-table-column
label=
"小区名称"
align=
"center"
prop=
"communityName"
/>
<el-table-column
label=
"业主
名称
"
align=
"center"
prop=
"proprietorName"
/>
<el-table-column
label=
"业主
姓名
"
align=
"center"
prop=
"proprietorName"
/>
<el-table-column
label=
"业主户号"
align=
"center"
prop=
"room"
/>
<el-table-column
label=
"业主户号"
align=
"center"
prop=
"room"
/>
<!--
<el-table-column
label=
"登记车牌"
align=
"center"
prop=
"plateNumber"
/>
-->
<!--
<el-table-column
label=
"登记车牌"
align=
"center"
prop=
"plateNumber"
/>
-->
<el-table-column
label=
"订单类型"
align=
"center"
prop=
"orderType"
>
<el-table-column
label=
"订单类型"
align=
"center"
prop=
"orderType"
>
...
@@ -134,6 +145,11 @@
...
@@ -134,6 +145,11 @@
<dict-tag
:options=
"dict.type.wx_pay_record_state"
:value=
"scope.row.payState"
/>
<dict-tag
:options=
"dict.type.wx_pay_record_state"
:value=
"scope.row.payState"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"支付时间"
align=
"center"
prop=
"createTime"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
,
'
{y
}
-{m
}
-{d
}
{h
}
:{i
}
'
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
平台支付流水号
"
align
=
"
center
"
prop
=
"
outTradeNo
"
/>
<
el
-
table
-
column
label
=
"
平台支付流水号
"
align
=
"
center
"
prop
=
"
outTradeNo
"
/>
<!--
<
el
-
table
-
column
label
=
"
通道支付流水号
"
align
=
"
center
"
prop
=
"
tradeNo
"
/>-->
<!--
<
el
-
table
-
column
label
=
"
通道支付流水号
"
align
=
"
center
"
prop
=
"
tradeNo
"
/>-->
<!--
<
el
-
table
-
column
label
=
"
操作
"
align
=
"
center
"
class
-
name
=
"
small-padding fixed-width
"
>-->
<!--
<
el
-
table
-
column
label
=
"
操作
"
align
=
"
center
"
class
-
name
=
"
small-padding fixed-width
"
>-->
...
@@ -269,6 +285,7 @@ export default {
...
@@ -269,6 +285,7 @@ export default {
// 是否显示弹出层
// 是否显示弹出层
open
:
false
,
open
:
false
,
// 查询参数
// 查询参数
createTime
:
[],
queryParams
:
{
queryParams
:
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
10
,
...
@@ -359,6 +376,13 @@ export default {
...
@@ -359,6 +376,13 @@ export default {
/** 查询缴费记录列表 */
/** 查询缴费记录列表 */
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
if
(
this
.
createTime
.
length
>
0
)
{
this
.
queryParams
.
createStartTime
=
this
.
createTime
[
0
]
this
.
queryParams
.
createEndTime
=
this
.
createTime
[
1
]
}
else
{
this
.
queryParams
.
createStartTime
=
undefined
this
.
queryParams
.
createEndTime
=
undefined
}
listPayRecord
(
this
.
queryParams
).
then
(
response
=>
{
listPayRecord
(
this
.
queryParams
).
then
(
response
=>
{
this
.
payRecordList
=
response
.
rows
;
this
.
payRecordList
=
response
.
rows
;
this
.
total
=
response
.
total
;
this
.
total
=
response
.
total
;
...
@@ -413,6 +437,7 @@ export default {
...
@@ -413,6 +437,7 @@ export default {
/** 重置按钮操作 */
/** 重置按钮操作 */
resetQuery
()
{
resetQuery
()
{
this
.
resetForm
(
"
queryForm
"
);
this
.
resetForm
(
"
queryForm
"
);
this
.
createTime
=
[]
this
.
handleQuery
();
this
.
handleQuery
();
}
,
}
,
// 多选框选中数据
// 多选框选中数据
...
@@ -483,7 +508,7 @@ export default {
...
@@ -483,7 +508,7 @@ export default {
handleExport
()
{
handleExport
()
{
this
.
download
(
'
business/payRecord/export
'
,
{
this
.
download
(
'
business/payRecord/export
'
,
{
...
this
.
queryParams
...
this
.
queryParams
},
`
payRecord
_
${
new
Date
().
getTime
()}
.xlsx`
)
}
,
`
缴费记录
_${new Date().getTime()
}
.xlsx`
)
}
}
}
}
}
;
}
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment