陈昶聿
2026-09-18 cb58722ca8b5ac0e844c20ae001c763e4773f149
smartor/src/main/resources/mapper/smartor/SysUserDeptMapper.xml
@@ -234,7 +234,9 @@
            del_flag =1,
            update_time = sysdate()
        </trim>
        where user_id =#{userId} and dept_code=#{deptCode}
        where del_flag = 0
            and user_id =#{userId}
            and dept_code=#{deptCode}
    </update>
    <update id="updateSysUserDeptForSync" parameterType="com.ruoyi.common.core.domain.entity.SysUserDept">