feat(wms): 增加版本管理功能和操作按钮
在规程主表的操作列中新增“版本与方案”按钮,点击后可跳转至版本管理页面。更新了操作列的宽度以适应新按钮。同时,在后端服务中添加了对规程版本存在性的校验,确保在删除规程时不会影响相关版本数据。
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
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_plan
|
||||
*
|
||||
* @author klp
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
public class WmsProcessPlanVo {
|
||||
|
||||
@ExcelProperty(value = "方案点位ID")
|
||||
private Long planId;
|
||||
|
||||
@ExcelProperty(value = "版本ID")
|
||||
private Long versionId;
|
||||
|
||||
@ExcelProperty(value = "段类型")
|
||||
private String segmentType;
|
||||
|
||||
@ExcelProperty(value = "段名称")
|
||||
private String segmentName;
|
||||
|
||||
@ExcelProperty(value = "点位名称")
|
||||
private String pointName;
|
||||
|
||||
@ExcelProperty(value = "点位编码")
|
||||
private String pointCode;
|
||||
|
||||
@ExcelProperty(value = "排序")
|
||||
private Integer sortOrder;
|
||||
|
||||
@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;
|
||||
}
|
||||
Reference in New Issue
Block a user