`id`,`tenant_id`,`merchant_id`,`b_user_id`,`trade_amt`,`create_date`,`update_date`,`report_date`
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `merchant_id` = #{merchantId}
and `b_user_id` = #{bUserId}
and `trade_amt` = #{tradeAmt}
and `create_date` = #{createDate}
and `update_date` = #{updateDate}
and `report_date` = #{reportDate}
and id in
#{idItem}
order by ${sortColumns}
mtd.id as id, m.tenant_id as tenant_id, m.id as merchant_id, mtd.b_user_id as b_user_id, mtd.trade_amt as trade_amt, mtd.create_date as create_date,mtd.update_date as update_date,mtd.report_date as report_date, m.name as merchant_name, mbu.name as b_user_name, mbu.phone as b_user_phone