|
|
|
@@ -723,6 +723,7 @@ |
|
|
|
) bill |
|
|
|
left join wx_merchant m on bill.merchant_id=m.id |
|
|
|
where m.status=1 and m.tenant_id = #{tenantId} |
|
|
|
<if test=" null != merchantName and '' != merchantName">and m.name like concat('%', #{merchantName},'%')</if> |
|
|
|
<if test=" null != sortColumns"> order by ${sortColumns} </if> |
|
|
|
<if test=" null == sortColumns"> order by totalOwe desc </if> |
|
|
|
</select> |
|
|
|
|