| 程序包 | 说明 |
|---|---|
| cn.xbatis.core.logicDelete | |
| cn.xbatis.core.mybatis.mapper | |
| cn.xbatis.core.mybatis.mapper.context | |
| cn.xbatis.core.sql | |
| cn.xbatis.core.sql.executor | |
| cn.xbatis.core.sql.executor.chain |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
LogicDeleteUtil.addLogicDeleteUpdateSets(BaseUpdate baseUpdate,
TableInfo tableInfo)
设置逻辑删除字段值 例如: set deleted=1 和 删除时间设置
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
BaseMapper.update(BaseUpdate<?> update)
动态修改
|
default int |
MybatisMapper.update(BaseUpdate<?> update) |
default int |
BasicMapper.update(BaseUpdate<?> update) |
| 构造器和说明 |
|---|
SQLCmdUpdateContext(BaseUpdate update) |
| 限定符和类型 | 方法和说明 |
|---|---|
StringBuilder |
SQLBuilder.buildUpdateSQL(BaseUpdate update,
SqlBuilderContext context) |
StringBuilder |
XbatisSQLBuilder.buildUpdateSQL(BaseUpdate update,
SqlBuilderContext context) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BaseUpdate<T extends BaseUpdate<T>> |
| 限定符和类型 | 类和说明 |
|---|---|
class |
Update |
| 限定符和类型 | 类和说明 |
|---|---|
class |
UpdateChain
更新链路
|
Copyright © 2025. All rights reserved.