package com.sqx.modules.app.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sqx.modules.app.entity.UserMoney;
import com.sqx.modules.app.entity.UserMoneyArtificer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMoneyArtificerDao extends BaseMapper<UserMoneyArtificer> {

    int updateMoney(@Param("type") Integer type, @Param("userId") Long userId,@Param("artificerId") Long artificerId,@Param("money") Double money);

}
