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

[商户账单][修改][查询时过滤商户名为空字符串]

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

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

@@ -814,7 +814,7 @@


<if test=" null != tenantId"> and tt.tenant_id = #{tenantId} </if> <if test=" null != tenantId"> and tt.tenant_id = #{tenantId} </if>
<if test=" null != merchantId"> and tt.id = #{merchantId} </if> <if test=" null != merchantId"> and tt.id = #{merchantId} </if>
<if test=" null != merchantName"> and tt.name like concat('%', #{merchantName},'%') </if>
<if test=" null != merchantName and ''!=merchantName">and tt.name like concat('%', #{merchantName},'%')</if>
<if test=" null != rentShopType"> and tt.rent_shop_type = #{rentShopType} </if> <if test=" null != rentShopType"> and tt.rent_shop_type = #{rentShopType} </if>


<if test=" null != sortColumns"> order by ${sortColumns} </if> <if test=" null != sortColumns"> order by ${sortColumns} </if>


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