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
24e39ea8
Commit
24e39ea8
authored
Jan 10, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优惠卷领取增加字段
parent
7b39e7a3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
QPServiceImpl.java
...rc/main/java/share/system/service/impl/QPServiceImpl.java
+3
-0
SCouponServiceImpl.java
...in/java/share/system/service/impl/SCouponServiceImpl.java
+1
-1
SCouponMapper.xml
...system/src/main/resources/mapper/system/SCouponMapper.xml
+4
-4
No files found.
share-system/src/main/java/share/system/service/impl/QPServiceImpl.java
View file @
24e39ea8
...
...
@@ -159,6 +159,9 @@ public class QPServiceImpl implements QPService {
sConsumerCoupon
.
setMinPrice
(
sCoupon
.
getMinPrice
());
sConsumerCoupon
.
setCouponTimeStart
(
sCoupon
.
getValidStartTime
());
sConsumerCoupon
.
setCouponTimeEnd
(
sCoupon
.
getValidEndTime
());
sConsumerCoupon
.
setOrderType
(
sCoupon
.
getOrderType
());
sConsumerCoupon
.
setPackageId
(
sCoupon
.
getPackageId
());
sConsumerCoupon
.
setRemark
(
sCoupon
.
getRemark
());
}
isConsumerCouponService
.
insertSConsumerCoupon
(
sConsumerCoupon
);
response
.
setConsumerCouponId
(
sConsumerCoupon
.
getId
());
...
...
share-system/src/main/java/share/system/service/impl/SCouponServiceImpl.java
View file @
24e39ea8
...
...
@@ -77,7 +77,7 @@ public class SCouponServiceImpl implements ISCouponService
sCoupon
.
setValidEndTime
(
DEFAULT_END_TIME
);
sCoupon
.
setMinDuration
(
DEFAULT_DURATION
);
sCoupon
.
setMaxDuration
(
DEFAULT_MAX_DURATION
);
sCoupon
.
setMinPrice
(
new
BigDecimal
(
0
));
sCoupon
.
setMinPrice
(
new
BigDecimal
(
"0.00"
));
sCoupon
.
setCreateTime
(
DateUtils
.
getNowDate
());
return
sCouponMapper
.
insertSCoupon
(
sCoupon
);
...
...
share-system/src/main/resources/mapper/system/SCouponMapper.xml
View file @
24e39ea8
...
...
@@ -104,8 +104,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"duration != null and duration != ''"
>
duration,
</if>
<if
test=
"minDuration != null and minDuration != ''"
>
min_duration,
</if>
<if
test=
"maxDuration != null and maxDuration != ''"
>
max_duration,
</if>
<if
test=
"minPrice != null
and minPrice != ''
"
>
min_price,
</if>
<if
test=
"subPrice != null
and subPrice != ''
"
>
sub_price,
</if>
<if
test=
"minPrice != null"
>
min_price,
</if>
<if
test=
"subPrice != null"
>
sub_price,
</if>
<if
test=
"isOverlay != null"
>
is_overlay,
</if>
<if
test=
"platformType != null"
>
platform_type,
</if>
<if
test=
"number != null"
>
number,
</if>
...
...
@@ -127,8 +127,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"duration != null and duration != ''"
>
#{duration},
</if>
<if
test=
"minDuration != null and minDuration != ''"
>
#{minDuration},
</if>
<if
test=
"maxDuration != null and maxDuration != ''"
>
#{maxDuration},
</if>
<if
test=
"minPrice != null
and minPrice != ''
"
>
#{minPrice},
</if>
<if
test=
"subPrice != null
and subPrice != ''
"
>
#{subPrice},
</if>
<if
test=
"minPrice != null"
>
#{minPrice},
</if>
<if
test=
"subPrice != null"
>
#{subPrice},
</if>
<if
test=
"isOverlay != null"
>
#{isOverlay},
</if>
<if
test=
"platformType != null"
>
#{platformType},
</if>
<if
test=
"number != null"
>
#{number},
</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