Commit bb4289e1 authored by Quxl's avatar Quxl

xx

parent 2b85ed6b
package com.egolm.film.util;
import java.util.ArrayList;
import java.util.List;
import com.egolm.common.StringUtil;
......@@ -9,6 +10,11 @@ public class SqlWhere {
private List<String> args;
private List<Object> objs;
public SqlWhere() {
this.args = new ArrayList<String>();
this.objs = new ArrayList<Object>();
}
public SqlWhere eq(String name, Object obj) {
if(StringUtil.isNotBlank(obj)) {
this.args.add(name + " = ?");
......
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