详情添加单价
This commit is contained in:
+2
@@ -281,10 +281,12 @@ public class StockShelfOrderApplicationService {
|
|||||||
MaterialBaseInfoPO materialBaseInfoPO = materialBaseInfoMap.get(shelfMaterialDetailPO.getMaterialBaseInfoId());
|
MaterialBaseInfoPO materialBaseInfoPO = materialBaseInfoMap.get(shelfMaterialDetailPO.getMaterialBaseInfoId());
|
||||||
shelfMaterialDetailPO.setCopyCode(materialBaseInfoPO != null ? materialBaseInfoPO.getCopyCode() : null);
|
shelfMaterialDetailPO.setCopyCode(materialBaseInfoPO != null ? materialBaseInfoPO.getCopyCode() : null);
|
||||||
shelfMaterialDetailPO.setCurrency(materialBaseInfoPO != null ? materialBaseInfoPO.getCurrency() : null);
|
shelfMaterialDetailPO.setCurrency(materialBaseInfoPO != null ? materialBaseInfoPO.getCurrency() : null);
|
||||||
|
shelfMaterialDetailPO.setUnitPrice(materialBaseInfoPO != null ? materialBaseInfoPO.getUnitPrice() : null);
|
||||||
for (ShelfMaterialDetailPO child : shelfMaterialDetailPO.getChildren()) {
|
for (ShelfMaterialDetailPO child : shelfMaterialDetailPO.getChildren()) {
|
||||||
MaterialBaseInfoPO materialBaseInfoPOChild = materialBaseInfoMap.get(child.getMaterialBaseInfoId());
|
MaterialBaseInfoPO materialBaseInfoPOChild = materialBaseInfoMap.get(child.getMaterialBaseInfoId());
|
||||||
child.setCopyCode(materialBaseInfoPOChild != null ? materialBaseInfoPOChild.getCopyCode() : null);
|
child.setCopyCode(materialBaseInfoPOChild != null ? materialBaseInfoPOChild.getCopyCode() : null);
|
||||||
child.setCurrency(materialBaseInfoPOChild != null ? materialBaseInfoPOChild.getCurrency() : null);
|
child.setCurrency(materialBaseInfoPOChild != null ? materialBaseInfoPOChild.getCurrency() : null);
|
||||||
|
child.setUnitPrice(materialBaseInfoPOChild != null ? materialBaseInfoPOChild.getUnitPrice() : null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
@@ -387,4 +387,8 @@ public class ShelfMaterialDetailPO extends BaseVOEntity {
|
|||||||
@ApiModelProperty("币制")
|
@ApiModelProperty("币制")
|
||||||
@Excel(name = "币制")
|
@Excel(name = "币制")
|
||||||
private String currency;
|
private String currency;
|
||||||
|
|
||||||
|
@ApiModelProperty("单价")
|
||||||
|
@Excel(name = "单价")
|
||||||
|
private BigDecimal unitPrice;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user