package com.xzx.gc.order.mapper; import com.xzx.gc.entity.AccountInfo; import com.xzx.gc.entity.OrderInfo; import com.xzx.gc.entity.PayLog; import com.xzx.gc.model.admin.UserAccountModel; import com.xzx.gc.model.user.AccountVo; 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 updateMyMoneyByOrder(Map map); int updateMyScoreByOrder(Map map); List queryMyMoney(Map map); int updateLimitByOrder(Map map); int updateMoneyAndLimit(Map map); int updateAccountMoneyDouble(PayLog payLog); int addCuserAccountRole(@Param("id") String id, @Param("phone") String phone, @Param("userId") String userId, @Param("money") String money); UserAccountModel getAccountByUserId(String userId); void updateUserAccount(@Param("accountId") String accountId, @Param("money") String money, @Param("overdraftLimit") String overdraftLimit); }