KKSU
2024-06-13 a9e4aa269a3f49da733925fdb5e7a02339f73e56
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>