首营资质打印bug修改

master
郑明梁 2 years ago
parent 340073ea81
commit 803f01c965

@ -276,7 +276,7 @@ public class SupCertController {
supData.put("status", obj.getStatus() == 0 ? "有效" : "失效");
supData.put("auditStatus", getAuditStatus(obj.getAuditStatus()));
supData.put("remark", obj.getRemark() == null ? ' ' : obj.getRemark());
supData.put("filePath", "d:/1s/udiwms/register/file/image2/" + obj.getFilePath());
supData.put("filePath", "D:/udi/udiwms/udiwmsfile/register/image2/" + obj.getFilePath());
list.add(supData);
i++;
}

@ -48,7 +48,7 @@ public class DownloadController {
try {
// 读取图片
BufferedImage image = ImageIO.read(
new FileInputStream(new File(filePath + "/register/file/" + type + "/" + name)));
new FileInputStream(new File(filePath + "/register/" + type + "/" + name)));
response.setContentType("image/png");
os = response.getOutputStream();

Loading…
Cancel
Save