Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
a1f0815c
Commit
a1f0815c
authored
Sep 12, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[dev] drop vat unused jpa entity
parent
4d2e188e
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
60 additions
and
11 deletions
+60
-11
hibernate.cfg.xml
atms-gen/config/hibernate.cfg.xml
+3
-3
OrganizationServiceTemplateGroup.java
...taxtech/atms/entity/OrganizationServiceTemplateGroup.java
+2
-2
EnterpriseAccountRepository.java
...tech/atms/vat/repository/EnterpriseAccountRepository.java
+2
-1
OperationLogRepository.java
...c/taxtech/atms/vat/repository/OperationLogRepository.java
+2
-1
StandardAccountRepository.java
...axtech/atms/vat/repository/StandardAccountRepository.java
+2
-1
EnterpriseAccount.java
...src/main/java/pwc/taxtech/drop/vat/EnterpriseAccount.java
+1
-1
OperationLog.java
...-gen/src/main/java/pwc/taxtech/drop/vat/OperationLog.java
+1
-1
StandardAccount.java
...n/src/main/java/pwc/taxtech/drop/vat/StandardAccount.java
+1
-1
databases-invalid-sql
atms-gen/src/test/java/resources/databases-invalid-sql
+46
-0
No files found.
atms-gen/config/hibernate.cfg.xml
View file @
a1f0815c
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<mapping
class=
"pwc.taxtech.atms.vat.entity.CustBalanceStd"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.CustBalanceStd"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.CustBalanceStdManual"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.CustBalanceStdManual"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.CustomsInvoice"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.CustomsInvoice"
/>
<mapping
class=
"pwc.taxtech.
atms.vat.entity
.EnterpriseAccount"
/>
<mapping
class=
"pwc.taxtech.
drop.vat
.EnterpriseAccount"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.EntriesCheckDetailResult"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.EntriesCheckDetailResult"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.EntriesCheckResult"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.EntriesCheckResult"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.FormulaCache"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.FormulaCache"
/>
...
@@ -35,11 +35,11 @@
...
@@ -35,11 +35,11 @@
<mapping
class=
"pwc.taxtech.atms.vat.entity.ModelCategoryResult"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.ModelCategoryResult"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.ModelDetailLog"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.ModelDetailLog"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.ModelLog"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.ModelLog"
/>
<mapping
class=
"pwc.taxtech.
atms.vat.entity
.OperationLog"
/>
<mapping
class=
"pwc.taxtech.
drop.vat
.OperationLog"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.OutputVatInvoice"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.OutputVatInvoice"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.OutputVatInvoiceItem"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.OutputVatInvoiceItem"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.PeriodCellReference"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.PeriodCellReference"
/>
<mapping
class=
"pwc.taxtech.
atms.vat.entity
.StandardAccount"
/>
<mapping
class=
"pwc.taxtech.
drop.vat
.StandardAccount"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.ValidationInfo"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.ValidationInfo"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.Voucher"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.Voucher"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.VoucherMain"
/>
<mapping
class=
"pwc.taxtech.atms.vat.entity.VoucherMain"
/>
...
...
atms-gen/src/main/java/pwc/taxtech/atms/entity/OrgServiceTemplateGroup.java
→
atms-gen/src/main/java/pwc/taxtech/atms/entity/Org
anization
ServiceTemplateGroup.java
View file @
a1f0815c
...
@@ -13,7 +13,7 @@ import static pwc.taxtech.Const.*;
...
@@ -13,7 +13,7 @@ import static pwc.taxtech.Const.*;
@Entity
@Entity
@Table
(
name
=
"ORG_SERVICE_TEMPLATE_GROUP"
,
schema
=
PROJECT_ADMIN
,
catalog
=
""
)
@Table
(
name
=
"ORG_SERVICE_TEMPLATE_GROUP"
,
schema
=
PROJECT_ADMIN
,
catalog
=
""
)
public
class
OrgServiceTemplateGroup
{
public
class
Org
anization
ServiceTemplateGroup
{
private
Long
id
;
private
Long
id
;
private
String
organizationId
;
private
String
organizationId
;
private
String
serviceTypeId
;
private
String
serviceTypeId
;
...
@@ -66,7 +66,7 @@ public class OrgServiceTemplateGroup {
...
@@ -66,7 +66,7 @@ public class OrgServiceTemplateGroup {
public
boolean
equals
(
Object
o
)
{
public
boolean
equals
(
Object
o
)
{
if
(
this
==
o
)
return
true
;
if
(
this
==
o
)
return
true
;
if
(
o
==
null
||
getClass
()
!=
o
.
getClass
())
return
false
;
if
(
o
==
null
||
getClass
()
!=
o
.
getClass
())
return
false
;
Org
ServiceTemplateGroup
that
=
(
Org
ServiceTemplateGroup
)
o
;
Org
anizationServiceTemplateGroup
that
=
(
Organization
ServiceTemplateGroup
)
o
;
return
id
==
that
.
id
&&
return
id
==
that
.
id
&&
templateGroupId
==
that
.
templateGroupId
&&
templateGroupId
==
that
.
templateGroupId
&&
Objects
.
equals
(
organizationId
,
that
.
organizationId
)
&&
Objects
.
equals
(
organizationId
,
that
.
organizationId
)
&&
...
...
atms-gen/src/main/java/pwc/taxtech/atms/vat/repository/EnterpriseAccountRepository.java
View file @
a1f0815c
package
pwc
.
taxtech
.
atms
.
vat
.
repository
;
package
pwc
.
taxtech
.
atms
.
vat
.
repository
;
import
org.springframework.data.repository.CrudRepository
;
import
org.springframework.data.repository.CrudRepository
;
import
pwc.taxtech.
atms.vat.entity
.EnterpriseAccount
;
import
pwc.taxtech.
drop.vat
.EnterpriseAccount
;
public
interface
EnterpriseAccountRepository
extends
CrudRepository
<
EnterpriseAccount
,
String
>
{
public
interface
EnterpriseAccountRepository
extends
CrudRepository
<
EnterpriseAccount
,
String
>
{
}
}
\ No newline at end of file
atms-gen/src/main/java/pwc/taxtech/atms/vat/repository/OperationLogRepository.java
View file @
a1f0815c
package
pwc
.
taxtech
.
atms
.
vat
.
repository
;
package
pwc
.
taxtech
.
atms
.
vat
.
repository
;
import
org.springframework.data.repository.CrudRepository
;
import
org.springframework.data.repository.CrudRepository
;
import
pwc.taxtech.
atms.vat.entity
.OperationLog
;
import
pwc.taxtech.
drop.vat
.OperationLog
;
public
interface
OperationLogRepository
extends
CrudRepository
<
OperationLog
,
String
>
{
public
interface
OperationLogRepository
extends
CrudRepository
<
OperationLog
,
String
>
{
}
}
\ No newline at end of file
atms-gen/src/main/java/pwc/taxtech/atms/vat/repository/StandardAccountRepository.java
View file @
a1f0815c
package
pwc
.
taxtech
.
atms
.
vat
.
repository
;
package
pwc
.
taxtech
.
atms
.
vat
.
repository
;
import
org.springframework.data.repository.CrudRepository
;
import
org.springframework.data.repository.CrudRepository
;
import
pwc.taxtech.
atms.vat.entity
.StandardAccount
;
import
pwc.taxtech.
drop.vat
.StandardAccount
;
public
interface
StandardAccountRepository
extends
CrudRepository
<
StandardAccount
,
String
>
{
public
interface
StandardAccountRepository
extends
CrudRepository
<
StandardAccount
,
String
>
{
}
}
\ No newline at end of file
atms-gen/src/main/java/pwc/taxtech/
atms/vat/entity
/EnterpriseAccount.java
→
atms-gen/src/main/java/pwc/taxtech/
drop/vat
/EnterpriseAccount.java
View file @
a1f0815c
package
pwc
.
taxtech
.
atms
.
vat
.
entity
;
package
pwc
.
taxtech
.
drop
.
vat
;
import
org.hibernate.annotations.ColumnDefault
;
import
org.hibernate.annotations.ColumnDefault
;
...
...
atms-gen/src/main/java/pwc/taxtech/
atms/vat/entity
/OperationLog.java
→
atms-gen/src/main/java/pwc/taxtech/
drop/vat
/OperationLog.java
View file @
a1f0815c
package
pwc
.
taxtech
.
atms
.
vat
.
entity
;
package
pwc
.
taxtech
.
drop
.
vat
;
import
org.hibernate.annotations.ColumnDefault
;
import
org.hibernate.annotations.ColumnDefault
;
...
...
atms-gen/src/main/java/pwc/taxtech/
atms/vat/entity
/StandardAccount.java
→
atms-gen/src/main/java/pwc/taxtech/
drop/vat
/StandardAccount.java
View file @
a1f0815c
package
pwc
.
taxtech
.
atms
.
vat
.
entity
;
package
pwc
.
taxtech
.
drop
.
vat
;
import
org.hibernate.annotations.ColumnDefault
;
import
org.hibernate.annotations.ColumnDefault
;
...
...
atms-gen/src/test/java/resources/databases-invalid-sql
0 → 100644
View file @
a1f0815c
表名超长
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
InvoiceRuleSetting.
IsToSupportInvoiceOutForSelfOrgs -> IsInvoiceOutForSelfOrgs
OutputInvoiceEdited.
SubtotalforFinalPaymentSpecified -> SubforFinalPaymentSpecified
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
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment