| | |
| | | blade_dept bt |
| | | ON |
| | | sr.dept_id = bt.id |
| | | left join |
| | | sys_information si |
| | | on |
| | | si.departmentid = bt.id |
| | | left join |
| | | sys_jurisdiction sj |
| | | on |
| | | sj.id = si.jurisdiction |
| | | WHERE |
| | | 1=1 |
| | | <if test="recruitment.jurisdiction!=null and recruitment.jurisdiction!='' and recruitment.jurisdiction!='1372091709474910209'"> |
| | | and (sj.id = #{recruitment.jurisdiction} or sj.parent_id = #{recruitment.jurisdiction}) |
| | | </if> |
| | | <if test="recruitment.tenantName!=null and recruitment.tenantName!=''"> |
| | | and bt.dept_name like concat('%', #{recruitment.tenantName},'%') |
| | | </if> |