Commit 87e4264f authored by yanzg's avatar yanzg

压缩视频

parent 9535b246
...@@ -333,7 +333,18 @@ public class SqlData { ...@@ -333,7 +333,18 @@ public class SqlData {
* @return * @return
*/ */
public SqlData removeField(String fieldName) { public SqlData removeField(String fieldName) {
SqlDataField field = this.getField(fieldName); SqlCondDefault cond = new SqlCondDefault(fieldName);
return this.removeField(cond);
}
/**
* 删除字段
*
* @param sqlCond 条件信息
* @return
*/
public SqlData removeField(SqlCond sqlCond) {
SqlDataField field = this.getField(sqlCond);
if (field != null) { if (field != null) {
this.sqlDataFields.remove(field); this.sqlDataFields.remove(field);
} }
......
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