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 { ...@@ -51,7 +51,7 @@ public class InvoiceRuleSetting {
} }
@Basic @Basic
@Column(name = "IS_TO_APPLY_HEAD_COMPANY_SETTING", nullable = false) @Column(name = "IS_APPLY_HEAD_COMPANY_SETTING", nullable = false)
public boolean getIsToApplyHeadCompanySetting() { public boolean getIsToApplyHeadCompanySetting() {
return isToApplyHeadCompanySetting; return isToApplyHeadCompanySetting;
} }
...@@ -81,7 +81,7 @@ public class InvoiceRuleSetting { ...@@ -81,7 +81,7 @@ public class InvoiceRuleSetting {
} }
@Basic @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) @ColumnDefault(DEF_DEFAULT_BIG_DECIMAL)
public BigDecimal getSpecialInvoiceUpperLimitAmount() { public BigDecimal getSpecialInvoiceUpperLimitAmount() {
return specialInvoiceUpperLimitAmount; return specialInvoiceUpperLimitAmount;
...@@ -92,7 +92,7 @@ public class InvoiceRuleSetting { ...@@ -92,7 +92,7 @@ public class InvoiceRuleSetting {
} }
@Basic @Basic
@Column(name = "SPECIAL_INVOICE_SPLIT_UPPER_LIMIT", nullable = false) @Column(name = "SPECIAL_SPLIT_UPPER_LIMIT", nullable = false)
public boolean getSpecialInvoiceSplitUpperLimit() { public boolean getSpecialInvoiceSplitUpperLimit() {
return specialInvoiceSplitUpperLimit; return specialInvoiceSplitUpperLimit;
} }
...@@ -102,7 +102,7 @@ public class InvoiceRuleSetting { ...@@ -102,7 +102,7 @@ public class InvoiceRuleSetting {
} }
@Basic @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) @ColumnDefault(DEF_DEFAULT_BIG_DECIMAL)
public BigDecimal getNormalInvoiceUpperLimitAmount() { public BigDecimal getNormalInvoiceUpperLimitAmount() {
return normalInvoiceUpperLimitAmount; return normalInvoiceUpperLimitAmount;
...@@ -113,7 +113,7 @@ public class InvoiceRuleSetting { ...@@ -113,7 +113,7 @@ public class InvoiceRuleSetting {
} }
@Basic @Basic
@Column(name = "NORMAL_INVOICE_SPLIT_UPPER_LIMIT", nullable = false) @Column(name = "NORMAL_SPLIT_UPPER_LIMIT", nullable = false)
public boolean getNormalInvoiceSplitUpperLimit() { public boolean getNormalInvoiceSplitUpperLimit() {
return normalInvoiceSplitUpperLimit; return normalInvoiceSplitUpperLimit;
} }
......
...@@ -43,7 +43,7 @@ public class InvoiceRuleSortSetting { ...@@ -43,7 +43,7 @@ public class InvoiceRuleSortSetting {
} }
@Basic @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) @ColumnDefault(DEF_DEFAULT_STRING)
public String getDictionaryInvoiceSortFieldId() { public String getDictionaryInvoiceSortFieldId() {
return dictionaryInvoiceSortFieldId; return dictionaryInvoiceSortFieldId;
......
...@@ -13,7 +13,7 @@ import java.util.Objects; ...@@ -13,7 +13,7 @@ import java.util.Objects;
import static pwc.taxtech.Const.*; import static pwc.taxtech.Const.*;
@Entity @Entity
@Table(name = "OPERATION_LOG_MODEL_CONFIGURATION", schema = PROJECT_ADMIN, catalog = "") @Table(name = "OPTLOG_MODEL_CONFIGURATION", schema = PROJECT_ADMIN, catalog = "")
public class OperationLogModelConfiguration { public class OperationLogModelConfiguration {
private String id; private String id;
private String operationContent; private String operationContent;
......
...@@ -375,7 +375,7 @@ public class OutputInvoiceEdited { ...@@ -375,7 +375,7 @@ public class OutputInvoiceEdited {
} }
@Basic @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() { public Date getReservationTermsAcceptedDate() {
return reservationTermsAcceptedDate; return reservationTermsAcceptedDate;
} }
......
...@@ -43,7 +43,7 @@ public class OutputInvoiceEditedReason { ...@@ -43,7 +43,7 @@ public class OutputInvoiceEditedReason {
} }
@Basic @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) @ColumnDefault(DEF_DEFAULT_STRING)
public String getOutputInvoiceUpdateReasonId() { public String getOutputInvoiceUpdateReasonId() {
return outputInvoiceUpdateReasonId; return outputInvoiceUpdateReasonId;
......
...@@ -223,7 +223,7 @@ public class OutputInvoiceGdIssued { ...@@ -223,7 +223,7 @@ public class OutputInvoiceGdIssued {
} }
@Basic @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() { public String getBuyerOrganizationEnglishName() {
return buyerOrganizationEnglishName; return buyerOrganizationEnglishName;
} }
......
...@@ -391,7 +391,7 @@ public class OutputInvoiceImported { ...@@ -391,7 +391,7 @@ public class OutputInvoiceImported {
} }
@Basic @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() { public Date getReservationTermsAcceptedDate() {
return reservationTermsAcceptedDate; return reservationTermsAcceptedDate;
} }
......
...@@ -43,7 +43,7 @@ public class OutputInvoicePrintedReason { ...@@ -43,7 +43,7 @@ public class OutputInvoicePrintedReason {
} }
@Basic @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) @ColumnDefault(DEF_DEFAULT_STRING)
public String getOutputInvoiceUpdateReasonId() { public String getOutputInvoiceUpdateReasonId() {
return outputInvoiceUpdateReasonId; return outputInvoiceUpdateReasonId;
......
...@@ -13,7 +13,7 @@ import java.util.Objects; ...@@ -13,7 +13,7 @@ import java.util.Objects;
import static pwc.taxtech.Const.*; import static pwc.taxtech.Const.*;
@Entity @Entity
@Table(name = "OUTPUT_INVOICE_SHIPMENT_HISTORY", schema = PROJECT_ADMIN, catalog = "") @Table(name = "OUTINV_SHIPMENT_HISTORY", schema = PROJECT_ADMIN, catalog = "")
public class OutputInvoiceShipmentHistory { public class OutputInvoiceShipmentHistory {
private String id; private String id;
private String createBy; private String createBy;
......
...@@ -13,7 +13,7 @@ import java.util.Objects; ...@@ -13,7 +13,7 @@ import java.util.Objects;
import static pwc.taxtech.Const.*; import static pwc.taxtech.Const.*;
@Entity @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 { public class OutputInvoiceTriggerSyncHist {
private String id; private String id;
private String createBy; private String createBy;
......
...@@ -35,7 +35,7 @@ public class OutputReconciliationMapping { ...@@ -35,7 +35,7 @@ public class OutputReconciliationMapping {
} }
@Basic @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) @ColumnDefault(DEF_DEFAULT_STRING)
public String getOutputReconciliationConfigID() { public String getOutputReconciliationConfigID() {
return outputReconciliationConfigID; return outputReconciliationConfigID;
......
...@@ -10,7 +10,7 @@ import java.util.Objects; ...@@ -10,7 +10,7 @@ import java.util.Objects;
import static pwc.taxtech.Const.PROJECT_ADMIN; import static pwc.taxtech.Const.PROJECT_ADMIN;
@Entity @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 { public class WorkflowAuditReportLevelRole {
private String id; private String id;
private String workflowAuditReportLevelId; private String workflowAuditReportLevelId;
......
...@@ -10,7 +10,7 @@ import java.util.Objects; ...@@ -10,7 +10,7 @@ import java.util.Objects;
import static pwc.taxtech.Const.PROJECT_ADMIN; import static pwc.taxtech.Const.PROJECT_ADMIN;
@Entity @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 { public class WorkflowAuditReportLevelUser {
private String id; private String id;
private String workflowReportAuditLevelId; private String workflowReportAuditLevelId;
......
...@@ -234,7 +234,7 @@ public class AssetsList { ...@@ -234,7 +234,7 @@ public class AssetsList {
} }
@Basic @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) @ColumnDefault(DEF_DEFAULT_BIG_DECIMAL)
public BigDecimal getAccountMonthDepreciationAmount() { public BigDecimal getAccountMonthDepreciationAmount() {
return accountMonthDepreciationAmount; return accountMonthDepreciationAmount;
...@@ -245,7 +245,7 @@ public class AssetsList { ...@@ -245,7 +245,7 @@ public class AssetsList {
} }
@Basic @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) @ColumnDefault(DEF_DEFAULT_BIG_DECIMAL)
public BigDecimal getAccountYearDepreciationAmount() { public BigDecimal getAccountYearDepreciationAmount() {
return accountYearDepreciationAmount; return accountYearDepreciationAmount;
...@@ -256,7 +256,7 @@ public class AssetsList { ...@@ -256,7 +256,7 @@ public class AssetsList {
} }
@Basic @Basic
@Column(name = "ACCOUNT_TOTALEPRECIATION_AMOUNT", nullable = true, precision = 4) @Column(name = "TOTALEPRECIATION_AMOUNT", nullable = true, precision = 4)
@ColumnDefault(DEF_DEFAULT_BIG_DECIMAL) @ColumnDefault(DEF_DEFAULT_BIG_DECIMAL)
public BigDecimal getAccountTotalepreciationAmount() { public BigDecimal getAccountTotalepreciationAmount() {
return accountTotalepreciationAmount; return accountTotalepreciationAmount;
......
...@@ -3,6 +3,11 @@ organization_service_template_group -> org_service_template_group ...@@ -3,6 +3,11 @@ organization_service_template_group -> org_service_template_group
OutputInvoiceTriggerSyncHistory -> OutputInvoiceTriggerSyncHist OutputInvoiceTriggerSyncHistory -> OutputInvoiceTriggerSyncHist
OutputReconciliationConfiguration -> OutputReconciliationConfig OutputReconciliationConfiguration -> OutputReconciliationConfig
OutputReconciliationEntityMapping -> OutputReconciliationMapping 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. InvoiceRuleSetting.
IsToSupportInvoiceOutForOtherOrgs ->IsInvoiceOutForOtherOrgs IsToSupportInvoiceOutForOtherOrgs ->IsInvoiceOutForOtherOrgs
...@@ -14,6 +19,34 @@ OutputInvoiceImported. ...@@ -14,6 +19,34 @@ OutputInvoiceImported.
SubtotalforFinalPaymentSpecified -> SubforFinalPaymentSpecified SubtotalforFinalPaymentSpecified -> SubforFinalPaymentSpecified
OutputReconciliationEntityMapping. OutputReconciliationEntityMapping.
OutputReconciliationConfigurationID -> OutputReconciliationConfigID 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 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