Files
klp-oa/klp-wms/src/main/java/com/klp/domain/WmsWarehouse.java
Joshi 623e78629d feat(warehouse): 添加仓库使用次数字段支持
- 在WmsWarehouse实体类中新增useCount字段及注释
- 在WmsWarehouseBo业务对象中添加useCount属性
- 更新WmsWarehouseMapper.xml映射文件,增加useCount字段映射
- 在WmsWarehouseServiceImpl查询条件中加入useCount过滤逻辑
- 在WmsWarehouseVo视图对象中添加useCount字段并配置Excel导出
2026-04-16 14:03:26 +08:00

62 lines
1.2 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.domain;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.klp.common.core.domain.TreeEntity;
/**
* 仓库/库区/库位自关联对象 wms_warehouse
*
* @author JR
* @date 2025-07-18
*/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("wms_warehouse")
public class WmsWarehouse extends TreeEntity<WmsWarehouse> {
private static final long serialVersionUID=1L;
/**
* 主键ID
*/
@TableId(value = "warehouse_id")
private Long warehouseId;
/**
* 仓库/库区编码
*/
private String warehouseCode;
/**
* 仓库/库区名称
*/
private String warehouseName;
/**
* 类型0=仓库1=库区2=库位,…
*/
private Long warehouseType;
/**
* 同级排序号
*/
private Long sortNo;
/**
* 使用次数(用于排序:使用越多越靠前)
*/
private Integer useCount;
/**
* 是否启用0=否1=是)
*/
private Integer isEnabled;
/**
* 删除标志0=正常1=已删除)
*/
@TableLogic
private Integer delFlag;
/**
* 备注
*/
private String remark;
}