lazyboyl commented on issue #8677:
URL: https://github.com/apache/shardingsphere/issues/8677#issuecomment-747824230
@huanghao495430759 Here are tk.mybatis Source code, you can use tk.mybatis
The updatebyprimarykeyselective method, you will see the scenario I mentioned
above。
`package tk.mybatis.mapper.common.base.update;
import org.apache.ibatis.annotations.UpdateProvider;
import tk.mybatis.mapper.annotation.RegisterMapper;
import tk.mybatis.mapper.provider.base.BaseUpdateProvider;
@RegisterMapper
public interface UpdateByPrimaryKeySelectiveMapper<T> {
@UpdateProvider(
type = BaseUpdateProvider.class,
method = "dynamicSQL"
)
int updateByPrimaryKeySelective(T var1);
}`
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]