Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
5add2249
Commit
5add2249
authored
Nov 14, 2019
by
hezhen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master_position' into dev
parents
d8081044
a987cd4a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
UserCouponDTO.java
...in/java/com/xxfc/platform/activity/dto/UserCouponDTO.java
+3
-0
UserCouponMapper.xml
...ity-server/src/main/resources/mapper/UserCouponMapper.xml
+2
-1
No files found.
xx-activity/xx-activity-api/src/main/java/com/xxfc/platform/activity/dto/UserCouponDTO.java
View file @
5add2249
...
@@ -25,6 +25,9 @@ public class UserCouponDTO {
...
@@ -25,6 +25,9 @@ public class UserCouponDTO {
@ApiModelProperty
(
value
=
"抵扣金额"
)
@ApiModelProperty
(
value
=
"抵扣金额"
)
private
BigDecimal
usedAmount
;
private
BigDecimal
usedAmount
;
@ApiModelProperty
(
value
=
"时效"
)
private
Integer
validType
;
@ApiModelProperty
(
value
=
"0-未使用;1-已使用"
)
@ApiModelProperty
(
value
=
"0-未使用;1-已使用"
)
private
Integer
isUse
;
private
Integer
isUse
;
...
...
xx-activity/xx-activity-server/src/main/resources/mapper/UserCouponMapper.xml
View file @
5add2249
...
@@ -82,6 +82,7 @@
...
@@ -82,6 +82,7 @@
uc.is_use AS `isUse`,
uc.is_use AS `isUse`,
cp.title,
cp.title,
cp.used_amount AS `usedAmount`,
cp.used_amount AS `usedAmount`,
cp.valid_type AS `validType`,
uc.crt_time AS `crtTime`,
uc.crt_time AS `crtTime`,
uc.expire_time AS `expireTime`,
uc.expire_time AS `expireTime`,
uc.use_time AS `useTime`
uc.use_time AS `useTime`
...
@@ -94,7 +95,7 @@
...
@@ -94,7 +95,7 @@
<if
test=
"status != null"
>
<if
test=
"status != null"
>
AND `is_use`=#{status}
AND `is_use`=#{status}
</if>
) AS `uc`
</if>
) AS `uc`
INNER JOIN ( SELECT `id`, `title`, `used_amount` FROM `coupon` WHERE 1=1
INNER JOIN ( SELECT `id`, `title`, `used_amount`
,`valid_type`
FROM `coupon` WHERE 1=1
<if
test=
"couponId != null"
>
<if
test=
"couponId != null"
>
AND `id`=#{couponId}
AND `id`=#{couponId}
</if>
</if>
...
...
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