| | |
| | | LEFT JOIN |
| | | blade_user u |
| | | ON |
| | | s.namb = u.id |
| | | s.cardid = u.cardid |
| | | left join |
| | | sys_jurisdiction sj |
| | | on |
| | |
| | | <if test="social.realname!=null and social.realname!=''"> |
| | | and u.real_name like concat(concat('%', #{social.realname}),'%') |
| | | </if> |
| | | <if test="social.cardid!=null and social.cardid!=''"> |
| | | and s.cardid like concat(concat('%', #{social.cardid}),'%') |
| | | </if> |
| | | <if test="social.namb!=null and social.namb!=''"> |
| | | and s.namb=#{social.namb} |
| | | and s.namb like concat('%',#{social.namb},'%') |
| | | </if> |
| | | <if test="social.deptid!=null and social.deptid!=''"> |
| | | and s.deptid=#{social.deptid} |