feat(wms): 添加二维码生成记录功能
- 新增二维码生成记录相关的实体类、Mapper、Service、Controller等 - 实现二维码生成记录的增删查改功能- 添加二维码生成记录的导出功能 - 新增相关接口和页面访问权限
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
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_generate_record
|
||||
*
|
||||
* @author klp
|
||||
* @date 2025-09-10
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
public class WmsGenerateRecordVo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@ExcelProperty(value = "主键")
|
||||
private Long recordId;
|
||||
|
||||
/**
|
||||
* 二维码类型(字典,默认为0)
|
||||
*/
|
||||
@ExcelProperty(value = "二维码类型", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "字=典,默认为0")
|
||||
private Long qrcodeType;
|
||||
|
||||
/**
|
||||
* 二维码内容(JSON格式)
|
||||
*/
|
||||
@ExcelProperty(value = "二维码内容", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "J=SON格式")
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 是否启用(0:启用,1:禁用)
|
||||
*/
|
||||
@ExcelProperty(value = "是否启用", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "0=:启用,1:禁用")
|
||||
private Long isEnabled;
|
||||
|
||||
/**
|
||||
* 编号
|
||||
*/
|
||||
@ExcelProperty(value = "编号")
|
||||
private String serialNumber;
|
||||
|
||||
/**
|
||||
* 二维码尺寸(像素)
|
||||
*/
|
||||
@ExcelProperty(value = "二维码尺寸", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "像=素")
|
||||
private Long size;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ExcelProperty(value = "备注")
|
||||
private String remark;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user