|
|
|
@@ -749,6 +749,9 @@ |
|
|
|
<if test="title != null"> |
|
|
|
and c.title = concat('%', #{title},'%') |
|
|
|
</if> |
|
|
|
<if test="id != null"> |
|
|
|
and c.id = #{id} |
|
|
|
</if> |
|
|
|
order by c.status asc,c.create_date desc |
|
|
|
</select> |
|
|
|
|
|
|
|
@@ -772,6 +775,9 @@ |
|
|
|
<if test="title != null"> |
|
|
|
and c.title = concat('%', #{title},'%') |
|
|
|
</if> |
|
|
|
<if test="id != null"> |
|
|
|
and c.id = #{id} |
|
|
|
</if> |
|
|
|
order by c.status asc,c.create_date desc |
|
|
|
</select> |
|
|
|
|
|
|
|
@@ -804,6 +810,9 @@ |
|
|
|
*100,2) as payment_rate |
|
|
|
|
|
|
|
from wx_coupon c where c.type = 8 |
|
|
|
<if test="id != null"> |
|
|
|
and c.id = #{id} |
|
|
|
</if> |
|
|
|
<if test="title != null"> |
|
|
|
and c.title = concat('%', #{title},'%') |
|
|
|
</if> |
|
|
|
|