MyBatis-Plus CRUD接口-mapper 层 选装件

选装件位于 ​com.baomidou.mybatisplus.extension.injector.methods​ 包下 需要配合Sql注入器使用

AlwaysUpdateSomeColumnById

int alwaysUpdateSomeColumnById(T entity);

insertBatchSomeColumn

int insertBatchSomeColumn(List<T> entityList);

logicDeleteByIdWithFill

int logicDeleteByIdWithFill(T entity);

作者:andy,如若转载,请注明出处:https://www.web176.com/mybatis-plus/20398.html

(0)
打赏 支付宝 支付宝 微信 微信
andy的头像andy
上一篇 2023年5月16日
下一篇 2023年5月16日

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注