Commit 3267e4d5 authored by zhengyi's avatar zhengyi

优惠状态查询sql修正

parent 96ef1226
......@@ -317,7 +317,7 @@ public interface CouponMapper extends BaseMapperX<CouponDO> {
" or c.`status` = #{status}",
"</when>",
"<when test=' status == 2'>",
" or c.`puton_status` = 0",
" or c.`puton_status` = 0 or c.`puton_status` = -1",
"</when>",
"<when test=' status == 3'>",
" 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