feat(CoalWashing): rename supplier field to djgClient in DTOs and entities for clarity

This commit is contained in:
2025-10-19 22:43:11 +08:00
parent f1dac81f97
commit 55c6cbf817
5 changed files with 8 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ public class CoalWashingDailyAnalysisDto extends OrgCommonDto {
@ManyToOne
@Comment("代加工客户信息")
private SupplierDto supplier;
private SupplierDto djgClient;
@Comment("归档状态")
private String archiveStatus;

View File

@@ -4,6 +4,7 @@ import cn.lihongjie.coal.base.dto.OrgCommonDto;
import cn.lihongjie.coal.common.DictCode;
import cn.lihongjie.coal.pojoProcessor.DictTranslate;
import cn.lihongjie.coal.product.dto.ProductDto;
import cn.lihongjie.coal.supplier.dto.SupplierDto;
import jakarta.persistence.*;
@@ -26,6 +27,9 @@ public class CoalWashingDailyAnalysisListDto extends OrgCommonDto {
@Comment("产品信息")
private ProductDto product;
@ManyToOne
@Comment("代加工客户信息")
private SupplierDto djgClient;
@Comment("归档状态")
private String archiveStatus;
@DictTranslate(dictKey = DictCode.ARCHIVESTATUS)

View File

@@ -27,7 +27,7 @@ public class CreateCoalWashingDailyAnalysisDto extends OrgCommonDto {
@ManyToOne
@Comment("代加工客户信息")
private String supplier;
private String djgClient;
@ManyToOne
@Comment("产品信息")
private String product;

View File

@@ -26,7 +26,7 @@ public class UpdateCoalWashingDailyAnalysisDto extends OrgCommonDto {
@ManyToOne
@Comment("代加工客户信息")
private String supplier;
private String djgClient;
@ManyToOne
@Comment("产品信息")

View File

@@ -47,7 +47,7 @@ public class CoalWashingDailyAnalysisEntity extends OrgCommonEntity {
@ManyToOne
@Comment("代加工客户信息")
private SupplierEntity supplier;
private SupplierEntity djgClient;