l3能源成本分摊(部分完成留存)

This commit is contained in:
2025-12-07 17:23:47 +08:00
parent b6328a94da
commit 59951b77c3
100 changed files with 14350 additions and 847 deletions

View File

@@ -0,0 +1,37 @@
package com.klp.ems.domain.dto;
import lombok.Data;
import java.math.BigDecimal;
/**
* 轻量化钢卷信息(仅供能源分摊引擎使用)
*/
@Data
public class AllocationCoilDto {
private Long coilId;
private String enterCoilNo;
private String currentCoilNo;
private Long warehouseId;
private Long actualWarehouseId;
/** 净重kg */
private BigDecimal netWeight;
/** 毛重kg */
private BigDecimal grossWeight;
/** 待操作累计分钟数(基于 pending action 计算) */
private BigDecimal pendingMinutes;
/** 物品类型 */
private String itemType;
/** 材料类型 */
private String materialType;
}

View File

@@ -0,0 +1,48 @@
package com.klp.ems.domain.dto;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import java.util.Date;
/**
* 设备导入模板 DTO
*
* @author Joshi
* @date 2025-12-05
*/
@Data
@ExcelIgnoreUnannotated
public class MeterTemplateDto {
/**
* 设备编号
*/
@ExcelProperty(value = "设备编号")
private String meterCode;
/**
* 能源类型(水、电、天然气)
*/
@ExcelProperty(value = "能源类型")
private String energyType;
/**
* 设备型号
*/
@ExcelProperty(value = "设备型号")
private String model;
/**
* 制造商
*/
@ExcelProperty(value = "制造商")
private String manufacturer;
/**
* 安装日期
*/
@ExcelProperty(value = "安装日期")
private Date installDate;
}