|
@@ -131,7 +131,7 @@ public class RlzyApplyPrintController extends BaseController {
|
|
|
map.put("qianming", imageToBase64.replace("data:image/jpeg;base64,",""));
|
|
|
|
|
|
map.put("printJson", rlzyApply);
|
|
|
- String fileName = UUID.randomUUID().toString().replaceAll("-","")+".docx";
|
|
|
+ String fileName = UUID.randomUUID().toString().replaceAll("-","")+".doc";
|
|
|
PrintWriter pw = new PrintWriter(new File(f1, fileName));
|
|
|
template.process(map, pw);//合并 map:数据模型 pw:输出流对象
|
|
|
pw.close();//关闭流
|