Files
klp-oa/klp-wms/src/main/java/com/klp/domain/vo/WmsCoilChangeLogVo.java
Joshi ed08134191 feat(wms): 添加钢卷变更日志功能
- 新增钢卷变更日志的Service接口及实现类
- 创建钢卷变更日志的业务对象BO和视图对象VO
- 实现钢卷变更日志的控制器提供CRUD操作接口
- 添加钢卷变更日志的数据库映射和表结构定义
- 开发钢卷变更日志注解和AOP切面自动记录变更
- 定义钢卷变更类型的枚举类支持多种变更场景
- 在钢卷相关业务方法中集成变更日志记录功能
- 创建钢卷变更日志的数据表SQL脚本文件
2026-07-11 13:36:04 +08:00

80 lines
1.9 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.vo;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.klp.common.annotation.ExcelDictFormat;
import com.klp.common.convert.ExcelDictConvert;
import lombok.Data;
/**
* 钢卷变更日志视图对象 wms_coil_change_log
*
* @author klp
* @date 2026-07-11
*/
@Data
@ExcelIgnoreUnannotated
public class WmsCoilChangeLogVo {
private static final long serialVersionUID = 1L;
/**
* 主键ID
*/
@ExcelProperty(value = "主键ID")
private Long logId;
/**
* 变更类型: UPDATE/INSERT/PROCESS/SPLIT/MERGE/DELETE/ROLLBACK/EXPORT/QUALITY_CHANGE
*/
@ExcelProperty(value = "变更类型: UPDATE/INSERT/PROCESS/SPLIT/MERGE/DELETE/ROLLBACK/EXPORT/QUALITY_CHANGE")
private String changeType;
/**
* 变更前钢卷ID
*/
@ExcelProperty(value = "变更前钢卷ID")
private Long oldCoilId;
/**
* 变更后钢卷ID纯删除时为NULL
*/
@ExcelProperty(value = "变更后钢卷ID", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "纯=删除时为NULL")
private Long newCoilId;
/**
* 变更前钢卷号(冗余,方便查看)
*/
@ExcelProperty(value = "变更前钢卷号", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "冗=余,方便查看")
private String oldCoilNo;
/**
* 变更后钢卷号
*/
@ExcelProperty(value = "变更后钢卷号")
private String newCoilNo;
/**
* 变更字段差异 JSON: {"fieldName":{"old":"旧值","new":"新值"},...}
*/
@ExcelProperty(value = "变更字段差异")
private String changedFields;
/**
* 操作描述
*/
@ExcelProperty(value = "操作描述")
private String operationDesc;
/**
* 备注
*/
@ExcelProperty(value = "备注")
private String remark;
}