Commit 3eaf2dd2 authored by yanzg's avatar yanzg

接口文档的支持

parent 9c6c8a57
......@@ -134,7 +134,7 @@ public class DaoConst {
/**
* 等于条件参数
*/
public static final String CODE_WHERE_EQUALS_NOT_EMPTY_PARA = "AND a.%s=? AND a.%s>''";
public static final String CODE_WHERE_EQUALS_NOT_EMPTY_PARA = "AND a.%s=? AND ?>'' ";
/**
* 未删除条件
*/
......
......@@ -668,7 +668,7 @@ public class TableStruct {
for (String fieldName : fields) {
TableFieldVo field = this.getField(fieldName);
sql.addConst(field.inputName,
String.format(DaoConst.CODE_WHERE_EQUALS_NOT_EMPTY_PARA, field.name, field.name)
String.format(DaoConst.CODE_WHERE_EQUALS_NOT_EMPTY_PARA, field.name)
);
}
addWhereRemove(sql);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment