|
@@ -60,9 +60,9 @@ public interface WxApiDao {
|
|
|
@Select("select * from t_wechat_pay_order with(nolock) where trade_no=#{tradeNo}")
|
|
|
WxPayOrder selectOrderByTradeNo(@Param("tradeNo") String tradeNo);
|
|
|
|
|
|
- @Select("select trade_no, query_state_times from t_wechat_pay_order with(nolock) where his_status=#{status} " +
|
|
|
+ @Select("select trade_no, query_state_times from t_wechat_pay_order with(nolock) where his_status=0 " +
|
|
|
"and order_type<=3 and pay_status in (99, 0, 5, 6, 100) ")
|
|
|
- List<TradeNo> selectTradeNosForScheduleTask(@Param("status") int status);
|
|
|
+ List<TradeNo> selectTradeNosForScheduleTask();
|
|
|
|
|
|
@Select("select open_id from t_wechat_patient_bind with(nolock) where patient_id=#{cardNo} and del_flag=0")
|
|
|
List<String> selectOpenIdByPatientId(@Param("cardNo") String cardNo);
|