Files
klp-oa/klp-cost/src/main/java/com/klp/cost/domain/CostItem.java
Joshi 91d1236c37 feat(cost): 为成本项新增查询条件
- 在CostItem实体类、Bo业务对象和Vo视图对象中新增queryCondition字段,用于存储JSON格式的查询条件
- 更新CostItemMapper.xml映射文件以支持新字段的数据映射
- 在CostItemServiceImpl服务实现中添加新字段的查询条件支持,实现按查询条件过滤成本项的功能
2026-05-30 13:44:31 +08:00

58 lines
1.0 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.klp.cost.domain;
import com.baomidou.mybatisplus.annotation.*;
import com.klp.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* 成本项目配置对象 cost_item
*
* @author klp
* @date 2026-05-25
*/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("cost_item")
public class CostItem extends BaseEntity {
private static final long serialVersionUID=1L;
/**
* 主键ID
*/
@TableId(value = "item_id")
private Long itemId;
/**
* 成本项目编码
*/
private String itemCode;
/**
* 成本项目名称
*/
private String itemName;
/**
* 成本分类 原料/能耗/辅料/设备/人工
*/
private String category;
/**
* 计量单位
*/
private String unit;
/**
* 备注
*/
private String remark;
/**
* 查询条件JSON格式
*/
private String queryCondition;
/**
* 删除标识 0=正常 2=删除
*/
@TableLogic
private Long delFlag;
}