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
b7654892
Commit
b7654892
authored
May 11, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加套餐券管理
parent
fcef91f8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
+1
-2
SCouponServiceImpl.java
...in/java/share/system/service/impl/SCouponServiceImpl.java
+0
-1
SCouponMapper.xml
...system/src/main/resources/mapper/system/SCouponMapper.xml
+1
-1
No files found.
share-system/src/main/java/share/system/service/impl/SCouponServiceImpl.java
View file @
b7654892
...
@@ -244,7 +244,6 @@ public class SCouponServiceImpl extends ServiceImpl<SCouponMapper, SCoupon> impl
...
@@ -244,7 +244,6 @@ public class SCouponServiceImpl extends ServiceImpl<SCouponMapper, SCoupon> impl
@Override
@Override
public
TableDataInfo
listDuration
(
SCoupon
sCoupon
)
{
public
TableDataInfo
listDuration
(
SCoupon
sCoupon
)
{
sCoupon
.
setCouponType
(
CouponTypeEnum
.
DURATION
.
getCode
());
List
<
SCoupon
>
sCouponList
=
sCouponMapper
.
listDuration
(
sCoupon
);
List
<
SCoupon
>
sCouponList
=
sCouponMapper
.
listDuration
(
sCoupon
);
List
<
SCouponVo
>
sCouponVoList
=
convertDoListToVoList
(
sCouponList
);
List
<
SCouponVo
>
sCouponVoList
=
convertDoListToVoList
(
sCouponList
);
if
(!
CollectionUtils
.
isEmpty
(
sCouponList
))
{
if
(!
CollectionUtils
.
isEmpty
(
sCouponList
))
{
...
...
share-system/src/main/resources/mapper/system/SCouponMapper.xml
View file @
b7654892
...
@@ -111,7 +111,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -111,7 +111,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
</select>
<select
id=
"listDuration"
resultMap=
"SCouponResult"
>
<select
id=
"listDuration"
resultMap=
"SCouponResult"
>
<include
refid=
"selectSCouponVo"
/>
<include
refid=
"selectSCouponVo"
/>
where 1=1 and coupon_type
= #{couponType}
where 1=1 and coupon_type
in (4,5)
<if
test=
"name != null and name != ''"
>
and name like concat('%', #{name}, '%')
</if>
<if
test=
"name != null and name != ''"
>
and name like concat('%', #{name}, '%')
</if>
<if
test=
"startDate != null"
>
and start_date
<
= #{startDate}
</if>
<if
test=
"startDate != null"
>
and start_date
<
= #{startDate}
</if>
<!-- <if test="endDate == null">and end_date >= NOW()</if> -->
<!-- <if test="endDate == null">and end_date >= NOW()</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