Browse Source

增加查询订单状态次数。

lighter 4 years ago
parent
commit
ee14f538d7

+ 1 - 1
src/main/java/thyyxxk/wxservice_server/dao/WxApiDao.java

@@ -43,7 +43,7 @@ public interface WxApiDao {
     @Select("select * from t_wechat_pay_order where trade_no=#{tradeNo}")
     WxPayOrderPojo selectOrderByTradeNo(@Param("tradeNo") String tradeNo);
 
-    @Select("select * from t_wechat_pay_order where pay_status in (99, 0, 5, 6) and isnull(query_state_times,0) < 3")
+    @Select("select * from t_wechat_pay_order where pay_status in (99, 0, 5, 6) and isnull(query_state_times,0) < 10")
     List<WxPayOrderPojo> selectOrdersForScheduleTask();
 
     @Select("select open_id from t_wechat_patient_bind where patient_id=#{cardNo} and del_flag=0")

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

@@ -1,5 +1,5 @@
 server:
-  port: 8083
+  port: 8085
   servlet:
     context-path: /wxserver
 spring: