Преглед изворни кода

[营销分析][添加][卡营销列表]

release_toaliyun_real
luozukai пре 7 година
родитељ
комит
df947d4914
1 измењених фајлова са 6 додато и 6 уклоњено
  1. +6
    -6
      mallinkService/src/main/resources/mapper/WxCouponMapper.xml

+ 6
- 6
mallinkService/src/main/resources/mapper/WxCouponMapper.xml Прегледај датотеку

@@ -488,8 +488,8 @@
where wc.id = c.id) as sum_subsidy

from wx_coupon c where c.type = 100
<if test="title != null">
and c.title = concat('%', #{title},'%')
<if test="title != null and title !=''">
and c.title like concat('%', #{title},'%')
</if>
<if test="id != null">
and c.id = #{id}
@@ -514,8 +514,8 @@
<if test=" 2 == type ">
and c.sale_price = 0
</if>
<if test="title != null">
and c.title = concat('%', #{title},'%')
<if test="title != null and title != ''">
and c.title like concat('%', #{title},'%')
</if>
<if test="id != null">
and c.id = #{id}
@@ -555,8 +555,8 @@
<if test="id != null">
and c.id = #{id}
</if>
<if test="title != null">
and c.title = concat('%', #{title},'%')
<if test="title != null and title != ''">
and c.title like concat('%', #{title},'%')
</if>
order by c.status asc,c.create_date desc
</select>


Loading…
Откажи
Сачувај