Commit 9c1eec54 authored by yanzg's avatar yanzg

压缩视频

parent 1c0a19fa
......@@ -103,7 +103,7 @@ public abstract class SqlCondBase implements SqlCond {
break;
}
case COND_TYPE_CODE_COND: {
String fieldName = this.fields.get(0);
String fieldName = this.fields.isEmpty() ? StringHelper.EMPTY : this.fields.get(0);
// 判断代码片段是否合法
if (sqlDataField.getCodes().size() % 2 == 1) {
throw new CodeException("代码片段" + this.getClass().getSimpleName() + ":" + sqlData.getName() + ":" + fieldName + "为单数");
......
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