- 新增 SmbUtil 类,实现 SMB 协议的文件下载功能 - 优化 ExcelUtil 类,增加多个 Sheet 的导出方法 - 更新 BomDetailsController,改进 BOM 校验逻辑 - 调整 WxRobotUtil 类的代码格式
105 lines
2.1 KiB
Java
105 lines
2.1 KiB
Java
package com.ruoyi.system.domain;
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
import lombok.Data;
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
/**
|
|
* bom明细对象 bom_details
|
|
*
|
|
* @author ruoyi
|
|
* @date 2024-04-08
|
|
*/
|
|
@Data
|
|
@EqualsAndHashCode(callSuper = true)
|
|
@TableName("bom_details")
|
|
public class BomDetails extends BaseEntity {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
@TableId(value = "id", type = IdType.AUTO)
|
|
private Long id;
|
|
|
|
/**
|
|
* 部件图号
|
|
*/
|
|
@JsonProperty("F_HBYT_BJBM")
|
|
private String partdiagramCode;
|
|
/**
|
|
* 部件名称
|
|
*/
|
|
@JsonProperty("F_HBYT_BJMC")
|
|
private String partdiagramName;
|
|
/**
|
|
* 父级物料编码
|
|
*/
|
|
@JsonProperty("FMATERIALID.FNumber")
|
|
private String fNumber;
|
|
/**
|
|
* 父级物料名称
|
|
*/
|
|
@JsonProperty("FITEMNAME")
|
|
private String fName;
|
|
/**
|
|
* 子项物料单位
|
|
*/
|
|
@JsonProperty("FUNITID.FName")
|
|
private String wareHouse;
|
|
|
|
/**
|
|
*子项物料编码
|
|
*/
|
|
@JsonProperty("FMATERIALIDCHILD.FNumber")
|
|
private String partNumber;
|
|
/**
|
|
*子项物料名称
|
|
*/
|
|
@JsonProperty("FCHILDITEMNAME")
|
|
private String name;
|
|
/**
|
|
*属性
|
|
*/
|
|
@JsonProperty("FCHILDITEMPROPERTY")
|
|
private String stats;
|
|
/**
|
|
* 子项分子
|
|
*/
|
|
@JsonProperty("FNUMERATOR")
|
|
private Double quantity;
|
|
/**
|
|
* 子项分母
|
|
*/
|
|
@JsonProperty("FDENOMINATOR")
|
|
private Double denominator;
|
|
/**
|
|
*材质
|
|
*/
|
|
private String material;
|
|
/**
|
|
*是否存在
|
|
*/
|
|
private String unitWeight;
|
|
/**
|
|
* 生产令号
|
|
*/
|
|
private String totalWeight;
|
|
/**
|
|
*备注
|
|
*/
|
|
private String remarks;
|
|
/**
|
|
* 单重
|
|
*/
|
|
private Double danZhong;
|
|
/**
|
|
* 子项单重
|
|
*/
|
|
private Double singleWeghit;
|
|
}
|