mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 17:18:24 +08:00
fix: 查询数据时多加单引号问题。
This commit is contained in:
parent
f1a2ab3a02
commit
b055cd0f7b
@ -44,7 +44,7 @@ public class DefaultLogicDeleteProcessor extends AbstractLogicDeleteProcessor {
|
|||||||
public void buildQueryCondition(QueryWrapper queryWrapper, TableInfo tableInfo) {
|
public void buildQueryCondition(QueryWrapper queryWrapper, TableInfo tableInfo) {
|
||||||
queryWrapper.where(QueryCondition.create(tableInfo.getSchema(), tableInfo.getTableName(), tableInfo.getLogicDeleteColumn()
|
queryWrapper.where(QueryCondition.create(tableInfo.getSchema(), tableInfo.getTableName(), tableInfo.getLogicDeleteColumn()
|
||||||
, EQUALS
|
, EQUALS
|
||||||
, prepareValue(getLogicNormalValue())));
|
, getLogicNormalValue()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user