容易忘得笔记
1、这是vo查询条件
like("customerCode","customerCode",customerCode);
if (name != null && !name.trim().equals("")) {
customQl(" and (abbreviation like '%" + name +"%' or name like '%" + name + "%')");
}
notEq("isDelete", "isDelete", Integer.valueOf(10));
if(StringUtil.isNotEmpty(customerType)){
eq("customerType", "customerType",CustomerType.valueOf(customerType));//这里是枚举的求值
}
like("customerSource", "customerSource",customerSource );