diff --git a/mallinkService/src/main/resources/mapper/WxCreditHistoryMapper.xml b/mallinkService/src/main/resources/mapper/WxCreditHistoryMapper.xml index c993d81c3..c12f8b00b 100644 --- a/mallinkService/src/main/resources/mapper/WxCreditHistoryMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCreditHistoryMapper.xml @@ -8,7 +8,7 @@ - + @@ -127,7 +127,7 @@ and `c_user_id` = #{cUserId} - + and `credit_type` = #{creditType} and DATEDIFF(`create_date`,now())=0 @@ -143,14 +143,14 @@ and `c_user_id` = #{cUserId} - + and `credit_type` = #{creditType} and DATEDIFF(`create_date`,now())=0 - + SELECT credit_amount FROM wx_credit_history where c_user_id = #{cUserId} ORDER BY id desc limit 1