Merge remote-tracking branch '南方陆机/technology-init-lhj1119' into technology-init-lhj1119
This commit is contained in:
commit
88f5042521
|
|
@ -244,6 +244,13 @@ public class MaterialMainVO implements Serializable {
|
||||||
@ExcelColumn("最近采购日期")
|
@ExcelColumn("最近采购日期")
|
||||||
private String lastPurchaseDate;
|
private String lastPurchaseDate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 物料价格
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "物料价格")
|
||||||
|
@ExcelColumn("物料价格")
|
||||||
|
private String materialPrice;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 订单保护价
|
* 订单保护价
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -876,6 +876,7 @@ public class MaterialMainService extends ServiceImpl<MaterialMainMapper, Materia
|
||||||
materialMainVO.setOldShortMaterialDesc(materialMainEntity.getShortMaterialDesc());
|
materialMainVO.setOldShortMaterialDesc(materialMainEntity.getShortMaterialDesc());
|
||||||
materialMainVO.setOldMaterialDesc(materialMainEntity.getMaterialDesc());
|
materialMainVO.setOldMaterialDesc(materialMainEntity.getMaterialDesc());
|
||||||
materialMainVO.setLastPurchasePrice(ObjectUtil.isNotNull(materialMainEntity.getLastPurchaseDate()) ? materialMainEntity.getLastPurchasePrice() + "" : "");
|
materialMainVO.setLastPurchasePrice(ObjectUtil.isNotNull(materialMainEntity.getLastPurchaseDate()) ? materialMainEntity.getLastPurchasePrice() + "" : "");
|
||||||
|
materialMainVO.setMaterialPrice(ObjectUtil.isNotNull(materialMainEntity.getMaterialPrice()) ? materialMainEntity.getMaterialPrice() + "" : "");
|
||||||
List<CompletableFuture> task = new ArrayList<>();
|
List<CompletableFuture> task = new ArrayList<>();
|
||||||
task.add(CompletableFuture.runAsync(() -> initCurMaterialAttrs(materialMainVO, type)));
|
task.add(CompletableFuture.runAsync(() -> initCurMaterialAttrs(materialMainVO, type)));
|
||||||
task.add(CompletableFuture.runAsync(() -> initPic(materialMainVO)));
|
task.add(CompletableFuture.runAsync(() -> initPic(materialMainVO)));
|
||||||
|
|
|
||||||
|
|
@ -72,6 +72,7 @@
|
||||||
`material_stock` AS materialStock,
|
`material_stock` AS materialStock,
|
||||||
`last_purchase_price` AS lastPurchasePrice,
|
`last_purchase_price` AS lastPurchasePrice,
|
||||||
`last_purchase_date` AS lastPurchaseDate,
|
`last_purchase_date` AS lastPurchaseDate,
|
||||||
|
`material_price` AS materialPrice,
|
||||||
`order_protect_price` AS orderProtectPrice,
|
`order_protect_price` AS orderProtectPrice,
|
||||||
`parts_sale_price` AS partsSalePrice,
|
`parts_sale_price` AS partsSalePrice,
|
||||||
`material_state` AS materialState,
|
`material_state` AS materialState,
|
||||||
|
|
@ -120,6 +121,7 @@
|
||||||
material_stock,
|
material_stock,
|
||||||
last_purchase_price,
|
last_purchase_price,
|
||||||
last_purchase_date,
|
last_purchase_date,
|
||||||
|
material_price,
|
||||||
order_protect_price,
|
order_protect_price,
|
||||||
parts_sale_price,
|
parts_sale_price,
|
||||||
material_state,
|
material_state,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue