Skip to content

fix(docx2md): correctly load latest config from database using LambdaQueryWrapper - #1

Open
cto-new[bot] wants to merge 1 commit into
masterfrom
fix-docx2md-load-config-selectone-usage
Open

fix(docx2md): correctly load latest config from database using LambdaQueryWrapper#1
cto-new[bot] wants to merge 1 commit into
masterfrom
fix-docx2md-load-config-selectone-usage

Conversation

@cto-new

@cto-new cto-new Bot commented Dec 3, 2025

Copy link
Copy Markdown

Summary

Fixes incorrect usage of selectOne() in Docx2Md config loader by using a proper query wrapper to fetch the latest record; adds alternative reference implementations.

Details

  • Replaced invalid nested selectOne call with LambdaQueryWrapper-based query to fetch the most recent Docx2MdConfigDO
  • Populates fields from the retrieved config and preserves logging
  • Added alternative reference implementations in separate files (selectList with LIMIT, and a simpler selectOne pattern)
  • No breaking changes; safe fix

Warning: Task VM test is not passing, cto.new will perform much better if you fix the setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants