|
@@ -75,7 +75,7 @@ public class ApsReportOutputServiceImpl extends ServiceImpl<ApsReportOutputDao,
|
|
|
JSONObject json = new JSONObject();
|
|
|
json.put("batchNumber", code);
|
|
|
//生成二维码
|
|
|
- String qrCode = QRCodeGenerator.stringToQRCodeBase64(json.toJSONString(), 120, 120, "png");
|
|
|
+ String qrCode = QRCodeGenerator.stringToQRCodeBase64(json.toJSONString(), 200, 200, "png");
|
|
|
apsReportOutputDo.setQrcode(qrCode);
|
|
|
apsReportOutputDo.setId(SecurityUtil.getUUID());
|
|
|
resList.add(apsReportOutputDo);
|
|
@@ -98,7 +98,7 @@ public class ApsReportOutputServiceImpl extends ServiceImpl<ApsReportOutputDao,
|
|
|
JSONObject json = new JSONObject();
|
|
|
json.put("batchNumber", code);
|
|
|
//生成二维码
|
|
|
- String qrCode = QRCodeGenerator.stringToQRCodeBase64(json.toJSONString(), 120, 120, "png");
|
|
|
+ String qrCode = QRCodeGenerator.stringToQRCodeBase64(json.toJSONString(), 200, 200, "png");
|
|
|
apsReportOutputDo.setQrcode(qrCode);
|
|
|
resList.add(apsReportOutputDo);
|
|
|
}
|
|
@@ -118,7 +118,7 @@ public class ApsReportOutputServiceImpl extends ServiceImpl<ApsReportOutputDao,
|
|
|
JSONObject json = new JSONObject();
|
|
|
json.put("batchNumber", req.getInputBatchNumber());
|
|
|
//生成二维码
|
|
|
- String qrCode = QRCodeGenerator.stringToQRCodeBase64(json.toJSONString(), 120, 120, "png");
|
|
|
+ String qrCode = QRCodeGenerator.stringToQRCodeBase64(json.toJSONString(), 200, 200, "png");
|
|
|
apsReportOutputDo.setQrcode(qrCode);
|
|
|
resList.add(apsReportOutputDo);
|
|
|
} else {//输出物料数量>1,或者单卷输出数量>1
|
|
@@ -146,7 +146,7 @@ public class ApsReportOutputServiceImpl extends ServiceImpl<ApsReportOutputDao,
|
|
|
JSONObject json = new JSONObject();
|
|
|
json.put("batchNumber", code);
|
|
|
//生成二维码
|
|
|
- String qrCode = QRCodeGenerator.stringToQRCodeBase64(json.toJSONString(), 120, 120, "png");
|
|
|
+ String qrCode = QRCodeGenerator.stringToQRCodeBase64(json.toJSONString(), 200, 200, "png");
|
|
|
apsReportOutputDo.setQrcode(qrCode);
|
|
|
|
|
|
apsReportOutputDo.setId(SecurityUtil.getUUID());
|