Files
klp-oa/klp-wms/src/main/java/com/klp/domain/vo/WmsProcessSpecVo.java
王文昊 62b594026b feat(wms): 规程主表 wms_process_spec 全栈 CRUD(任务2)
新增规程档案后端(Entity/BO/VO/Mapper/Service/Controller),接口前缀 /wms/processSpec,
含分页查询、导出、详情、增删改;保存时校验规程编号唯一;逻辑删除与全局配置一致(0 未删 / 2 已删)。

新增 Flyway 脚本 V10 建表及唯一索引;前端增加 api/wms/processSpec.js 与 views/wms/processSpec/index.vue,
支持按编号/名称/类型/产线/产品类型/启用状态筛选,产线下拉关联现有产线接口。

说明:需在目标库执行迁移并在菜单中配置组件路径 wms/processSpec/index。
2026-04-20 18:20:29 +08:00

83 lines
1.6 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.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;
/**
* 规程主表视图对象 wms_process_spec
*
* @author klp
*/
@Data
@ExcelIgnoreUnannotated
public class WmsProcessSpecVo {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@ExcelProperty(value = "主键")
private Long specId;
/**
* 规程编号
*/
@ExcelProperty(value = "规程编号")
private String specCode;
/**
* 规程名称
*/
@ExcelProperty(value = "规程名称")
private String specName;
/**
* 类型(PROCESS/STANDARD)
*/
@ExcelProperty(value = "规程类型")
private String specType;
/**
* 产线ID
*/
@ExcelProperty(value = "产线ID")
private Long lineId;
/**
* 产品类型
*/
@ExcelProperty(value = "产品类型")
private String productType;
/**
* 是否启用0=否1=是)
*/
@ExcelProperty(value = "是否启用")
private Integer isEnabled;
/**
* 备注
*/
@ExcelProperty(value = "备注")
private String remark;
/**
* 创建时间
*/
@ExcelProperty(value = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date createTime;
/**
* 更新时间
*/
@ExcelProperty(value = "更新时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date updateTime;
}