Commit c880414cf39d3c0505454fe0956cb5b5482eba3e
1 parent
694924fe
refactor(domain): 修改BaseCustomer类字段访问权限
- 将所有受保护的字段改为私有字段 - 保持字段注解和转换器配置不变 - 确保与金蝶系统数据映射的一致性
Showing
1 changed file
with
15 additions
and
15 deletions
tax-central/src/main/java/com/diligrp/tax/central/domain/document/kingdee/BaseCustomer.java
| @@ -17,7 +17,7 @@ public abstract class BaseCustomer extends BaseDocument { | @@ -17,7 +17,7 @@ public abstract class BaseCustomer extends BaseDocument { | ||
| 17 | /** | 17 | /** |
| 18 | * 系统数据 ID | 18 | * 系统数据 ID |
| 19 | */ | 19 | */ |
| 20 | - protected String systemDataId; | 20 | + private String systemDataId; |
| 21 | // /** | 21 | // /** |
| 22 | // * 结算货币(FTRADINGCURRID) | 22 | // * 结算货币(FTRADINGCURRID) |
| 23 | // */ | 23 | // */ |
| @@ -27,70 +27,70 @@ public abstract class BaseCustomer extends BaseDocument { | @@ -27,70 +27,70 @@ public abstract class BaseCustomer extends BaseDocument { | ||
| 27 | * 客户 ID(FCUSTID) | 27 | * 客户 ID(FCUSTID) |
| 28 | */ | 28 | */ |
| 29 | @Converter(value = StringConverter.class, targetField = "FCUSTID") | 29 | @Converter(value = StringConverter.class, targetField = "FCUSTID") |
| 30 | - protected String customerId; | 30 | + private String customerId; |
| 31 | /** | 31 | /** |
| 32 | * 客户编号 | 32 | * 客户编号 |
| 33 | */ | 33 | */ |
| 34 | @Converter(value = StringConverter.class, targetField = "FNumber") | 34 | @Converter(value = StringConverter.class, targetField = "FNumber") |
| 35 | - protected String customerCode; | 35 | + private String customerCode; |
| 36 | /** | 36 | /** |
| 37 | * 客户姓名(FName) | 37 | * 客户姓名(FName) |
| 38 | */ | 38 | */ |
| 39 | @Converter(value = StringConverter.class, targetField = "FName") | 39 | @Converter(value = StringConverter.class, targetField = "FName") |
| 40 | - protected String customerName; | 40 | + private String customerName; |
| 41 | /** | 41 | /** |
| 42 | * 客户简称(FShortName) | 42 | * 客户简称(FShortName) |
| 43 | */ | 43 | */ |
| 44 | @Converter(value = StringConverter.class, targetField = "FShortName") | 44 | @Converter(value = StringConverter.class, targetField = "FShortName") |
| 45 | - protected String customerShortName; | 45 | + private String customerShortName; |
| 46 | /** | 46 | /** |
| 47 | * 客户发票抬头(FINVOICETITLE) | 47 | * 客户发票抬头(FINVOICETITLE) |
| 48 | */ | 48 | */ |
| 49 | @Converter(value = StringConverter.class, targetField = "FINVOICETITLE") | 49 | @Converter(value = StringConverter.class, targetField = "FINVOICETITLE") |
| 50 | - protected String customerInvoiceTitle; | 50 | + private String customerInvoiceTitle; |
| 51 | /** | 51 | /** |
| 52 | * 法人姓名(FLegalPerson) | 52 | * 法人姓名(FLegalPerson) |
| 53 | */ | 53 | */ |
| 54 | @Converter(value = StringConverter.class, targetField = "FLegalPerson") | 54 | @Converter(value = StringConverter.class, targetField = "FLegalPerson") |
| 55 | - protected String legalPerson; | 55 | + private String legalPerson; |
| 56 | /** | 56 | /** |
| 57 | * 证件号(FSOCIALCRECODE) | 57 | * 证件号(FSOCIALCRECODE) |
| 58 | */ | 58 | */ |
| 59 | @Converter(value = StringConverter.class, targetField = "FSOCIALCRECODE") | 59 | @Converter(value = StringConverter.class, targetField = "FSOCIALCRECODE") |
| 60 | - protected String idNumber; | 60 | + private String idNumber; |
| 61 | /** | 61 | /** |
| 62 | * 国家(FCOUNTRY) | 62 | * 国家(FCOUNTRY) |
| 63 | */ | 63 | */ |
| 64 | @Converter(value = CustomerCountryConverter.class, targetField = "FCOUNTRY") | 64 | @Converter(value = CustomerCountryConverter.class, targetField = "FCOUNTRY") |
| 65 | - protected String country; | 65 | + private String country; |
| 66 | /** | 66 | /** |
| 67 | * 区域组织(FPROVINCIAL) | 67 | * 区域组织(FPROVINCIAL) |
| 68 | */ | 68 | */ |
| 69 | @Converter(value = CustomerProvincialConverter.class, targetField = "FPROVINCIAL") | 69 | @Converter(value = CustomerProvincialConverter.class, targetField = "FPROVINCIAL") |
| 70 | - protected String provincial; | 70 | + private String provincial; |
| 71 | /** | 71 | /** |
| 72 | * 地址(FADDRESS) | 72 | * 地址(FADDRESS) |
| 73 | */ | 73 | */ |
| 74 | @Converter(value = StringConverter.class, targetField = "FADDRESS") | 74 | @Converter(value = StringConverter.class, targetField = "FADDRESS") |
| 75 | - protected String address; | 75 | + private String address; |
| 76 | /** | 76 | /** |
| 77 | * 注册地址(FRegisterAddress) | 77 | * 注册地址(FRegisterAddress) |
| 78 | */ | 78 | */ |
| 79 | @Converter(value = StringConverter.class, targetField = "FRegisterAddress") | 79 | @Converter(value = StringConverter.class, targetField = "FRegisterAddress") |
| 80 | - protected String registerAddress; | 80 | + private String registerAddress; |
| 81 | /** | 81 | /** |
| 82 | * 客户分组-配置数据(FGroup) | 82 | * 客户分组-配置数据(FGroup) |
| 83 | */ | 83 | */ |
| 84 | @Converter(value = CustomerGroupConverter.class, targetField = "FGroup") | 84 | @Converter(value = CustomerGroupConverter.class, targetField = "FGroup") |
| 85 | - protected String customerGroup; | 85 | + private String customerGroup; |
| 86 | /** | 86 | /** |
| 87 | * 创建组织(FCreateOrgId) | 87 | * 创建组织(FCreateOrgId) |
| 88 | */ | 88 | */ |
| 89 | @Converter(value = CustomerCreateOrgConverter.class, targetField = "FCreateOrgId") | 89 | @Converter(value = CustomerCreateOrgConverter.class, targetField = "FCreateOrgId") |
| 90 | - protected String customerCreateOrg; | 90 | + private String customerCreateOrg; |
| 91 | /** | 91 | /** |
| 92 | * 使用组织 | 92 | * 使用组织 |
| 93 | */ | 93 | */ |
| 94 | @Converter(value = CustomerUseOrgConverter.class, targetField = "FUseOrgId") | 94 | @Converter(value = CustomerUseOrgConverter.class, targetField = "FUseOrgId") |
| 95 | - protected String customerUseOrg; | 95 | + private String customerUseOrg; |
| 96 | } | 96 | } |