fix:标签二维码用json字符串,暂时只有code;

This commit is contained in:
shusir
2026-03-30 10:34:19 +08:00
parent 4307fe3c1d
commit a1264669a9
3 changed files with 18 additions and 18 deletions

View File

@@ -225,7 +225,7 @@ public class MaterialInfomationRespVO {
public String getQrCode() { public String getQrCode() {
MaterialQrCode qrCode = new MaterialQrCode(); MaterialQrCode qrCode = new MaterialQrCode();
qrCode.setCode(this.code); qrCode.setCode(this.code);
qrCode.setName(this.name); // qrCode.setName(this.name);
return JSONUtil.toJsonStr(qrCode); return JSONUtil.toJsonStr(qrCode);
} }

View File

@@ -111,7 +111,7 @@ public class MaterialInventoryInboundDetailRespVO {
public String getQrCode() { public String getQrCode() {
MaterialQrCode qrCode = new MaterialQrCode(); MaterialQrCode qrCode = new MaterialQrCode();
qrCode.setCode(this.infomationCode); qrCode.setCode(this.infomationCode);
qrCode.setName(this.infomationName); // qrCode.setName(this.infomationName);
return JSONUtil.toJsonStr(qrCode); return JSONUtil.toJsonStr(qrCode);
} }

View File

@@ -11,20 +11,20 @@ public class MaterialQrCode {
* 编号 * 编号
*/ */
private String code; private String code;
/** // /**
* 名称 // * 名称
*/ // */
private String name; // private String name;
/** // /**
* 批次号 // * 批次号
*/ // */
private String batchNo; // private String batchNo;
/** // /**
* 规格 // * 规格
*/ // */
private String specification; // private String specification;
/** // /**
* 制造商 // * 制造商
*/ // */
private String manufacturer; // private String manufacturer;
} }