Commit 1e162c01 authored by neo's avatar neo

[dev] reduce cloumn name and table name is too long for oracle

parent 6c0cde7f
......@@ -51,7 +51,7 @@ public class InvoiceRuleSetting {
}
@Basic
@Column(name = "IS_TO_APPLY_HEAD_COMPANY_SETTING", nullable = false)
@Column(name = "IS_APPLY_HEAD_COMPANY_SETTING", nullable = false)
public boolean getIsToApplyHeadCompanySetting() {
return isToApplyHeadCompanySetting;
}
......@@ -81,7 +81,7 @@ public class InvoiceRuleSetting {
}
@Basic
@Column(name = "SPECIAL_INVOICE_UPPER_LIMIT_AMOUNT", nullable = false, precision = 4)
@Column(name = "SPECIAL_UPPER_LIMIT_AMOUNT", nullable = false, precision = 4)
@ColumnDefault(DEF_DEFAULT_BIG_DECIMAL)
public BigDecimal getSpecialInvoiceUpperLimitAmount() {
return specialInvoiceUpperLimitAmount;
......@@ -92,7 +92,7 @@ public class InvoiceRuleSetting {
}
@Basic
@Column(name = "SPECIAL_INVOICE_SPLIT_UPPER_LIMIT", nullable = false)
@Column(name = "SPECIAL_SPLIT_UPPER_LIMIT", nullable = false)
public boolean getSpecialInvoiceSplitUpperLimit() {
return specialInvoiceSplitUpperLimit;
}
......@@ -102,7 +102,7 @@ public class InvoiceRuleSetting {
}
@Basic
@Column(name = "NORMAL_INVOICE_UPPER_LIMIT_AMOUNT", nullable = false, precision = 4)
@Column(name = "NORMAL_UPPER_LIMIT_AMOUNT", nullable = false, precision = 4)
@ColumnDefault(DEF_DEFAULT_BIG_DECIMAL)
public BigDecimal getNormalInvoiceUpperLimitAmount() {
return normalInvoiceUpperLimitAmount;
......@@ -113,7 +113,7 @@ public class InvoiceRuleSetting {
}
@Basic
@Column(name = "NORMAL_INVOICE_SPLIT_UPPER_LIMIT", nullable = false)
@Column(name = "NORMAL_SPLIT_UPPER_LIMIT", nullable = false)
public boolean getNormalInvoiceSplitUpperLimit() {
return normalInvoiceSplitUpperLimit;
}
......
......@@ -43,7 +43,7 @@ public class InvoiceRuleSortSetting {
}
@Basic
@Column(name = "DICTIONARY_INVOICE_SORT_FIELD_ID", nullable = false, length = 128)
@Column(name = "DICT_INVOICE_SORT_FIELD_ID", nullable = false, length = 128)
@ColumnDefault(DEF_DEFAULT_STRING)
public String getDictionaryInvoiceSortFieldId() {
return dictionaryInvoiceSortFieldId;
......
......@@ -13,7 +13,7 @@ import java.util.Objects;
import static pwc.taxtech.Const.*;
@Entity
@Table(name = "OPERATION_LOG_MODEL_CONFIGURATION", schema = PROJECT_ADMIN, catalog = "")
@Table(name = "OPTLOG_MODEL_CONFIGURATION", schema = PROJECT_ADMIN, catalog = "")
public class OperationLogModelConfiguration {
private String id;
private String operationContent;
......
......@@ -375,7 +375,7 @@ public class OutputInvoiceEdited {
}
@Basic
@Column(name = "RESERVATION_TERMS_ACCEPTED_DATE", nullable = true, columnDefinition = DEF_DEFAULT_DATE)
@Column(name = "RESERVATION_ACCEPTED_DATE", nullable = true, columnDefinition = DEF_DEFAULT_DATE)
public Date getReservationTermsAcceptedDate() {
return reservationTermsAcceptedDate;
}
......
......@@ -43,7 +43,7 @@ public class OutputInvoiceEditedReason {
}
@Basic
@Column(name = "OUTPUT_INVOICE_UPDATE_REASON_ID", nullable = true, length = 128)
@Column(name = "OUTINV_UPDATE_REASON_ID", nullable = true, length = 128)
@ColumnDefault(DEF_DEFAULT_STRING)
public String getOutputInvoiceUpdateReasonId() {
return outputInvoiceUpdateReasonId;
......
......@@ -223,7 +223,7 @@ public class OutputInvoiceGdIssued {
}
@Basic
@Column(name = "BUYER_ORGANIZATION_ENGLISH_NAME", nullable = true, columnDefinition = DEF_BIG_STRING)
@Column(name = "BUYER_ORG_ENGLISH_NAME", nullable = true, columnDefinition = DEF_BIG_STRING)
public String getBuyerOrganizationEnglishName() {
return buyerOrganizationEnglishName;
}
......
......@@ -391,7 +391,7 @@ public class OutputInvoiceImported {
}
@Basic
@Column(name = "RESERVATION_TERMS_ACCEPTED_DATE", nullable = true, columnDefinition = DEF_DEFAULT_DATE)
@Column(name = "RESERVATION_ACCEPTED_DATE", nullable = true, columnDefinition = DEF_DEFAULT_DATE)
public Date getReservationTermsAcceptedDate() {
return reservationTermsAcceptedDate;
}
......
......@@ -43,7 +43,7 @@ public class OutputInvoicePrintedReason {
}
@Basic
@Column(name = "OUTPUT_INVOICE_UPDATE_REASON_ID", nullable = false, length = 128)
@Column(name = "OUTINV_UPDATE_REASON_ID", nullable = false, length = 128)
@ColumnDefault(DEF_DEFAULT_STRING)
public String getOutputInvoiceUpdateReasonId() {
return outputInvoiceUpdateReasonId;
......
......@@ -13,7 +13,7 @@ import java.util.Objects;
import static pwc.taxtech.Const.*;
@Entity
@Table(name = "OUTPUT_INVOICE_SHIPMENT_HISTORY", schema = PROJECT_ADMIN, catalog = "")
@Table(name = "OUTINV_SHIPMENT_HISTORY", schema = PROJECT_ADMIN, catalog = "")
public class OutputInvoiceShipmentHistory {
private String id;
private String createBy;
......
......@@ -13,7 +13,7 @@ import java.util.Objects;
import static pwc.taxtech.Const.*;
@Entity
@Table(name = "OUTPUT_INVOICE_TRIGGER_SYNC_HIST", schema = PROJECT_ADMIN, catalog = "")
@Table(name = "OUTINV_TRIGGER_SYNC_HIST", schema = PROJECT_ADMIN, catalog = "")
public class OutputInvoiceTriggerSyncHist {
private String id;
private String createBy;
......
......@@ -35,7 +35,7 @@ public class OutputReconciliationMapping {
}
@Basic
@Column(name = "OUTPUT_RECONCILIATION_CONFIG_ID", nullable = false, length = 128)
@Column(name = "OUT_RECONCILIATION_CONFIG_ID", nullable = false, length = 128)
@ColumnDefault(DEF_DEFAULT_STRING)
public String getOutputReconciliationConfigID() {
return outputReconciliationConfigID;
......
......@@ -10,7 +10,7 @@ import java.util.Objects;
import static pwc.taxtech.Const.PROJECT_ADMIN;
@Entity
@Table(name = "WORKFLOW_AUDIT_REPORT_LEVEL_ROLE", schema = PROJECT_ADMIN, catalog = "")
@Table(name = "WF_AUDIT_REPORT_LEVEL_ROLE", schema = PROJECT_ADMIN, catalog = "")
public class WorkflowAuditReportLevelRole {
private String id;
private String workflowAuditReportLevelId;
......
......@@ -10,7 +10,7 @@ import java.util.Objects;
import static pwc.taxtech.Const.PROJECT_ADMIN;
@Entity
@Table(name = "WORKFLOW_AUDIT_REPORT_LEVEL_USER", schema = PROJECT_ADMIN, catalog = "")
@Table(name = "WF_AUDIT_REPORT_LEVEL_USER", schema = PROJECT_ADMIN, catalog = "")
public class WorkflowAuditReportLevelUser {
private String id;
private String workflowReportAuditLevelId;
......
......@@ -234,7 +234,7 @@ public class AssetsList {
}
@Basic
@Column(name = "ACCOUNT_MONTH_DEPRECIATION_AMOUNT", nullable = true, precision = 4)
@Column(name = "MONTH_DEPRECIATION_AMOUNT", nullable = true, precision = 4)
@ColumnDefault(DEF_DEFAULT_BIG_DECIMAL)
public BigDecimal getAccountMonthDepreciationAmount() {
return accountMonthDepreciationAmount;
......@@ -245,7 +245,7 @@ public class AssetsList {
}
@Basic
@Column(name = "ACCOUNT_YEAR_DEPRECIATION_AMOUNT", nullable = true, precision = 4)
@Column(name = "AYEAR_DEPRECIATION_AMOUNT", nullable = true, precision = 4)
@ColumnDefault(DEF_DEFAULT_BIG_DECIMAL)
public BigDecimal getAccountYearDepreciationAmount() {
return accountYearDepreciationAmount;
......@@ -256,7 +256,7 @@ public class AssetsList {
}
@Basic
@Column(name = "ACCOUNT_TOTALEPRECIATION_AMOUNT", nullable = true, precision = 4)
@Column(name = "TOTALEPRECIATION_AMOUNT", nullable = true, precision = 4)
@ColumnDefault(DEF_DEFAULT_BIG_DECIMAL)
public BigDecimal getAccountTotalepreciationAmount() {
return accountTotalepreciationAmount;
......
......@@ -3,6 +3,11 @@ organization_service_template_group -> org_service_template_group
OutputInvoiceTriggerSyncHistory -> OutputInvoiceTriggerSyncHist
OutputReconciliationConfiguration -> OutputReconciliationConfig
OutputReconciliationEntityMapping -> OutputReconciliationMapping
OPERATION_LOG_MODEL_CONFIGURATION->OPTLOG_MODEL_CONFIGURATION
OUTPUT_INVOICE_SHIPMENT_HISTORY->OUTINV_SHIPMENT_HISTORY
OUTPUT_INVOICE_TRIGGER_SYNC_HIST->OUTINV_TRIGGER_SYNC_HIST
WORKFLOW_AUDIT_REPORT_LEVEL_ROLE->WF_AUDIT_REPORT_LEVEL_ROLE
WORKFLOW_AUDIT_REPORT_LEVEL_USER->WF_AUDIT_REPORT_LEVEL_USER
字段超长
InvoiceRuleSetting.
IsToSupportInvoiceOutForOtherOrgs ->IsInvoiceOutForOtherOrgs
......@@ -14,6 +19,34 @@ OutputInvoiceImported.
SubtotalforFinalPaymentSpecified -> SubforFinalPaymentSpecified
OutputReconciliationEntityMapping.
OutputReconciliationConfigurationID -> OutputReconciliationConfigID
ASSETS_LIST.
ACCOUNT_MONTH_DEPRECIATION_AMOUNT ->MONTH_DEPRECIATION_AMOUNT
ACCOUNT_TOTALEPRECIATION_AMOUNT -> TOTALEPRECIATION_AMOUNT
ACCOUNT_YEAR_DEPRECIATION_AMOUNT->AYEAR_DEPRECIATION_AMOUNT
INVOICE_RULE_SETTING.
IS_TO_APPLY_HEAD_COMPANY_SETTING->IS_APPLY_HEAD_COMPANY_SETTING
NORMAL_INVOICE_SPLIT_UPPER_LIMIT->NORMAL_SPLIT_UPPER_LIMIT
NORMAL_INVOICE_UPPER_LIMIT_AMOUNT->INVOICE_UPPER_LIMIT_AMOUNT
SPECIAL_INVOICE_SPLIT_UPPER_LIMIT -> SPECIAL_SPLIT_UPPER_LIMIT
SPECIAL_INVOICE_UPPER_LIMIT_AMOUNT->SPECIAL_UPPER_LIMIT_AMOUNT
INVOICE_RULE_SORT_SETTING.
DICTIONARY_INVOICE_SORT_FIELD_ID->DICT_INVOICE_SORT_FIELD_ID
OUTPUT_INVOICE_EDITED.
RESERVATION_TERMS_ACCEPTED_DATE->RESERVATION_ACCEPTED_DATE
OUTPUT_INVOICE_EDITED_REASON.
OUTPUT_INVOICE_UPDATE_REASON_ID->OUTINV_UPDATE_REASON_ID
OUTPUT_INVOICE_GD_ISSUED.
BUYER_ORGANIZATION_ENGLISH_NAME->BUYER_ORG_ENGLISH_NAME
OUTPUT_INVOICE_IMPORTED.
RESERVATION_TERMS_ACCEPTED_DATE->RESERVATION_ACCEPTED_DATE
OUTPUT_INVOICE_PRINTED_REASON.
OUTPUT_INVOICE_UPDATE_REASON_ID->OUTINV_UPDATE_REASON_ID
OUTPUT_RECONCILIATION_MAPPING.
OUTPUT_RECONCILIATION_CONFIG_ID->OUT_RECONCILIATION_CONFIG_ID
=======================================================
project
......
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