Commit 8c810bf4 authored by yanzg's avatar yanzg

接口文档的支持

parent a8b9be0a
......@@ -236,6 +236,17 @@ public class TableStruct {
return getFieldActionList(DaoConst.FIELD_COMMON);
}
/**
* 获取统计纬度列
*
* @return 获取统计纬度列
*/
public List<TableFieldVo> getGroupLatitudeFields() {
List<TableFieldVo> commonField = getFieldActionList(DaoConst.FIELD_COMMON,
DaoConst.FIELD_ADD_GROUP, DaoConst.FIELD_MD5);
return commonField;
}
/**
* 获取表名
*
......@@ -383,9 +394,7 @@ public class TableStruct {
if (addGroupField == null || addGroupField.isEmpty()) {
return;
}
List<TableFieldVo> commonField = getFieldActionList(DaoConst.FIELD_COMMON,
DaoConst.FIELD_ADD_GROUP, DaoConst.FIELD_MD5,
DaoConst.FIELD_REMOVE, DaoConst.FIELD_REMOVE_UPDATE, DaoConst.FIELD_CREATE);
List<TableFieldVo> commonField = this.getGroupLatitudeFields();
this.addGroupSql(table, commonField, addGroupField);
}
......
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