业务运输单物料 添加物料id

This commit is contained in:
zhaoqing
2026-05-14 15:55:57 +08:00
parent 06abee70e3
commit 3c2447e917
3 changed files with 7 additions and 0 deletions
@@ -96,6 +96,9 @@ public class BusinessDocumentCargoMulti extends BaseVOEntity{
@ApiModelProperty("")
private String materialCode;
@ApiModelProperty("物料id")
private Long materialId;
@ApiModelProperty("$column.columnComment")
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String orderId;
@@ -640,6 +640,7 @@ public class BusinessDocumentOrderDomainService {
tmsCargoInfo.setCargoWeight(tmsCargoInfoDTO.getWeight()==null ? BigDecimal.ZERO: tmsCargoInfoDTO.getWeight());
tmsCargoInfo.setCargoNum(tmsCargoInfoDTO.getCargoNum()==null ? BigDecimal.ZERO: tmsCargoInfoDTO.getCargoNum());
tmsCargoInfo.setMaterialVolume(tmsCargoInfoDTO.getMaterialVolume()==null ? BigDecimal.ZERO: tmsCargoInfoDTO.getMaterialVolume());
tmsCargoInfo.setMaterialId(tmsCargoInfoDTO.getMaterialId());
businessDocumentCargoMultiMapper.insert(tmsCargoInfo);
}
@@ -99,6 +99,9 @@ public class BusinessDocumentCargoMultiDTO extends BaseVOEntity{
@ApiModelProperty("")
private String materialCode;
@ApiModelProperty("物料id")
private Long materialId;
@ApiModelProperty("体积")
private BigDecimal materialVolume;