| | |
| | | LEFT JOIN t_operator t1 ON t3.operatorId = t1.id |
| | | LEFT JOIN sys_user t2 ON t1.userId = t2.id AND t2.objectType = 2 |
| | | ) AS t1 |
| | | where 1=1 |
| | | <if test="userName !=null and userName !=''"> |
| | | and t1.userName like concat("%",#{userName},"%") |
| | | </if> |
| | | <if test="phone !=null and phone !=''"> |
| | | and t1.phone like concat("%",#{phone},"%") |
| | | </if> |
| | | <if test="platform !=null and platform !='' and platform==1"> |
| | | and t1.platform = "微信" |
| | | </if> |
| | | <if test="platform !=null and platform !='' and platform==2"> |
| | | and t1.platform = "支付宝" |
| | | </if> |
| | | <if test="type !=null and type !='' "> |
| | | and t1.type = #{type} |
| | | </if> |
| | | <if test="state !=null and state !=''"> |
| | | and t1.audit = #{state} |
| | | </if> |
| | | ORDER BY t1.id; |
| | | |
| | | </select> |