This commit is contained in:
2024-01-07 09:25:42 +08:00
parent 69fb2bc48a
commit 456a6aadaf

View File

@@ -2,10 +2,9 @@ package cn.lihongjie.coal.purchaseOrder.dto;
import cn.lihongjie.coal.base.dto.OrgCommonDto;
import cn.lihongjie.coal.coalInfo.dto.CoalInfoDto;
import cn.lihongjie.coal.deliveryInformation.entity.DeliveryInformationEntity;
import cn.lihongjie.coal.deliveryInformation.dto.DeliveryInformationDto;
import jakarta.persistence.ManyToOne;
import jakarta.persistence.OneToMany;
import lombok.Data;
@@ -50,8 +49,7 @@ public class PurchaseOrderDto extends OrgCommonDto {
@Comment("煤炭信息")
private CoalInfoDto coalInfo;
@OneToMany(mappedBy = "purchaseOrder")
private List<DeliveryInformationEntity> deliveryInformationList;
private List<DeliveryInformationDto> deliveryInformationList;
@Comment("采购数量")