|
@@ -2,27 +2,6 @@
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
<mapper namespace="com.hdkj.lt.core.sys.dao.SysUserMapper">
|
|
<mapper namespace="com.hdkj.lt.core.sys.dao.SysUserMapper">
|
|
|
|
|
|
|
|
- <resultMap id="treeMap" type="com.jxdinfo.hussar.common.treemodel.JSTreeModel">
|
|
|
|
|
- <id column="ID" property="id" />
|
|
|
|
|
- <result column="TEXT" property="text" />
|
|
|
|
|
- <result column="CODE" property="code" />
|
|
|
|
|
- <result column="PARENT" property="parent" />
|
|
|
|
|
- <result column="ORGANID" property="organId" />
|
|
|
|
|
- <result column="STRUTYPE" property="struType" />
|
|
|
|
|
- <result column="STRULEVEL" property="struLevel" />
|
|
|
|
|
- <result column="STRUORDER" property="struOrder" />
|
|
|
|
|
- <result column="FIRST_ORDER" property="firstOrder" />
|
|
|
|
|
- <result column="MODELTYPE" property="type" />
|
|
|
|
|
- <result column="ISEMPLOYEE" property="isEmployee" />
|
|
|
|
|
- <result column="EMPLOYEEID" property="employeeId" />
|
|
|
|
|
- <result column="PARENTTYPECODE" property="parentTypeCode" />
|
|
|
|
|
- <result column="ISLEAF" property="isLeaf" />
|
|
|
|
|
- <result column="SEQ" property="seq" />
|
|
|
|
|
- <result column="ACCOUNTSTATUS" property="accountStatus" />
|
|
|
|
|
- <result column="PRIME" property="prime" />
|
|
|
|
|
- <result column="IMG_URL" property="imgUrl" />
|
|
|
|
|
- </resultMap>
|
|
|
|
|
-
|
|
|
|
|
<select id="listByCondition" resultType="com.hdkj.lt.core.sys.model.po.SysUser">
|
|
<select id="listByCondition" resultType="com.hdkj.lt.core.sys.model.po.SysUser">
|
|
|
SELECT u.*
|
|
SELECT u.*
|
|
|
FROM SYS_USERS u
|
|
FROM SYS_USERS u
|
|
@@ -115,7 +94,7 @@
|
|
|
) t
|
|
) t
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
- <select id="getLoadingUserTree" resultMap="treeMap">
|
|
|
|
|
|
|
+ <select id="getLoadingUserTree">
|
|
|
SELECT *
|
|
SELECT *
|
|
|
FROM (
|
|
FROM (
|
|
|
SELECT
|
|
SELECT
|