Commit 3a199433 authored by yanzg's avatar yanzg

压缩视频

parent 0bc772ac
package com.yanzuoguang.dao.cond; package com.yanzuoguang.dao.cond;
import com.yanzuoguang.dao.impl.SqlDataField; import com.yanzuoguang.dao.impl.SqlDataField;
import com.yanzuoguang.dao.impl.TableFieldString;
import com.yanzuoguang.util.base.ObjectHelper; import com.yanzuoguang.util.base.ObjectHelper;
import com.yanzuoguang.util.helper.ArrayHelper; import com.yanzuoguang.util.helper.ArrayHelper;
import com.yanzuoguang.util.helper.StringHelper; import com.yanzuoguang.util.helper.StringHelper;
...@@ -23,11 +24,14 @@ public class SqlCondEquals extends SqlCondBase<SqlCondEquals> { ...@@ -23,11 +24,14 @@ public class SqlCondEquals extends SqlCondBase<SqlCondEquals> {
private Map<Object, Boolean> mapValue = new HashMap<>(); private Map<Object, Boolean> mapValue = new HashMap<>();
public SqlCondEquals(String field, Object... vals) { public SqlCondEquals(String field, Object... vals) {
this(Arrays.asList(field), vals); this(Arrays.asList(field), vals);
} }
public SqlCondEquals(TableFieldString field, Object... vals) {
this(field.getFields(), vals);
}
public SqlCondEquals(List<String> fields, Object... vals) { public SqlCondEquals(List<String> fields, Object... vals) {
super(fields); super(fields);
this.vals = vals; this.vals = vals;
......
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