Commit 3267e4d5 authored by zhengyi's avatar zhengyi

优惠状态查询sql修正

parent 96ef1226
...@@ -317,7 +317,7 @@ public interface CouponMapper extends BaseMapperX<CouponDO> { ...@@ -317,7 +317,7 @@ public interface CouponMapper extends BaseMapperX<CouponDO> {
" or c.`status` = #{status}", " or c.`status` = #{status}",
"</when>", "</when>",
"<when test=' status == 2'>", "<when test=' status == 2'>",
" or c.`puton_status` = 0", " or c.`puton_status` = 0 or c.`puton_status` = -1",
"</when>", "</when>",
"<when test=' status == 3'>", "<when test=' status == 3'>",
" or c.`puton_status` = 1", " or c.`puton_status` = 1",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment