Merge remote-tracking branch '南方陆机/technology-init-lhj1119' into technology-init-lhj1119

This commit is contained in:
曹鹏飞 2025-01-09 11:37:38 +08:00
commit 88f5042521
3 changed files with 10 additions and 0 deletions

View File

@ -244,6 +244,13 @@ public class MaterialMainVO implements Serializable {
@ExcelColumn("最近采购日期")
private String lastPurchaseDate;
/**
* 物料价格
*/
@ApiModelProperty(value = "物料价格")
@ExcelColumn("物料价格")
private String materialPrice;
/**
* 订单保护价
*/

View File

@ -876,6 +876,7 @@ public class MaterialMainService extends ServiceImpl<MaterialMainMapper, Materia
materialMainVO.setOldShortMaterialDesc(materialMainEntity.getShortMaterialDesc());
materialMainVO.setOldMaterialDesc(materialMainEntity.getMaterialDesc());
materialMainVO.setLastPurchasePrice(ObjectUtil.isNotNull(materialMainEntity.getLastPurchaseDate()) ? materialMainEntity.getLastPurchasePrice() + "" : "");
materialMainVO.setMaterialPrice(ObjectUtil.isNotNull(materialMainEntity.getMaterialPrice()) ? materialMainEntity.getMaterialPrice() + "" : "");
List<CompletableFuture> task = new ArrayList<>();
task.add(CompletableFuture.runAsync(() -> initCurMaterialAttrs(materialMainVO, type)));
task.add(CompletableFuture.runAsync(() -> initPic(materialMainVO)));

View File

@ -72,6 +72,7 @@
`material_stock` AS materialStock,
`last_purchase_price` AS lastPurchasePrice,
`last_purchase_date` AS lastPurchaseDate,
`material_price` AS materialPrice,
`order_protect_price` AS orderProtectPrice,
`parts_sale_price` AS partsSalePrice,
`material_state` AS materialState,
@ -120,6 +121,7 @@
material_stock,
last_purchase_price,
last_purchase_date,
material_price,
order_protect_price,
parts_sale_price,
material_state,