Commit d74d9ba0 authored by chenzhao's avatar chenzhao

修改单位变更excel

parent a19fb881
...@@ -495,6 +495,8 @@ public class CommonServiceImpl implements ICommonService { ...@@ -495,6 +495,8 @@ public class CommonServiceImpl implements ICommonService {
map.put("giveOutYear", Optional.ofNullable(map.get("giveOutYear")).orElse("").toString()); // 发证日期-年 map.put("giveOutYear", Optional.ofNullable(map.get("giveOutYear")).orElse("").toString()); // 发证日期-年
map.put("giveOutMonth", Optional.ofNullable(map.get("giveOutMonth")).orElse("").toString()); // 发证日期-月 map.put("giveOutMonth", Optional.ofNullable(map.get("giveOutMonth")).orElse("").toString()); // 发证日期-月
map.put("giveOutDay", Optional.ofNullable(map.get("giveOutDay")).orElse("").toString()); // 发证日期-日 map.put("giveOutDay", Optional.ofNullable(map.get("giveOutDay")).orElse("").toString()); // 发证日期-日
map.put("excelType", Optional.ofNullable(map.get("excelType")).orElse("使用登记").toString()); // 发证日期-日
map.put("tableName", Optional.ofNullable(map.get("tableName")).orElse("特种设备使用登记证").toString()); // 发证日期-日
// 生成二维码 // 生成二维码
String qrCode = ImageUtils.generateQRCode(Optional.ofNullable(map.get("supervisoryCode")).orElse("").toString(), 100, 100); String qrCode = ImageUtils.generateQRCode(Optional.ofNullable(map.get("supervisoryCode")).orElse("").toString(), 100, 100);
map.put("supervisoryCode", qrCode); // 监管二维码 map.put("supervisoryCode", qrCode); // 监管二维码
......
...@@ -973,6 +973,8 @@ public class JgChangeRegistrationUnitServiceImpl extends BaseService<JgChangeReg ...@@ -973,6 +973,8 @@ public class JgChangeRegistrationUnitServiceImpl extends BaseService<JgChangeReg
exportParamsMap.put("factoryNum", factoryInfo.getFactoryNum()); exportParamsMap.put("factoryNum", factoryInfo.getFactoryNum());
} }
//调用生成使用登记证 //调用生成使用登记证
exportParamsMap.put("excelType","变更登记");
exportParamsMap.put("tableName","特种设备单位变更登记");
commonService.generateCertificateReport(exportParamsMap, response); commonService.generateCertificateReport(exportParamsMap, response);
} }
......
...@@ -485,7 +485,7 @@ ...@@ -485,7 +485,7 @@
<w:sz w:val="46"/> <w:sz w:val="46"/>
<w:sz-cs w:val="46"/> <w:sz-cs w:val="46"/>
</w:rPr> </w:rPr>
<w:t>按照《中华人民共和国特种设备安全法》的规定, 依据特种设备安全技术规范要求,予以使用登记</w:t> <w:t>按照《中华人民共和国特种设备安全法》的规定, 依据特种设备安全技术规范要求,予以${(excelType)!''}</w:t>
</w:r> </w:r>
<w:r> <w:r>
<w:rPr> <w:rPr>
...@@ -611,7 +611,7 @@ ...@@ -611,7 +611,7 @@
<w:sz w:val="58"/> <w:sz w:val="58"/>
<w:sz-cs w:val="58"/> <w:sz-cs w:val="58"/>
</w:rPr> </w:rPr>
<w:t>特种设备使用登记证</w:t> <w:t>${(tableName)!''}</w:t>
</w:r> </w:r>
</w:p> </w:p>
</w:txbxContent> </w:txbxContent>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment