This commit is contained in:
2025-09-24 00:11:21 +08:00
parent 7b023fd07b
commit 45eed8281f
9 changed files with 98 additions and 25 deletions

View File

@@ -43,6 +43,14 @@ public class CompanyCustomer implements IdentityEntity, CompanyBasedEntity, Seri
@ToString.Exclude
private Company company;
/**
* 客户分组
*/
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "CUS_CLS")
@ToString.Exclude
private CustomerCatalog catalog;
/**
* 发展日期
*/
@@ -97,6 +105,7 @@ public class CompanyCustomer implements IdentityEntity, CompanyBasedEntity, Seri
CompanyCustomerVo vo = new CompanyCustomerVo();
vo.setId(id);
vo.setCompanyId(company != null ? company.getId() : null);
vo.setCatalogId(catalog != null ? catalog.getId() : null);
vo.setDevelopDate(developDate);
vo.setPath(path);
vo.setContactId(contact != null ? contact.getId() : null);

View File

@@ -14,6 +14,7 @@ public class CompanyCustomerVo implements IdentityEntity, CompanyBasedVo {
* 公司
*/
private Integer companyId;
private Integer catalogId;
private LocalDate developDate;
private String path;
/**