Has the new version of the mybatis plugin changed its parameters?

24 views
Skip to first unread message

courage

unread,
Oct 16, 2023, 10:59:57 PM10/16/23
to mybatis-user
I need a mybatis plugin to fill in the time. Previously, I only needed to obtain one parameter and change it. Now, I have upgraded the version of mybatis using<org. mybatis. spring. boot<dependency>

<groupId>org. mybatis. spring. boot</groupId>

<artifactId>mybatis spring boot starter</artifactId>

<version>3.0.2</version>

</dependency>

The invocation. getArgs() in mybatis [1] obtains three parameters

How can I reassign values?

微信图片_20231017093720.png

Peter Cao

unread,
Oct 17, 2023, 2:29:23 AM10/17/23
to mybati...@googlegroups.com
Hi Folks,

I developed a IntellJ plugin.
to help you to format query SQL.
Please check it out.

Regards.

Peter

'courage' via mybatis-user <mybati...@googlegroups.com> 于2023年10月17日周二 10:59写道:
--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mybatis-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mybatis-user/7cb4920d-6d2e-4988-82f2-104d71ea83ddn%40googlegroups.com.

courage

unread,
Oct 18, 2023, 9:20:58 PM10/18/23
to mybatis-user

Thank you, but what I want is how to dynamically assign values to the parameters inside. Originally, it was value passing, and I only need to directly reference the input. getArgs [1] to dynamically change the parameters. Now, it is object passing, and reference passing is not possible to change the parameters by directly referencing the values, and I have not found a method for set
Reply all
Reply to author
Forward
0 new messages