67,512
社区成员
发帖
与我相关
我的任务
分享
<select id="retrieveUserDetail" parameterType="cdata" resultType="cdata">
<![CDATA[
SELECT u.user_id "userId",
u.user_name "userName",
u.password "password",
u.email "email",
u.phone_no "phoneNo",
u.fax_no "faxNo",
u.create_by "createBy",
u.create_date "createDate",
u.use_flag "useFlag",
u.address "address",
u.dept_id "deptId",
d.DEPT_NAME "deptname",
u.position "position",
u.mobile_no "mobileNo",
u.notes "notes",
u.sub_dept_id "subDeptId",
a.auth_code as "code"
FROM T_user_m u ,t_auth_user a,t_dept_m d
WHERE u.user_id = #{userId} and u.user_id=a.user_id and u.DEPT_ID=d.DEPT_ID
]]>
</select>