安信的出入库bug修改
This commit is contained in:
parent
858543d05d
commit
2f4b09c5b7
@ -95,6 +95,6 @@ public class GtMaterialPurchaseDemandPlanning implements Serializable {
|
|||||||
@ApiModelProperty(value = "更新时间")
|
@ApiModelProperty(value = "更新时间")
|
||||||
private java.util.Date updateTime;
|
private java.util.Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty(value = "物料单位(1斤、2克、3千克、4吨)")
|
@ApiModelProperty(value = "物料单位")
|
||||||
private Integer materialUnit;
|
private String materialUnit;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -340,6 +340,9 @@ public class GtMaterialInOutWarehouseServiceImpl extends ServiceImpl<GtMaterialI
|
|||||||
materialList.stream().forEach(o -> {
|
materialList.stream().forEach(o -> {
|
||||||
o.setGtMaterialInOutWarehouseId(gtMaterialInOutWarehouse.getId());
|
o.setGtMaterialInOutWarehouseId(gtMaterialInOutWarehouse.getId());
|
||||||
o.setProjectSn(gtMaterialInOutWarehouse.getProjectSn());
|
o.setProjectSn(gtMaterialInOutWarehouse.getProjectSn());
|
||||||
|
o.setName(StringUtils.trim(o.getName()));
|
||||||
|
o.setSpecification(StringUtils.trim(o.getSpecification()));
|
||||||
|
o.setUnit(o.getUnit());
|
||||||
});
|
});
|
||||||
if (CollUtil.isNotEmpty(materialList)) {
|
if (CollUtil.isNotEmpty(materialList)) {
|
||||||
materialPointCheckIntoWarehouseDetailService.saveBatch(materialList);
|
materialPointCheckIntoWarehouseDetailService.saveBatch(materialList);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user