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

[BUG][修改][测试环境:商户账单下-“花花美食店”商户有账单数据但是在商户账单没显示]

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

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

@@ -811,12 +811,11 @@
left join wx_rent_contract rc on(rc.merchant_id = m.id)
where m.status=1
) tt where 1=1

<if test=" null != tenantId"> and tt.tenant_id = #{tenantId} </if>
<if test=" null != merchantId"> and tt.id = #{merchantId} </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>
and (receivePay >0 or payOut>0)
<if test=" null != sortColumns"> order by ${sortColumns} </if>
<if test=" null == sortColumns"> order by tt.id desc </if>
</select>


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