feat(oa): 产品增加附件属性

- 在 GearProduct、GearProductBo 和 GearProductVo 类中添加 accessory 字段
- 在 GearProductMapper.xml 中添加 accessory 列的映射
This commit is contained in:
2025-09-03 11:49:53 +08:00
parent 9bfea86676
commit 623fa846a4
4 changed files with 8 additions and 2 deletions

View File

@@ -67,5 +67,7 @@ public class GearProduct extends BaseEntity {
//分类id //分类id
private Long categoryId; private Long categoryId;
//附件
private String accessory;
} }

View File

@@ -70,6 +70,7 @@ public class GearProductBo extends BaseEntity {
* 分类ID * 分类ID
*/ */
private Long categoryId; private Long categoryId;
//附件
private String accessory;
} }

View File

@@ -81,5 +81,6 @@ public class GearProductVo {
*/ */
@ExcelProperty(value = "分类ID") @ExcelProperty(value = "分类ID")
private Long categoryId; private Long categoryId;
//附件
private String accessory;
} }

View File

@@ -13,6 +13,7 @@
<result property="unit" column="unit"/> <result property="unit" column="unit"/>
<result property="bomId" column="bom_id"/> <result property="bomId" column="bom_id"/>
<result property="type" column="type"/> <result property="type" column="type"/>
<result property="accessory" column="accessory"/>
<result property="isEnabled" column="is_enabled"/> <result property="isEnabled" column="is_enabled"/>
<result property="delFlag" column="del_flag"/> <result property="delFlag" column="del_flag"/>
<result property="createTime" column="create_time"/> <result property="createTime" column="create_time"/>
@@ -32,6 +33,7 @@
p.unit AS unit, p.unit AS unit,
p.bom_id AS bomId, p.bom_id AS bomId,
p.type AS type, p.type AS type,
p.accessory AS accessory,
p.is_enabled AS isEnabled, p.is_enabled AS isEnabled,
p.del_flag AS delFlag, p.del_flag AS delFlag,
p.create_time AS createTime, p.create_time AS createTime,