| | |
| | | </select> |
| | | |
| | | <!--统计单位类型数量--> |
| | | <select id="selectCount" resultType="java.util.HashMap"> |
| | | <select id="getCount" resultType="java.util.HashMap"> |
| | | SELECT dept.id as jurisdiction, dept.dept_name AS title |
| | | FROM blade_dept dept |
| | | WHERE dept.dept_name like concat(concat('%', #{name}), '%') |
| | |
| | | '1415620707473223681') |
| | | </select> |
| | | |
| | | |
| | | <!--查询当前保安单位下的派遣单位信息--> |
| | | <select id="getDispatchUnitList" resultMap="treeNodeResultMap"> |
| | | SELECT |
| | | id, |
| | | 0 as parent_id, |
| | | name AS title, |
| | | id AS "value", |
| | | id AS "key", |
| | | 0 AS "has_children" |
| | | FROM |
| | | sys_dispatcher_unit |
| | | where dept_id = #{deptId} |
| | | </select> |
| | | |
| | | </mapper> |