Browse Source

ocr集成 word模板 签名集成

xiao-xx 1 year ago
parent
commit
0231c02825

+ 1 - 1
yinet-admin/src/main/java/com/yinet/web/controller/rlzy/RlzyApplyPrintController.java

@@ -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();//关闭流

+ 1 - 1
yinet-admin/src/main/resources/templates/rlzy/print/apply.html

@@ -481,7 +481,7 @@
                         <button class="btn btn-success btn-lg" type="button" onclick="toSaomiao()">
                             上 一 步
                         </button>
-                        <button class="btn btn-success btn-lg" type="button" onclick="toQianming()">
+                        <button class="btn btn-success btn-lg" style="margin-left: 30px;" type="button" onclick="toQianming()">
                             下 一 步
                         </button>
 

File diff suppressed because it is too large
+ 4369 - 4088
yinet-admin/src/main/resources/templates/wordtemplates/cns.ftl