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

[商铺][修改][sql判断商铺号不为空字符串]

release_toaliyun_real
gongbiao 7 лет назад
Родитель
Сommit
bd499ad022
1 измененных файлов: 3 добавлений и 3 удалений
  1. +3
    -3
      mallinkService/src/main/resources/mapper/WxShopMapper.xml

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

@@ -38,7 +38,7 @@

</if>

<if test=" null != shopNumber ">
<if test=" null != shopNumber and ''!=shopNumber">
and `shop_number` like concat('%', #{shopNumber},'%')

</if>
@@ -141,11 +141,11 @@
</if>

<if test=" null != tenantId ">
and s.`tenant_id` like concat('%', #{tenantId},'%')
and s.`tenant_id`= #{tenantId}

</if>

<if test=" null != shopNumber ">
<if test=" null != shopNumber and ''!=shopNumber">
and s.`shop_number` like concat('%', #{shopNumber},'%')

</if>


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