liusheng
2025-04-16 4613099dca2d4e1c7b46a69a98bb4c210312ac57
smartor/src/main/resources/mapper/smartor/SysUserDeptMapper.xml
@@ -46,6 +46,7 @@
        <include refid="selectSysUserDeptVo"/>
        <where>
            del_flag=0
            and orgid=#{orgid}
            <if test="userId != null ">
                and user_id = #{userId}
            </if>
@@ -101,7 +102,8 @@
            </if>
            <if test="deptName != null ">
                dept_name,
            </if>   <if test="orgid != null ">
            </if>
            <if test="orgid != null ">
            orgid,
            </if>
        </trim>
@@ -127,7 +129,8 @@
            </if>
            <if test="deptName != null ">
                #{deptName},
            </if><if test="orgid != null ">
            </if>
            <if test="orgid != null ">
                #{orgid},
            </if>
        </trim>
@@ -159,7 +162,8 @@
            </if>
            <if test="deptName != null ">
                dept_name = #{deptName},
            </if> <if test="orgid != null ">
            </if>
            <if test="orgid != null ">
            orgid = #{orgid},
            </if>
        </trim>