| | |
| | | FROM |
| | | shop_invoice i |
| | | LEFT JOIN shop_order o ON i.order_id = o.id |
| | | LEFT JOIN biz_user b on i.user_id = b.open_id |
| | | LEFT JOIN sys_vip_info b on i.user_id = b.id |
| | | <where> |
| | | <include refid="where_sql"></include> |
| | | </where> |
| | |
| | | FROM |
| | | shop_invoice i |
| | | LEFT JOIN shop_order o ON i.order_id = o.id |
| | | LEFT JOIN biz_user b on i.user_id = b.open_id |
| | | LEFT JOIN sys_vip_info b on i.user_id = b.id |
| | | <where> |
| | | <include refid="where_sql"></include> |
| | | </where> |
| | |
| | | FROM |
| | | shop_invoice i |
| | | LEFT JOIN shop_order o ON i.order_id = o.id |
| | | LEFT JOIN biz_user b on i.user_id = b.open_id |
| | | LEFT JOIN sys_vip_info b on i.user_id = b.id |
| | | where invo_id=#{invoId} |
| | | </select> |
| | | |