| | |
| | | AND r.code = #{areaCode} |
| | | </select> |
| | | |
| | | <select id="selectDeptPage" resultType="org.sxkj.system.vo.DeptVO"> |
| | | SELECT |
| | | bd.* |
| | | FROM |
| | | blade_dept bd |
| | | WHERE |
| | | bd.is_deleted = 0 |
| | | <if test="param2.deptName!=null and param2.deptName!=''"> |
| | | and bd.dept_name like concat(concat('%', #{param2.deptName}),'%') |
| | | </if> |
| | | <if test="param2.fullName!=null and param2.fullName!=''"> |
| | | and bd.full_name like concat(concat('%', #{param2.fullName}),'%') |
| | | </if> |
| | | <if test="param2.areaCode!=null and param2.areaCode!=''"> |
| | | and bd.area_code = #{param2.areaCode} |
| | | </if> |
| | | </select> |
| | | |
| | | |
| | | </mapper> |