fix: 查询数据时多加单引号问题。

This commit is contained in:
Suomm 2023-07-30 20:59:14 +08:00
parent f1a2ab3a02
commit b055cd0f7b

View File

@ -44,7 +44,7 @@ public class DefaultLogicDeleteProcessor extends AbstractLogicDeleteProcessor {
public void buildQueryCondition(QueryWrapper queryWrapper, TableInfo tableInfo) {
queryWrapper.where(QueryCondition.create(tableInfo.getSchema(), tableInfo.getTableName(), tableInfo.getLogicDeleteColumn()
, EQUALS
, prepareValue(getLogicNormalValue())));
, getLogicNormalValue()));
}
@Override