| | |
| | | LEFT JOIN shop_order o ON c.order_id = o.id |
| | | LEFT JOIN sys_vip_info b ON c.user_id = b.id |
| | | <where> |
| | | and (b.IS_DELETE is null or b.IS_DELETE = '') |
| | | |
| | | |
| | | <if test="record!=null"> |
| | | <if test="(record.userId!=null and record.userId!='') or (record.userId!='' and record.userId==0) "> |
| | |
| | | AND p.del_flag = 2 |
| | | AND o.del_flag = 2 |
| | | AND c.del_flag = 2 |
| | | AND c.com_audit_status = 1 and (b.IS_DELETE is null or b.IS_DELETE = '') |
| | | AND c.com_audit_status = 1 |
| | | </where> |
| | | order by c.create_time desc |
| | | <if test="record.offset >=0 and record.limit >0"> |