KKSU
2024-06-12 8986d6d479bf56432ebb8e18bfa0f344d028eee6
src/main/resources/mapper/dapp/DbMemberNodeMapper.xml
@@ -8,23 +8,11 @@
        from
             db_member_node
        where work_state = #{workState}
          and type = #{type}
            and (left_node is null or right_node is null)
        ORDER BY create_time ASC
            limit 1
    </select>
    <update id="updateDicValueByTypeAndCode">
        update data_dictionary_custom
        set value=#{value}
        <where>
            1=1
            <if test="code != null and code != ''">
                and code = #{code}
            </if>
            <if test="type != null and type != ''">
                and type = #{type}
            </if>
        </where>
    </update>
</mapper>