package com.xzx.gc.pay.mapper; import com.xzx.gc.entity.AccountInfo; import com.xzx.gc.entity.PayLog; import com.xzx.gc.model.admin.UserAccountModel; import com.xzx.gc.util.GcMapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Map; @Repository public interface AccountMapper extends GcMapper { int updateLimitByOrder(Map map); int updateMoneyAndLimit(Map map); int updateAccountOverdrawPrice(@Param("newOverdrawPrice") String newOverdrawPrice, @Param("oldOverdrawPrice") String oldOverdrawPrice, @Param("orderIds") List orderIds, @Param("oldFixPrice") String oldFixPrice); UserAccountModel queryAccountInfo(@Param("userId")String userId, @Param("phone")String phone); int updateOverdrawPriceByUserId(@Param("accountId") String accountId, @Param("money") String money); int updateAccountMoneyDouble(PayLog payLog); int updateLimitByUserId(@Param("accountId") String accountId, @Param("money") String money); UserAccountModel getAccountByUserId(String userId); void updateUserAccount(UserAccountModel userAccountModel); }