Просмотр исходного кода

[修改][修改][修改卷list过滤]

release_toaliyun_real
luozukai 6 лет назад
Родитель
Сommit
3c1edb91d1
1 измененных файлов: 4 добавлений и 4 удалений
  1. +4
    -4
      mallinkService/src/main/resources/mapper/WxCouponMapper.xml

+ 4
- 4
mallinkService/src/main/resources/mapper/WxCouponMapper.xml Просмотреть файл

@@ -409,16 +409,16 @@


<!--如果配置了审批模板,需要过滤投放审批状态--> <!--如果配置了审批模板,需要过滤投放审批状态-->
<if test="0 != filterCanPut or null ==filterCanPut "> <if test="0 != filterCanPut or null ==filterCanPut ">
<if test=" null != pressModelId ">
<if test=" null != pressModelId and 0l != pressModelId">
and if(type=8,put_apply_status =2,1=1) and if(type=8,put_apply_status =2,1=1)
</if> </if>
<if test=" null != groupModelId ">
<if test=" null != groupModelId and 0l != groupModelId">
and if(type=9,put_apply_status =2,1=1) and if(type=9,put_apply_status =2,1=1)
</if> </if>
<if test=" null != cardModelId ">
<if test=" null != cardModelId and 0l != cardModelId">
and if(type=100,put_apply_status =2,1=1) and if(type=100,put_apply_status =2,1=1)
</if> </if>
<if test=" null != couponModelId ">
<if test=" null != couponModelId and 0l != couponModelId">


and if(type !=8 and type !=9 and type!=100,put_apply_status =2,1=1) and if(type !=8 and type !=9 and type!=100,put_apply_status =2,1=1)
</if> </if>


Загрузка…
Отмена
Сохранить