修改bug关于bom_id

This commit is contained in:
2025-07-29 14:26:23 +08:00
parent 2ad0056f3b
commit 00c52b5b92
3 changed files with 10 additions and 0 deletions

View File

@@ -37,6 +37,10 @@ public class WmsBomItemBo extends BaseEntity {
* 备注
*/
private String remark;
/**
* BOM ID
*/
private Long bomId;
}

View File

@@ -43,6 +43,11 @@ public class WmsBomItemVo {
*/
@ExcelProperty(value = "备注")
private String remark;
/**
* BOM ID
*/
@ExcelProperty(value = "BOM ID")
private Long bomId;
}

View File

@@ -64,6 +64,7 @@ public class WmsBomItemServiceImpl implements IWmsBomItemService {
lqw.eq(StringUtils.isNotBlank(bo.getAttrKey()), WmsBomItem::getAttrKey, bo.getAttrKey());
lqw.eq(StringUtils.isNotBlank(bo.getAttrValue()), WmsBomItem::getAttrValue, bo.getAttrValue());
lqw.eq(bo.getIsEnabled() != null, WmsBomItem::getIsEnabled, bo.getIsEnabled());
lqw.eq(bo.getBomId() != null, WmsBomItem::getBomId, bo.getBomId());
return lqw;
}