Browse Source

手动更新加上跟新时间

Administrator 3 weeks ago
parent
commit
a710245d6f

+ 3 - 1
src/main/resources/application.yml

@@ -91,7 +91,9 @@ spring:
       mail:
         smtp:
           auth: true
-          enable: true
+          starttls:
+              enable: true
+              required: true
   redis:
     host: 172.16.223.134
     port: 6379

+ 10 - 7
src/main/resources/application.yml_bak

@@ -57,9 +57,9 @@ spring:
     #url: jdbc:mysql://127.0.0.1:3306/db_invoice?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&allowPublicKeyRetrieval=true
     #username: root
     #password: root
-    url: jdbc:mysql://192.168.50.4:3306/db_invoice?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true
-    username: root
-    password: jk@123
+    url: jdbc:mysql://172.16.223.133:3306/db_invoice?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true
+    username: invoice
+    password: invoiceX%190605
     driver-class-name: com.mysql.jdbc.Driver
     # \u4F7F\u7528druid\u6570\u636E\u6E90
     type: com.alibaba.druid.pool.DruidDataSource
@@ -83,18 +83,21 @@ spring:
       connectionProperties: druid.stat.slowSqlMillis=200;druid.stat.logSlowSql=true;config.decrypt=false
   mail:
     host: smtp.qq.com #邮件发送服务器
-    port: 587
+    port: 465
     username: 862885632@qq.com
-    password: axlmfkdxmixjbchh
+    password: qithlltijkxrbahf
     test-connection: true #测试连接
     properties:
       mail:
         smtp:
           auth: true
-          enable: true
+          starttls:
+            enable: true
+            required: true
   redis:
-    host: 127.0.0.1
+    host: 172.16.223.134
     port: 6379
+    password: jiaokedata
   rabbitmq:
     host: localhost
     port: 5672

+ 4 - 0
src/main/resources/mapper/waybill/NoCarWaybillMapper.xml

@@ -262,6 +262,7 @@
         startTime = #{startTime,jdbcType=VARCHAR},
         sourceAddr = #{sourceAddr,jdbcType=VARCHAR},
         destAddr = #{destAddr,jdbcType=VARCHAR},
+        updateTime=#{updateTime,jdbcType=VARCHAR},
         predictEndTime = #{predictEndTime,jdbcType=VARCHAR},
         fee = #{fee,jdbcType=INTEGER},
         titleType = #{titleType,jdbcType=INTEGER},
@@ -306,6 +307,7 @@
         interType = #{interType,jdbcType=INTEGER},
         destAddrPre = #{destAddrPre,jdbcType=VARCHAR},
         preEndTime = #{preEndTime,jdbcType=VARCHAR},
+         updateTime=#{updateTime,jdbcType=VARCHAR},
         splitFlag = #{splitFlag,jdbcType=INTEGER}
         where  billNum = BINARY #{billNum,jdbcType=VARCHAR} and billwayStatus <= #{billwayStatus,jdbcType=INTEGER}
     </update>
@@ -336,6 +338,7 @@
         interType = #{interType,jdbcType=INTEGER},
         destAddrPre = #{destAddrPre,jdbcType=VARCHAR},
         preEndTime = #{preEndTime,jdbcType=VARCHAR},
+        updateTime=#{updateTime,jdbcType=VARCHAR},
         splitFlag = #{splitFlag,jdbcType=INTEGER}
         where  billNum = BINARY #{billNum,jdbcType=VARCHAR}
     </update>
@@ -343,6 +346,7 @@
         update t_waybill_no
         set interfaceEndTime = #{interfaceEndTime,jdbcType=VARCHAR},
         failReason = #{failReason,jdbcType=VARCHAR},
+         updateTime=#{updateTime,jdbcType=VARCHAR},
         interType = #{interType,jdbcType=INTEGER}
         where  billNum = BINARY #{billNum,jdbcType=VARCHAR}
     </update>