| | |
| | | blade_dept bd |
| | | on |
| | | bd.id = i.departmentid |
| | | left join |
| | | blade_user bu |
| | | on |
| | | bu.id = i.create_user_id |
| | | where 1=1 |
| | | <if test="information.jurisdiction!=null and information.jurisdiction!='' and information.jurisdiction!='1372091709474910209'"> |
| | | and (sj.id=#{information.jurisdiction} or sj.parent_id=#{information.jurisdiction}) |
| | |
| | | <if test="information.departmentid!=null and information.departmentid!=''"> |
| | | and i.departmentid=#{information.departmentid} |
| | | </if> |
| | | <if test="information.createDeptId!=null and information.createDeptId!=''"> |
| | | and bu.dept_id =#{information.createDeptId} |
| | | </if> |
| | | order by i.id desc |
| | | </select> |
| | | |
| | | <delete id="deleteIn"> |