You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "yingh0ng (via GitHub)" <gi...@apache.org> on 2025/05/09 02:31:50 UTC

Re: [I] [Improvement][Dao] Further encapsulation of BaseDao avoids writing many conditional queries [dolphinscheduler]

yingh0ng commented on issue #17158:
URL: https://github.com/apache/dolphinscheduler/issues/17158#issuecomment-2864915315

   Hey, I have a idea with that.
   We can integrate the `ServiceImpl` class from `MyBatis-Plus` into the `BaseDao`. 
   The `ServiceImpl` provides a `lambdaQueryChain` method that enables basic data querying with multiple conditions  without writing new methods.
   ![Image](https://github.com/user-attachments/assets/0653509e-f80d-499e-9534-93293c3c11c8)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org