package cn.autoform.util.tool;
|
|
public interface ColumnConst {
|
|
String CREATEUSER = "CREATEUSER";
|
|
String CREATEDATETIME = "CREATEDATETIME";
|
|
String CREATEDATETIME_SQL = "DATE_FORMAT(CREATEDATETIME,'%Y-%m-%d %H:%i:%s')";
|
|
String FORM_CREATEDATETIME_SQL = "DATE_FORMAT(%s.CREATEDATETIME,'%%Y-%%m-%%d %%H:%%i:%%s')";
|
|
default String getFormCreateDateTime(String formId){
|
return String.format(FORM_CREATEDATETIME_SQL, formId);
|
}
|
|
String PROCESS_STATE = "processState";
|
|
String PROCESS_FLAG = "processFlag";
|
|
String SOLIDIFICATION = "solidification";
|
|
String TAGATTRIBUTE = "tag_Attribute";
|
|
String ALIAS = "alias";
|
|
String DATAROWNUM = "DATAROWNUM";
|
|
default String getColumn(String formId, String column){
|
return formId + "." + column;
|
}
|
|
}
|