| | |
| | | otc_entrust_order a |
| | | LEFT JOIN member m ON m.id = a.member_id |
| | | LEFT JOIN member_authentication b ON b.member_id = a.member_id |
| | | LEFT JOIN otc_market_bussiness c ON c.id = a.mb_id |
| | | <where> |
| | | <if test="record != null" > |
| | | <if test="record.account!=null and record.account!=''"> |
| | |
| | | <if test="record.orderType!=null and record.orderType!=''"> |
| | | and a.order_type= #{record.orderType} |
| | | </if> |
| | | <if test="record.status!=null and record.status!=''"> |
| | | and a.status= #{record.status} |
| | | </if> |
| | | </if> |
| | | </where> |
| | | order by m.create_time desc |