Browse Source

待开票查询优化

wucl 3 days ago
parent
commit
8ce9ec9a40

+ 27 - 1
biz-base/src/main/resources/application-prod.yml

@@ -74,4 +74,30 @@ ueditor:
   uploadPath: ${dfs.path}
   urlPrefix: replaceurl  #动态替换url
 
-posyspath:  /root/pageoffice
+posyspath:  /root/pageoffice
+
+# 配置邮件
+mail:
+  configs:
+    # 邮箱信息
+    - business-name: hr_payslip_01
+      host: smtp.qq.com #host
+      port: 465 #端口
+      protocol: smtp #协议
+      username: 120135497@qq.com #邮箱
+      password: lvpvckqtywbubiid #密码或授权码
+      default-encoding: UTF-8
+      auth: true #smtp auth
+      SSL-enable: true #ssl加密是否开启
+      SSL-required: true #ssl加密是否必须
+    - business-name: hr_payslip_02
+      host: smtp.qq.com #host
+      port: 465 #端口
+      protocol: smtp #协议
+      username: xxxxxx@qq.com #邮箱
+      password: xxxxxx #密码或授权码
+      default-encoding: UTF-8
+      auth: true #smtp auth
+      SSL-enable: true #ssl加密是否开启
+      SSL-required: true #ssl加密是否必须
+    # 多个邮箱则以相

+ 1 - 1
dao/src/main/resources/mapper/FinanceInvoiceMapper.xml

@@ -108,7 +108,7 @@
             order by fi.modified DESC
         </if>
         <if test="vo!=null and vo.state!=null and vo.state!='' and vo.state=='审核中' ">
-            order by fi.created DESC
+            order by fi.plan_make_date asc
         </if>
     </sql>