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
c6c3db9a
Commit
c6c3db9a
authored
Apr 21, 2020
by
郑勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
c9f77e2e
Show 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 @
c6c3db9a
...
@@ -49,7 +49,7 @@ public class GiftPackageDTO {
...
@@ -49,7 +49,7 @@ public class GiftPackageDTO {
private
Integer
receiveLimit
;
private
Integer
receiveLimit
;
/**
/**
* (1-未开始,2-进行中,3-已结束)
* (1-未开始,2-进行中,3-已结束
,4-未结束
)
*/
*/
private
Integer
state
;
private
Integer
state
;
/**
/**
...
...
pcloud-service-book/src/main/resources/mapper/giftConpon/GiftCouplePackageDao.xml
View file @
c6c3db9a
...
@@ -147,6 +147,9 @@
...
@@ -147,6 +147,9 @@
<if
test=
"state !=null and state==3"
>
<if
test=
"state !=null and state==3"
>
and now() > a.valid_date_end
and now() > a.valid_date_end
</if>
</if>
<if
test=
"state !=null and state==4"
>
and now()
<![CDATA[ <= ]]>
a.valid_date_end
</if>
GROUP BY a.id
GROUP BY a.id
order by a.update_time desc
order by a.update_time desc
...
...
pcloud-service-book/src/main/resources/mapper/rightssetting/RightNowItem.xml
View file @
c6c3db9a
...
@@ -101,6 +101,7 @@
...
@@ -101,6 +101,7 @@
WHERE
WHERE
t1.is_delete = 0
t1.is_delete = 0
AND t.rights_setting_id = #{rightsSettingId}
AND t.rights_setting_id = #{rightsSettingId}
and now()
<![CDATA[ <= ]]>
t1.valid_date_end
</select>
</select>
</mapper>
</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