parent
c9a570f706
commit
9e930b2aaa
|
|
@ -30,4 +30,10 @@ public class StandardPartPickExcelDTO implements Serializable {
|
||||||
|
|
||||||
@ExcelColumn(value = "单重")
|
@ExcelColumn(value = "单重")
|
||||||
private BigDecimal unitWeight;
|
private BigDecimal unitWeight;
|
||||||
|
|
||||||
|
@ExcelColumn(value = "选型说明")
|
||||||
|
private String modelSelectionRemark;
|
||||||
|
|
||||||
|
@ExcelColumn(value = "备注")
|
||||||
|
private String remark;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -664,7 +664,7 @@ public class MaterialUpdateBillService extends ServiceImpl<MaterialUpdateBillMap
|
||||||
&& (ObjectUtil.isNotEmpty(update.getNewMaterialState()) && update.getNewMaterialState().equals(MaterialStateEnum.ACTIVATE.getValue()))).collect(Collectors.toList());
|
&& (ObjectUtil.isNotEmpty(update.getNewMaterialState()) && update.getNewMaterialState().equals(MaterialStateEnum.ACTIVATE.getValue()))).collect(Collectors.toList());
|
||||||
if (CollectionUtil.isNotEmpty(filterList)) {
|
if (CollectionUtil.isNotEmpty(filterList)) {
|
||||||
List<String> materialNos = filterList.stream().map(MaterialUpdateBillEntity::getMaterialNo).collect(Collectors.toList());
|
List<String> materialNos = filterList.stream().map(MaterialUpdateBillEntity::getMaterialNo).collect(Collectors.toList());
|
||||||
throw new NflgBusinessException(STATE.ParamErr, StrUtil.join(",", materialNos).concat("物料解冻时,禁止改成激活"));
|
throw new NflgBusinessException(STATE.ParamErr, StrUtil.join(",", materialNos).concat("营销中心(工服)解冻11、21物料时不能选激活,应选择售后专用或禁止采购"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue