Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
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
徐少华
midjourney-proxy
Commits
62152721
Commit
62152721
authored
Apr 21, 2020
by
裴大威
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat-zy-1002779' into 'master'
修改过期的券不展示 See merge request rays/pcloud-book!652
parents
c9f77e2e
c6c3db9a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletions
+6
-1
GiftPackageDTO.java
...n/java/com/pcloud/book/giftcoupon/dto/GiftPackageDTO.java
+1
-1
GiftCouplePackageDao.xml
...main/resources/mapper/giftConpon/GiftCouplePackageDao.xml
+3
-0
RightNowItem.xml
.../src/main/resources/mapper/rightssetting/RightNowItem.xml
+2
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/giftcoupon/dto/GiftPackageDTO.java
View file @
62152721
...
...
@@ -49,7 +49,7 @@ public class GiftPackageDTO {
private
Integer
receiveLimit
;
/**
* (1-未开始,2-进行中,3-已结束)
* (1-未开始,2-进行中,3-已结束
,4-未结束
)
*/
private
Integer
state
;
/**
...
...
pcloud-service-book/src/main/resources/mapper/giftConpon/GiftCouplePackageDao.xml
View file @
62152721
...
...
@@ -147,6 +147,9 @@
<if
test=
"state !=null and state==3"
>
and now() > a.valid_date_end
</if>
<if
test=
"state !=null and state==4"
>
and now()
<![CDATA[ <= ]]>
a.valid_date_end
</if>
GROUP BY a.id
order by a.update_time desc
...
...
pcloud-service-book/src/main/resources/mapper/rightssetting/RightNowItem.xml
View file @
62152721
...
...
@@ -101,6 +101,7 @@
WHERE
t1.is_delete = 0
AND t.rights_setting_id = #{rightsSettingId}
and now()
<![CDATA[ <= ]]>
t1.valid_date_end
</select>
</mapper>
\ No newline at end of file
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