| | |
| | | left join sys_users c on a.opration_user_id=c.su_id |
| | | <where> |
| | | |
| | | <if test="(record.userId!=null and record.userId!='') and (record.vipId!=null and record.vipId!='')"> |
| | | and (a.open_id=#{record.userId} or a.vip_id=#{record.vipId}) |
| | | </if> |
| | | |
| | | <if test="(record.userId!=null and record.userId!='') and record.vipId==null"> |
| | | and a.open_id=#{record.userId} |
| | | </if> |
| | | |
| | | <if test="(record.vipId!=null and record.vipId!='') and record.userId==null"> |
| | | <if test="(record.vipId!=null and record.vipId!='')"> |
| | | and a.vip_id=#{record.vipId} |
| | | </if> |
| | | |