From 6bb79064a8d717e191ceda7cb2dc1549d3613691 Mon Sep 17 00:00:00 2001 From: buhuazhen <hua100783@gmail.com> Date: 星期二, 26 八月 2025 13:58:03 +0800 Subject: [PATCH] purchase添加类型 以及新增字典查询方法 --- main-business/src/main/java/com/ruoyi/business/entity/EquipmentManagement.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/main-business/src/main/java/com/ruoyi/business/entity/EquipmentManagement.java b/main-business/src/main/java/com/ruoyi/business/entity/EquipmentManagement.java index 742d5c4..9e03627 100644 --- a/main-business/src/main/java/com/ruoyi/business/entity/EquipmentManagement.java +++ b/main-business/src/main/java/com/ruoyi/business/entity/EquipmentManagement.java @@ -2,6 +2,7 @@ import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; import com.ruoyi.common.core.domain.MyBaseEntity; @@ -76,4 +77,10 @@ */ @TableField(value = "purchase_price") private BigDecimal purchasePrice; + /** + * 鏄惁鑰楁潗绫� + */ + @TableField(value = "is_consumables") + @JsonProperty("isConsumables") + private boolean isConsumables; } \ No newline at end of file -- Gitblit v1.9.3