| | |
| | | <include refid="selectSysUserDeptVo"/> |
| | | <where> |
| | | del_flag=0 |
| | | and orgid=#{orgid} |
| | | <if test="userId != null "> |
| | | and user_id = #{userId} |
| | | </if> |
| | |
| | | </if> |
| | | <if test="deptName != null "> |
| | | dept_name, |
| | | </if> <if test="orgid != null "> |
| | | orgid, |
| | | </if> |
| | | <if test="orgid != null "> |
| | | orgid, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | |
| | | </if> |
| | | <if test="deptName != null "> |
| | | #{deptName}, |
| | | </if><if test="orgid != null "> |
| | | </if> |
| | | <if test="orgid != null "> |
| | | #{orgid}, |
| | | </if> |
| | | </trim> |
| | |
| | | </if> |
| | | <if test="deptName != null "> |
| | | dept_name = #{deptName}, |
| | | </if> <if test="orgid != null "> |
| | | orgid = #{orgid}, |
| | | </if> |
| | | <if test="orgid != null "> |
| | | orgid = #{orgid}, |
| | | </if> |
| | | </trim> |
| | | where id = #{id} |