|
|
@@ -14,6 +14,6 @@ import java.math.BigDecimal;
|
|
|
*创建时间:2023/8/28 12:01
|
|
|
*/
|
|
|
public interface GiftCardUserRecordMapper extends BaseMapper<GiftCardUserRecord> {
|
|
|
- @Update("update gift_card_user_record set remain_crash = remain_crash + #{addCash},is_used = 0 where id = #{gcId} and remain_crash = #{remainCash}")
|
|
|
+ @Update("update gift_card_user_record set remain_cash = remain_cash + #{addCash},is_used = 0 where id = #{gcId} and remain_cash = #{remainCash}")
|
|
|
Integer updateGiftCardRemainCash(@Param("gcId") Long gcId, @Param("addCash") BigDecimal addCash, @Param("remainCash") BigDecimal remainCash);
|
|
|
}
|