Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
pseer
gxpt_ht
Commits
06d6a649
Commit
06d6a649
authored
Sep 09, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'refs/heads/dev' into test-lms
parents
a4cacd20
071f1c82
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
101 additions
and
0 deletions
+101
-0
EquityMembersOrderVo.java
...ain/java/share/system/domain/vo/EquityMembersOrderVo.java
+15
-0
MonthlyCardOrderVo.java
.../main/java/share/system/domain/vo/MonthlyCardOrderVo.java
+18
-0
RechargeVo.java
...stem/src/main/java/share/system/domain/vo/RechargeVo.java
+15
-0
SecondaryCardOrderVo.java
...ain/java/share/system/domain/vo/SecondaryCardOrderVo.java
+13
-0
EquityMembersOrderMapper.xml
...main/resources/mapper/system/EquityMembersOrderMapper.xml
+8
-0
MonthlyCardOrderMapper.xml
...c/main/resources/mapper/system/MonthlyCardOrderMapper.xml
+14
-0
RechargeMapper.xml
...ystem/src/main/resources/mapper/system/RechargeMapper.xml
+8
-0
SecondaryCardOrderMapper.xml
...main/resources/mapper/system/SecondaryCardOrderMapper.xml
+10
-0
No files found.
share-system/src/main/java/share/system/domain/vo/EquityMembersOrderVo.java
View file @
06d6a649
package
share
.
system
.
domain
.
vo
;
package
share
.
system
.
domain
.
vo
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
import
lombok.Data
;
import
share.system.domain.EquityMembersOrder
;
import
share.system.domain.EquityMembersOrder
;
import
java.util.Date
;
@Data
@Data
public
class
EquityMembersOrderVo
extends
EquityMembersOrder
{
public
class
EquityMembersOrderVo
extends
EquityMembersOrder
{
private
String
nickName
;
private
String
nickName
;
...
@@ -13,4 +16,16 @@ public class EquityMembersOrderVo extends EquityMembersOrder {
...
@@ -13,4 +16,16 @@ public class EquityMembersOrderVo extends EquityMembersOrder {
* 用户手机号
* 用户手机号
*/
*/
private
String
phone
;
private
String
phone
;
/**
* 开始时间
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm"
)
private
Date
startDate
;
/**
* 结束时间
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm"
)
private
Date
endDate
;
}
}
share-system/src/main/java/share/system/domain/vo/MonthlyCardOrderVo.java
View file @
06d6a649
package
share
.
system
.
domain
.
vo
;
package
share
.
system
.
domain
.
vo
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
import
lombok.Data
;
import
share.system.domain.MonthlyCardOrder
;
import
share.system.domain.MonthlyCardOrder
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.util.Date
;
@Data
@Data
public
class
MonthlyCardOrderVo
extends
MonthlyCardOrder
{
public
class
MonthlyCardOrderVo
extends
MonthlyCardOrder
{
...
@@ -15,4 +17,20 @@ public class MonthlyCardOrderVo extends MonthlyCardOrder {
...
@@ -15,4 +17,20 @@ public class MonthlyCardOrderVo extends MonthlyCardOrder {
private
String
confName
;
private
String
confName
;
//次卡金额
//次卡金额
private
BigDecimal
confAmount
;
private
BigDecimal
confAmount
;
private
BigDecimal
freeDuration
;
private
Long
monthlyCardDays
;
/**
* 开始时间
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm"
)
private
Date
startDate
;
/**
* 结束时间
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm"
)
private
Date
endDate
;
}
}
share-system/src/main/java/share/system/domain/vo/RechargeVo.java
View file @
06d6a649
package
share
.
system
.
domain
.
vo
;
package
share
.
system
.
domain
.
vo
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
import
lombok.Data
;
import
share.system.domain.Recharge
;
import
share.system.domain.Recharge
;
import
java.util.Date
;
@Data
@Data
public
class
RechargeVo
extends
Recharge
{
public
class
RechargeVo
extends
Recharge
{
private
String
nickName
;
private
String
nickName
;
private
String
avatar
;
private
String
avatar
;
/**
* 开始时间
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm"
)
private
Date
startDate
;
/**
* 结束时间
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm"
)
private
Date
endDate
;
}
}
share-system/src/main/java/share/system/domain/vo/SecondaryCardOrderVo.java
View file @
06d6a649
package
share
.
system
.
domain
.
vo
;
package
share
.
system
.
domain
.
vo
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
import
lombok.Data
;
import
share.system.domain.SecondaryCardOrder
;
import
share.system.domain.SecondaryCardOrder
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.util.Date
;
@Data
@Data
public
class
SecondaryCardOrderVo
extends
SecondaryCardOrder
{
public
class
SecondaryCardOrderVo
extends
SecondaryCardOrder
{
...
@@ -19,4 +21,15 @@ public class SecondaryCardOrderVo extends SecondaryCardOrder {
...
@@ -19,4 +21,15 @@ public class SecondaryCardOrderVo extends SecondaryCardOrder {
private
String
confName
;
private
String
confName
;
//次卡金额
//次卡金额
private
BigDecimal
confAmount
;
private
BigDecimal
confAmount
;
/**
* 开始时间
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm"
)
private
Date
startDate
;
/**
* 结束时间
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm"
)
private
Date
endDate
;
}
}
share-system/src/main/resources/mapper/system/EquityMembersOrderMapper.xml
View file @
06d6a649
...
@@ -18,6 +18,8 @@
...
@@ -18,6 +18,8 @@
<result
property=
"terminalTrace"
column=
"terminal_trace"
/>
<result
property=
"terminalTrace"
column=
"terminal_trace"
/>
<result
property=
"payStatus"
column=
"pay_status"
/>
<result
property=
"payStatus"
column=
"pay_status"
/>
<result
property=
"payTime"
column=
"pay_time"
/>
<result
property=
"payTime"
column=
"pay_time"
/>
<result
property=
"startDate"
column=
"start_date"
/>
<result
property=
"endDate"
column=
"end_date"
/>
<result
property=
"isDelete"
column=
"is_delete"
/>
<result
property=
"isDelete"
column=
"is_delete"
/>
<result
property=
"createBy"
column=
"create_by"
/>
<result
property=
"createBy"
column=
"create_by"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"createTime"
column=
"create_time"
/>
...
@@ -82,6 +84,12 @@
...
@@ -82,6 +84,12 @@
<if
test=
"payStatus != null "
>
and o.pay_status = #{payStatus}
</if>
<if
test=
"payStatus != null "
>
and o.pay_status = #{payStatus}
</if>
<if
test=
"payTime != null "
>
and o.pay_time = #{payTime}
</if>
<if
test=
"payTime != null "
>
and o.pay_time = #{payTime}
</if>
<if
test=
"isDelete != null "
>
and o.is_delete = #{isDelete}
</if>
<if
test=
"isDelete != null "
>
and o.is_delete = #{isDelete}
</if>
<if
test=
"startDate != null"
>
and DATE_FORMAT(o.create_time, '%Y-%m-%d')
>
= DATE_FORMAT(#{startDate}, '%Y-%m-%d')
</if>
<if
test=
"endDate != null"
>
and DATE_FORMAT(o.create_time, '%Y-%m-%d')
<
= DATE_FORMAT(#{endDate}, '%Y-%m-%d')
</if>
</where>
</where>
order by o.create_time desc
order by o.create_time desc
</select>
</select>
...
...
share-system/src/main/resources/mapper/system/MonthlyCardOrderMapper.xml
View file @
06d6a649
...
@@ -20,6 +20,10 @@
...
@@ -20,6 +20,10 @@
<result
property=
"payType"
column=
"pay_type"
/>
<result
property=
"payType"
column=
"pay_type"
/>
<result
property=
"payStatus"
column=
"pay_status"
/>
<result
property=
"payStatus"
column=
"pay_status"
/>
<result
property=
"payTime"
column=
"pay_time"
/>
<result
property=
"payTime"
column=
"pay_time"
/>
<result
property=
"startDate"
column=
"start_date"
/>
<result
property=
"endDate"
column=
"end_date"
/>
<result
property=
"freeDuration"
column=
"free_duration"
/>
<result
property=
"monthlyCardDays"
column=
"monthly_card_days"
/>
<result
property=
"isDelete"
column=
"is_delete"
/>
<result
property=
"isDelete"
column=
"is_delete"
/>
<result
property=
"createBy"
column=
"create_by"
/>
<result
property=
"createBy"
column=
"create_by"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"createTime"
column=
"create_time"
/>
...
@@ -61,6 +65,8 @@
...
@@ -61,6 +65,8 @@
c.avatar,
c.avatar,
m.name as conf_name,
m.name as conf_name,
m.monthly_card_amount as conf_amount,
m.monthly_card_amount as conf_amount,
m.free_duration,
m.monthly_card_days,
o.phone,
o.phone,
o.pay_type,
o.pay_type,
o.pay_status,
o.pay_status,
...
@@ -74,6 +80,8 @@
...
@@ -74,6 +80,8 @@
from s_monthly_card_order o join s_consumer c on o.consumer_id = c.id
from s_monthly_card_order o join s_consumer c on o.consumer_id = c.id
join s_monthly_card_conf m on o.monthly_card_conf_id = m.id
join s_monthly_card_conf m on o.monthly_card_conf_id = m.id
where o.is_delete = 0
where o.is_delete = 0
<if
test=
"nickName != null and nickName != ''"
>
and c.nick_name like concat('%', #{nickName},'%')
</if>
<if
test=
"monthlyCardNo != null and monthlyCardNo != ''"
>
and o.monthly_card_no = #{monthlyCardNo}
</if>
<if
test=
"monthlyCardNo != null and monthlyCardNo != ''"
>
and o.monthly_card_no = #{monthlyCardNo}
</if>
<if
test=
"outTradeNo != null and outTradeNo != ''"
>
and o.out_trade_no = #{outTradeNo}
</if>
<if
test=
"outTradeNo != null and outTradeNo != ''"
>
and o.out_trade_no = #{outTradeNo}
</if>
<if
test=
"terminalTrace != null and terminalTrace != ''"
>
and o.terminal_trace = #{terminalTrace}
</if>
<if
test=
"terminalTrace != null and terminalTrace != ''"
>
and o.terminal_trace = #{terminalTrace}
</if>
...
@@ -84,6 +92,12 @@
...
@@ -84,6 +92,12 @@
<if
test=
"payType != null "
>
and o.pay_type = #{payType}
</if>
<if
test=
"payType != null "
>
and o.pay_type = #{payType}
</if>
<if
test=
"payStatus != null "
>
and o.pay_status = #{payStatus}
</if>
<if
test=
"payStatus != null "
>
and o.pay_status = #{payStatus}
</if>
<if
test=
"payTime != null "
>
and o.pay_time = #{payTime}
</if>
<if
test=
"payTime != null "
>
and o.pay_time = #{payTime}
</if>
<if
test=
"startDate != null"
>
and DATE_FORMAT(o.create_time, '%Y-%m-%d')
>
= DATE_FORMAT(#{startDate}, '%Y-%m-%d')
</if>
<if
test=
"endDate != null"
>
and DATE_FORMAT(o.create_time, '%Y-%m-%d')
<
= DATE_FORMAT(#{endDate}, '%Y-%m-%d')
</if>
</select>
</select>
<select
id=
"selectMonthlyCardOrderById"
parameterType=
"Long"
resultMap=
"MonthlyCardOrderResult"
>
<select
id=
"selectMonthlyCardOrderById"
parameterType=
"Long"
resultMap=
"MonthlyCardOrderResult"
>
...
...
share-system/src/main/resources/mapper/system/RechargeMapper.xml
View file @
06d6a649
...
@@ -21,6 +21,8 @@
...
@@ -21,6 +21,8 @@
<result
property=
"avatar"
column=
"avatar"
/>
<result
property=
"avatar"
column=
"avatar"
/>
<result
property=
"phone"
column=
"phone"
/>
<result
property=
"phone"
column=
"phone"
/>
<result
property=
"rechargeDate"
column=
"recharge_date"
/>
<result
property=
"rechargeDate"
column=
"recharge_date"
/>
<result
property=
"startDate"
column=
"start_date"
/>
<result
property=
"endDate"
column=
"end_date"
/>
<result
property=
"isDelete"
column=
"is_delete"
/>
<result
property=
"isDelete"
column=
"is_delete"
/>
<result
property=
"createBy"
column=
"create_by"
/>
<result
property=
"createBy"
column=
"create_by"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"createTime"
column=
"create_time"
/>
...
@@ -108,6 +110,12 @@
...
@@ -108,6 +110,12 @@
<if
test=
"outTradeNo != null and outTradeNo != ''"
>
and r.out_trade_no = #{outTradeNo}
</if>
<if
test=
"outTradeNo != null and outTradeNo != ''"
>
and r.out_trade_no = #{outTradeNo}
</if>
<if
test=
"terminalTrace != null and terminalTrace != ''"
>
and r.terminal_trace = #{terminalTrace}
</if>
<if
test=
"terminalTrace != null and terminalTrace != ''"
>
and r.terminal_trace = #{terminalTrace}
</if>
<if
test=
"payTime != null "
>
and r.pay_time = #{payTime}
</if>
<if
test=
"payTime != null "
>
and r.pay_time = #{payTime}
</if>
<if
test=
"startDate != null"
>
and DATE_FORMAT(r.recharge_date, '%Y-%m-%d')
>
= DATE_FORMAT(#{startDate}, '%Y-%m-%d')
</if>
<if
test=
"endDate != null"
>
and DATE_FORMAT(r.recharge_date, '%Y-%m-%d')
<
= DATE_FORMAT(#{endDate}, '%Y-%m-%d')
</if>
</where>
</where>
order by r.create_time desc
order by r.create_time desc
</select>
</select>
...
...
share-system/src/main/resources/mapper/system/SecondaryCardOrderMapper.xml
View file @
06d6a649
...
@@ -22,6 +22,8 @@
...
@@ -22,6 +22,8 @@
<result
property=
"payType"
column=
"pay_type"
/>
<result
property=
"payType"
column=
"pay_type"
/>
<result
property=
"payStatus"
column=
"pay_status"
/>
<result
property=
"payStatus"
column=
"pay_status"
/>
<result
property=
"payTime"
column=
"pay_time"
/>
<result
property=
"payTime"
column=
"pay_time"
/>
<result
property=
"startDate"
column=
"start_date"
/>
<result
property=
"endDate"
column=
"end_date"
/>
<result
property=
"isDelete"
column=
"is_delete"
/>
<result
property=
"isDelete"
column=
"is_delete"
/>
<result
property=
"createBy"
column=
"create_by"
/>
<result
property=
"createBy"
column=
"create_by"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"createTime"
column=
"create_time"
/>
...
@@ -80,6 +82,8 @@
...
@@ -80,6 +82,8 @@
where o.is_delete = 0
where o.is_delete = 0
<if
test=
"secondaryCardNo != null and secondaryCardNo != ''"
>
and o.secondary_card_no = #{secondaryCardNo}
<if
test=
"secondaryCardNo != null and secondaryCardNo != ''"
>
and o.secondary_card_no = #{secondaryCardNo}
</if>
</if>
<if
test=
"nickName != null and nickName != ''"
>
and c1.nick_name like concat('%', #{nickName},'%')
</if>
<if
test=
"outTradeNo != null and outTradeNo != ''"
>
and o.out_trade_no = #{outTradeNo}
</if>
<if
test=
"outTradeNo != null and outTradeNo != ''"
>
and o.out_trade_no = #{outTradeNo}
</if>
<if
test=
"terminalTrace != null and terminalTrace != ''"
>
and o.terminal_trace = #{terminalTrace}
</if>
<if
test=
"terminalTrace != null and terminalTrace != ''"
>
and o.terminal_trace = #{terminalTrace}
</if>
<if
test=
"secondaryCardAmount != null "
>
and o.secondary_card_amount = #{secondaryCardAmount}
</if>
<if
test=
"secondaryCardAmount != null "
>
and o.secondary_card_amount = #{secondaryCardAmount}
</if>
...
@@ -89,6 +93,12 @@
...
@@ -89,6 +93,12 @@
<if
test=
"payType != null "
>
and o.pay_type = #{payType}
</if>
<if
test=
"payType != null "
>
and o.pay_type = #{payType}
</if>
<if
test=
"payStatus != null "
>
and o.pay_status = #{payStatus}
</if>
<if
test=
"payStatus != null "
>
and o.pay_status = #{payStatus}
</if>
<if
test=
"payTime != null "
>
and o.pay_time = #{payTime}
</if>
<if
test=
"payTime != null "
>
and o.pay_time = #{payTime}
</if>
<if
test=
"startDate != null"
>
and DATE_FORMAT(o.create_time, '%Y-%m-%d')
>
= DATE_FORMAT(#{startDate}, '%Y-%m-%d')
</if>
<if
test=
"endDate != null"
>
and DATE_FORMAT(o.create_time, '%Y-%m-%d')
<
= DATE_FORMAT(#{endDate}, '%Y-%m-%d')
</if>
</select>
</select>
<select
id=
"selectSecondaryCardOrderById"
parameterType=
"Long"
resultMap=
"SecondaryCardOrderResult"
>
<select
id=
"selectSecondaryCardOrderById"
parameterType=
"Long"
resultMap=
"SecondaryCardOrderResult"
>
...
...
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