初始化
This commit is contained in:
@ -15,14 +15,42 @@
|
||||
system系统模块
|
||||
</description>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<!-- 通用工具-->
|
||||
<dependency>
|
||||
<groupId>com.ruoyi</groupId>
|
||||
<artifactId>ruoyi-common</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
<dependencies>
|
||||
|
||||
<!-- 通用工具-->
|
||||
<dependency>
|
||||
<groupId>com.ruoyi</groupId>
|
||||
<artifactId>ruoyi-common</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- 微信小程序SDK -->
|
||||
<dependency>
|
||||
<groupId>com.github.binarywang</groupId>
|
||||
<artifactId>weixin-java-miniapp</artifactId>
|
||||
<version>4.5.0</version>
|
||||
</dependency>
|
||||
|
||||
<!-- 支付宝SDK -->
|
||||
<dependency>
|
||||
<groupId>com.alipay.sdk</groupId>
|
||||
<artifactId>alipay-sdk-java</artifactId>
|
||||
<version>4.38.157.ALL</version>
|
||||
</dependency>
|
||||
|
||||
<!-- HTTP客户端 -->
|
||||
<dependency>
|
||||
<groupId>org.apache.httpcomponents</groupId>
|
||||
<artifactId>httpclient</artifactId>
|
||||
<version>4.5.13</version>
|
||||
</dependency>
|
||||
|
||||
<!-- JSON处理 -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>fastjson</artifactId>
|
||||
<version>1.2.83</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
@ -0,0 +1,409 @@
|
||||
package com.ruoyi.system.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 角色基础对象 fate_character
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public class FateCharacter extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long characterId;
|
||||
|
||||
/** 角色名称 */
|
||||
@Excel(name = "角色名称")
|
||||
private String name;
|
||||
|
||||
/** 稀有度(1-5星) */
|
||||
@Excel(name = "稀有度(1-5星)")
|
||||
private Long rarity;
|
||||
|
||||
/** 稀有度描述 */
|
||||
private transient String rarityDesc;
|
||||
|
||||
/** 基础生命值最小值 */
|
||||
@Excel(name = "基础生命值最小值")
|
||||
private BigDecimal baseHpMin;
|
||||
|
||||
/** 基础生命值最大值 */
|
||||
@Excel(name = "基础生命值最大值")
|
||||
private BigDecimal baseHpMax;
|
||||
|
||||
/** 基础攻击力最小值 */
|
||||
@Excel(name = "基础攻击力最小值")
|
||||
private BigDecimal baseAtkMin;
|
||||
|
||||
/** 基础攻击力最大值 */
|
||||
@Excel(name = "基础攻击力最大值")
|
||||
private BigDecimal baseAtkMax;
|
||||
|
||||
/** 基础防御力最小值 */
|
||||
@Excel(name = "基础防御力最小值")
|
||||
private BigDecimal baseDefMin;
|
||||
|
||||
/** 基础防御力最大值 */
|
||||
@Excel(name = "基础防御力最大值")
|
||||
private BigDecimal baseDefMax;
|
||||
|
||||
/** 基础魔防最小值 */
|
||||
@Excel(name = "基础魔防最小值")
|
||||
private BigDecimal baseResMin;
|
||||
|
||||
/** 基础魔防最大值 */
|
||||
@Excel(name = "基础魔防最大值")
|
||||
private BigDecimal baseResMax;
|
||||
|
||||
/** 基础速度最小值 */
|
||||
@Excel(name = "基础速度最小值")
|
||||
private BigDecimal baseSpdMin;
|
||||
|
||||
/** 基础速度最大值 */
|
||||
@Excel(name = "基础速度最大值")
|
||||
private BigDecimal baseSpdMax;
|
||||
|
||||
/** HP成长率 */
|
||||
@Excel(name = "HP成长率")
|
||||
private BigDecimal growthHp;
|
||||
|
||||
/** 攻击成长率 */
|
||||
@Excel(name = "攻击成长率")
|
||||
private BigDecimal growthAtk;
|
||||
|
||||
/** 防御成长率 */
|
||||
@Excel(name = "防御成长率")
|
||||
private BigDecimal growthDef;
|
||||
|
||||
/** 魔防成长率 */
|
||||
@Excel(name = "魔防成长率")
|
||||
private BigDecimal growthRes;
|
||||
|
||||
/** 速度成长率 */
|
||||
@Excel(name = "速度成长率")
|
||||
private BigDecimal growthSpd;
|
||||
|
||||
/** 移动类型 */
|
||||
@Excel(name = "移动类型")
|
||||
private String moveType;
|
||||
|
||||
/** 移动类型描述 */
|
||||
private transient String moveTypeDesc;
|
||||
|
||||
/** 武器类型 */
|
||||
@Excel(name = "武器类型")
|
||||
private String weaponType;
|
||||
|
||||
/** 武器类型描述 */
|
||||
private transient String weaponTypeDesc;
|
||||
|
||||
/** 角色描述 */
|
||||
@Excel(name = "角色描述")
|
||||
private String description;
|
||||
|
||||
/** 角色头像 */
|
||||
@Excel(name = "角色头像")
|
||||
private String avatarUrl;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private Date createdAt;
|
||||
|
||||
public void setCharacterId(Long characterId)
|
||||
{
|
||||
this.characterId = characterId;
|
||||
}
|
||||
|
||||
public Long getCharacterId()
|
||||
{
|
||||
return characterId;
|
||||
}
|
||||
|
||||
public void setName(String name)
|
||||
{
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setRarity(Long rarity)
|
||||
{
|
||||
this.rarity = rarity;
|
||||
}
|
||||
|
||||
public Long getRarity()
|
||||
{
|
||||
return rarity;
|
||||
}
|
||||
|
||||
public String getRarityDesc()
|
||||
{
|
||||
return com.ruoyi.system.domain.enums.RarityEnum.getDescByCode(rarity);
|
||||
}
|
||||
|
||||
public void setRarityDesc(String rarityDesc)
|
||||
{
|
||||
this.rarityDesc = rarityDesc;
|
||||
}
|
||||
|
||||
public void setBaseHpMin(BigDecimal baseHpMin)
|
||||
{
|
||||
this.baseHpMin = baseHpMin;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseHpMin()
|
||||
{
|
||||
return baseHpMin;
|
||||
}
|
||||
|
||||
public void setBaseHpMax(BigDecimal baseHpMax)
|
||||
{
|
||||
this.baseHpMax = baseHpMax;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseHpMax()
|
||||
{
|
||||
return baseHpMax;
|
||||
}
|
||||
|
||||
public void setBaseAtkMin(BigDecimal baseAtkMin)
|
||||
{
|
||||
this.baseAtkMin = baseAtkMin;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseAtkMin()
|
||||
{
|
||||
return baseAtkMin;
|
||||
}
|
||||
|
||||
public void setBaseAtkMax(BigDecimal baseAtkMax)
|
||||
{
|
||||
this.baseAtkMax = baseAtkMax;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseAtkMax()
|
||||
{
|
||||
return baseAtkMax;
|
||||
}
|
||||
|
||||
public void setBaseDefMin(BigDecimal baseDefMin)
|
||||
{
|
||||
this.baseDefMin = baseDefMin;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseDefMin()
|
||||
{
|
||||
return baseDefMin;
|
||||
}
|
||||
|
||||
public void setBaseDefMax(BigDecimal baseDefMax)
|
||||
{
|
||||
this.baseDefMax = baseDefMax;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseDefMax()
|
||||
{
|
||||
return baseDefMax;
|
||||
}
|
||||
|
||||
public void setBaseResMin(BigDecimal baseResMin)
|
||||
{
|
||||
this.baseResMin = baseResMin;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseResMin()
|
||||
{
|
||||
return baseResMin;
|
||||
}
|
||||
|
||||
public void setBaseResMax(BigDecimal baseResMax)
|
||||
{
|
||||
this.baseResMax = baseResMax;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseResMax()
|
||||
{
|
||||
return baseResMax;
|
||||
}
|
||||
|
||||
public void setBaseSpdMin(BigDecimal baseSpdMin)
|
||||
{
|
||||
this.baseSpdMin = baseSpdMin;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseSpdMin()
|
||||
{
|
||||
return baseSpdMin;
|
||||
}
|
||||
|
||||
public void setBaseSpdMax(BigDecimal baseSpdMax)
|
||||
{
|
||||
this.baseSpdMax = baseSpdMax;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseSpdMax()
|
||||
{
|
||||
return baseSpdMax;
|
||||
}
|
||||
|
||||
public void setGrowthHp(BigDecimal growthHp)
|
||||
{
|
||||
this.growthHp = growthHp;
|
||||
}
|
||||
|
||||
public BigDecimal getGrowthHp()
|
||||
{
|
||||
return growthHp;
|
||||
}
|
||||
|
||||
public void setGrowthAtk(BigDecimal growthAtk)
|
||||
{
|
||||
this.growthAtk = growthAtk;
|
||||
}
|
||||
|
||||
public BigDecimal getGrowthAtk()
|
||||
{
|
||||
return growthAtk;
|
||||
}
|
||||
|
||||
public void setGrowthDef(BigDecimal growthDef)
|
||||
{
|
||||
this.growthDef = growthDef;
|
||||
}
|
||||
|
||||
public BigDecimal getGrowthDef()
|
||||
{
|
||||
return growthDef;
|
||||
}
|
||||
|
||||
public void setGrowthRes(BigDecimal growthRes)
|
||||
{
|
||||
this.growthRes = growthRes;
|
||||
}
|
||||
|
||||
public BigDecimal getGrowthRes()
|
||||
{
|
||||
return growthRes;
|
||||
}
|
||||
|
||||
public void setGrowthSpd(BigDecimal growthSpd)
|
||||
{
|
||||
this.growthSpd = growthSpd;
|
||||
}
|
||||
|
||||
public BigDecimal getGrowthSpd()
|
||||
{
|
||||
return growthSpd;
|
||||
}
|
||||
|
||||
public void setMoveType(String moveType)
|
||||
{
|
||||
this.moveType = moveType;
|
||||
}
|
||||
|
||||
public String getMoveType()
|
||||
{
|
||||
return moveType;
|
||||
}
|
||||
|
||||
public String getMoveTypeDesc()
|
||||
{
|
||||
return com.ruoyi.system.domain.enums.MoveTypeEnum.getDescByCode(moveType);
|
||||
}
|
||||
|
||||
public void setMoveTypeDesc(String moveTypeDesc)
|
||||
{
|
||||
this.moveTypeDesc = moveTypeDesc;
|
||||
}
|
||||
|
||||
public void setWeaponType(String weaponType)
|
||||
{
|
||||
this.weaponType = weaponType;
|
||||
}
|
||||
|
||||
public String getWeaponType()
|
||||
{
|
||||
return weaponType;
|
||||
}
|
||||
|
||||
public String getWeaponTypeDesc()
|
||||
{
|
||||
return com.ruoyi.system.domain.enums.WeaponTypeEnum.getDescByCode(weaponType);
|
||||
}
|
||||
|
||||
public void setWeaponTypeDesc(String weaponTypeDesc)
|
||||
{
|
||||
this.weaponTypeDesc = weaponTypeDesc;
|
||||
}
|
||||
|
||||
public void setDescription(String description)
|
||||
{
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getDescription()
|
||||
{
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setAvatarUrl(String avatarUrl)
|
||||
{
|
||||
this.avatarUrl = avatarUrl;
|
||||
}
|
||||
|
||||
public String getAvatarUrl()
|
||||
{
|
||||
return avatarUrl;
|
||||
}
|
||||
|
||||
public void setCreatedAt(Date createdAt)
|
||||
{
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
public Date getCreatedAt()
|
||||
{
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("characterId", getCharacterId())
|
||||
.append("name", getName())
|
||||
.append("rarity", getRarity())
|
||||
.append("baseHpMin", getBaseHpMin())
|
||||
.append("baseHpMax", getBaseHpMax())
|
||||
.append("baseAtkMin", getBaseAtkMin())
|
||||
.append("baseAtkMax", getBaseAtkMax())
|
||||
.append("baseDefMin", getBaseDefMin())
|
||||
.append("baseDefMax", getBaseDefMax())
|
||||
.append("baseResMin", getBaseResMin())
|
||||
.append("baseResMax", getBaseResMax())
|
||||
.append("baseSpdMin", getBaseSpdMin())
|
||||
.append("baseSpdMax", getBaseSpdMax())
|
||||
.append("growthHp", getGrowthHp())
|
||||
.append("growthAtk", getGrowthAtk())
|
||||
.append("growthDef", getGrowthDef())
|
||||
.append("growthRes", getGrowthRes())
|
||||
.append("growthSpd", getGrowthSpd())
|
||||
.append("moveType", getMoveType())
|
||||
.append("weaponType", getWeaponType())
|
||||
.append("description", getDescription())
|
||||
.append("avatarUrl", getAvatarUrl())
|
||||
.append("createdAt", getCreatedAt())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,175 @@
|
||||
package com.ruoyi.system.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 角色属性成长记录对象 fate_character_growth_logs
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public class FateCharacterGrowthLogs extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long logId;
|
||||
|
||||
/** 用户角色ID */
|
||||
@Excel(name = "用户角色ID")
|
||||
private Long userCharacterId;
|
||||
|
||||
/** 升级前等级 */
|
||||
@Excel(name = "升级前等级")
|
||||
private Long levelUpFrom;
|
||||
|
||||
/** 升级后等级 */
|
||||
@Excel(name = "升级后等级")
|
||||
private Long levelUpTo;
|
||||
|
||||
/** HP增长值 */
|
||||
@Excel(name = "HP增长值")
|
||||
private BigDecimal hpIncrease;
|
||||
|
||||
/** 攻击增长值 */
|
||||
@Excel(name = "攻击增长值")
|
||||
private BigDecimal atkIncrease;
|
||||
|
||||
/** 防御增长值 */
|
||||
@Excel(name = "防御增长值")
|
||||
private BigDecimal defIncrease;
|
||||
|
||||
/** 魔防增长值 */
|
||||
@Excel(name = "魔防增长值")
|
||||
private BigDecimal resIncrease;
|
||||
|
||||
/** 速度增长值 */
|
||||
@Excel(name = "速度增长值")
|
||||
private BigDecimal spdIncrease;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private Date growthDate;
|
||||
|
||||
public void setLogId(Long logId)
|
||||
{
|
||||
this.logId = logId;
|
||||
}
|
||||
|
||||
public Long getLogId()
|
||||
{
|
||||
return logId;
|
||||
}
|
||||
|
||||
public void setUserCharacterId(Long userCharacterId)
|
||||
{
|
||||
this.userCharacterId = userCharacterId;
|
||||
}
|
||||
|
||||
public Long getUserCharacterId()
|
||||
{
|
||||
return userCharacterId;
|
||||
}
|
||||
|
||||
public void setLevelUpFrom(Long levelUpFrom)
|
||||
{
|
||||
this.levelUpFrom = levelUpFrom;
|
||||
}
|
||||
|
||||
public Long getLevelUpFrom()
|
||||
{
|
||||
return levelUpFrom;
|
||||
}
|
||||
|
||||
public void setLevelUpTo(Long levelUpTo)
|
||||
{
|
||||
this.levelUpTo = levelUpTo;
|
||||
}
|
||||
|
||||
public Long getLevelUpTo()
|
||||
{
|
||||
return levelUpTo;
|
||||
}
|
||||
|
||||
public void setHpIncrease(BigDecimal hpIncrease)
|
||||
{
|
||||
this.hpIncrease = hpIncrease;
|
||||
}
|
||||
|
||||
public BigDecimal getHpIncrease()
|
||||
{
|
||||
return hpIncrease;
|
||||
}
|
||||
|
||||
public void setAtkIncrease(BigDecimal atkIncrease)
|
||||
{
|
||||
this.atkIncrease = atkIncrease;
|
||||
}
|
||||
|
||||
public BigDecimal getAtkIncrease()
|
||||
{
|
||||
return atkIncrease;
|
||||
}
|
||||
|
||||
public void setDefIncrease(BigDecimal defIncrease)
|
||||
{
|
||||
this.defIncrease = defIncrease;
|
||||
}
|
||||
|
||||
public BigDecimal getDefIncrease()
|
||||
{
|
||||
return defIncrease;
|
||||
}
|
||||
|
||||
public void setResIncrease(BigDecimal resIncrease)
|
||||
{
|
||||
this.resIncrease = resIncrease;
|
||||
}
|
||||
|
||||
public BigDecimal getResIncrease()
|
||||
{
|
||||
return resIncrease;
|
||||
}
|
||||
|
||||
public void setSpdIncrease(BigDecimal spdIncrease)
|
||||
{
|
||||
this.spdIncrease = spdIncrease;
|
||||
}
|
||||
|
||||
public BigDecimal getSpdIncrease()
|
||||
{
|
||||
return spdIncrease;
|
||||
}
|
||||
|
||||
public void setGrowthDate(Date growthDate)
|
||||
{
|
||||
this.growthDate = growthDate;
|
||||
}
|
||||
|
||||
public Date getGrowthDate()
|
||||
{
|
||||
return growthDate;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("logId", getLogId())
|
||||
.append("userCharacterId", getUserCharacterId())
|
||||
.append("levelUpFrom", getLevelUpFrom())
|
||||
.append("levelUpTo", getLevelUpTo())
|
||||
.append("hpIncrease", getHpIncrease())
|
||||
.append("atkIncrease", getAtkIncrease())
|
||||
.append("defIncrease", getDefIncrease())
|
||||
.append("resIncrease", getResIncrease())
|
||||
.append("spdIncrease", getSpdIncrease())
|
||||
.append("growthDate", getGrowthDate())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,159 @@
|
||||
package com.ruoyi.system.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 角色职业对象 fate_character_jobs
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public class FateCharacterJobs extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long characterJobId;
|
||||
|
||||
/** 用户角色ID */
|
||||
@Excel(name = "用户角色ID")
|
||||
private Long userCharacterId;
|
||||
|
||||
/** 职业ID */
|
||||
@Excel(name = "职业ID")
|
||||
private Long jobId;
|
||||
|
||||
/** 职业等级 */
|
||||
@Excel(name = "职业等级")
|
||||
private Long jobLevel;
|
||||
|
||||
/** 职业经验 */
|
||||
@Excel(name = "职业经验")
|
||||
private Long jobExperience;
|
||||
|
||||
/** 是否为当前职业 */
|
||||
@Excel(name = "是否为当前职业")
|
||||
private Integer isCurrent;
|
||||
|
||||
/** 已学习技能[skill_id] */
|
||||
@Excel(name = "已学习技能[skill_id]")
|
||||
private String learnedSkills;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private Date createdAt;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private Date updatedAt;
|
||||
|
||||
public void setCharacterJobId(Long characterJobId)
|
||||
{
|
||||
this.characterJobId = characterJobId;
|
||||
}
|
||||
|
||||
public Long getCharacterJobId()
|
||||
{
|
||||
return characterJobId;
|
||||
}
|
||||
|
||||
public void setUserCharacterId(Long userCharacterId)
|
||||
{
|
||||
this.userCharacterId = userCharacterId;
|
||||
}
|
||||
|
||||
public Long getUserCharacterId()
|
||||
{
|
||||
return userCharacterId;
|
||||
}
|
||||
|
||||
public void setJobId(Long jobId)
|
||||
{
|
||||
this.jobId = jobId;
|
||||
}
|
||||
|
||||
public Long getJobId()
|
||||
{
|
||||
return jobId;
|
||||
}
|
||||
|
||||
public void setJobLevel(Long jobLevel)
|
||||
{
|
||||
this.jobLevel = jobLevel;
|
||||
}
|
||||
|
||||
public Long getJobLevel()
|
||||
{
|
||||
return jobLevel;
|
||||
}
|
||||
|
||||
public void setJobExperience(Long jobExperience)
|
||||
{
|
||||
this.jobExperience = jobExperience;
|
||||
}
|
||||
|
||||
public Long getJobExperience()
|
||||
{
|
||||
return jobExperience;
|
||||
}
|
||||
|
||||
public void setIsCurrent(Integer isCurrent)
|
||||
{
|
||||
this.isCurrent = isCurrent;
|
||||
}
|
||||
|
||||
public Integer getIsCurrent()
|
||||
{
|
||||
return isCurrent;
|
||||
}
|
||||
|
||||
public void setLearnedSkills(String learnedSkills)
|
||||
{
|
||||
this.learnedSkills = learnedSkills;
|
||||
}
|
||||
|
||||
public String getLearnedSkills()
|
||||
{
|
||||
return learnedSkills;
|
||||
}
|
||||
|
||||
public void setCreatedAt(Date createdAt)
|
||||
{
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
public Date getCreatedAt()
|
||||
{
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
public void setUpdatedAt(Date updatedAt)
|
||||
{
|
||||
this.updatedAt = updatedAt;
|
||||
}
|
||||
|
||||
public Date getUpdatedAt()
|
||||
{
|
||||
return updatedAt;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("characterJobId", getCharacterJobId())
|
||||
.append("userCharacterId", getUserCharacterId())
|
||||
.append("jobId", getJobId())
|
||||
.append("jobLevel", getJobLevel())
|
||||
.append("jobExperience", getJobExperience())
|
||||
.append("isCurrent", getIsCurrent())
|
||||
.append("learnedSkills", getLearnedSkills())
|
||||
.append("createdAt", getCreatedAt())
|
||||
.append("updatedAt", getUpdatedAt())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,145 @@
|
||||
package com.ruoyi.system.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 装备附加属性对象 fate_equipment_attributes
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public class FateEquipmentAttributes extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long attributeId;
|
||||
|
||||
/** 属性名称 */
|
||||
@Excel(name = "属性名称")
|
||||
private String attributeName;
|
||||
|
||||
/** 属性代码 */
|
||||
@Excel(name = "属性代码")
|
||||
private String attributeCode;
|
||||
|
||||
/** 属性类型 */
|
||||
@Excel(name = "属性类型")
|
||||
private String attributeType;
|
||||
|
||||
/** 最小值 */
|
||||
@Excel(name = "最小值")
|
||||
private BigDecimal minValue;
|
||||
|
||||
/** 最大值 */
|
||||
@Excel(name = "最大值")
|
||||
private BigDecimal maxValue;
|
||||
|
||||
/** 属性描述 */
|
||||
@Excel(name = "属性描述")
|
||||
private String description;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private Date createdAt;
|
||||
|
||||
public void setAttributeId(Long attributeId)
|
||||
{
|
||||
this.attributeId = attributeId;
|
||||
}
|
||||
|
||||
public Long getAttributeId()
|
||||
{
|
||||
return attributeId;
|
||||
}
|
||||
|
||||
public void setAttributeName(String attributeName)
|
||||
{
|
||||
this.attributeName = attributeName;
|
||||
}
|
||||
|
||||
public String getAttributeName()
|
||||
{
|
||||
return attributeName;
|
||||
}
|
||||
|
||||
public void setAttributeCode(String attributeCode)
|
||||
{
|
||||
this.attributeCode = attributeCode;
|
||||
}
|
||||
|
||||
public String getAttributeCode()
|
||||
{
|
||||
return attributeCode;
|
||||
}
|
||||
|
||||
public void setAttributeType(String attributeType)
|
||||
{
|
||||
this.attributeType = attributeType;
|
||||
}
|
||||
|
||||
public String getAttributeType()
|
||||
{
|
||||
return attributeType;
|
||||
}
|
||||
|
||||
public void setMinValue(BigDecimal minValue)
|
||||
{
|
||||
this.minValue = minValue;
|
||||
}
|
||||
|
||||
public BigDecimal getMinValue()
|
||||
{
|
||||
return minValue;
|
||||
}
|
||||
|
||||
public void setMaxValue(BigDecimal maxValue)
|
||||
{
|
||||
this.maxValue = maxValue;
|
||||
}
|
||||
|
||||
public BigDecimal getMaxValue()
|
||||
{
|
||||
return maxValue;
|
||||
}
|
||||
|
||||
public void setDescription(String description)
|
||||
{
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getDescription()
|
||||
{
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setCreatedAt(Date createdAt)
|
||||
{
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
public Date getCreatedAt()
|
||||
{
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("attributeId", getAttributeId())
|
||||
.append("attributeName", getAttributeName())
|
||||
.append("attributeCode", getAttributeCode())
|
||||
.append("attributeType", getAttributeType())
|
||||
.append("minValue", getMinValue())
|
||||
.append("maxValue", getMaxValue())
|
||||
.append("description", getDescription())
|
||||
.append("createdAt", getCreatedAt())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,129 @@
|
||||
package com.ruoyi.system.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 装备可能拥有的属性对象 fate_equipment_possible_attributes
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public class FateEquipmentPossibleAttributes extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 装备ID */
|
||||
@Excel(name = "装备ID")
|
||||
private Long equipmentId;
|
||||
|
||||
/** 属性ID */
|
||||
@Excel(name = "属性ID")
|
||||
private Long attributeId;
|
||||
|
||||
/** 出现权重 */
|
||||
@Excel(name = "出现权重")
|
||||
private Long weight;
|
||||
|
||||
/** 最小出现次数 */
|
||||
@Excel(name = "最小出现次数")
|
||||
private Long minRolls;
|
||||
|
||||
/** 最大出现次数 */
|
||||
@Excel(name = "最大出现次数")
|
||||
private Long maxRolls;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private Date createdAt;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setEquipmentId(Long equipmentId)
|
||||
{
|
||||
this.equipmentId = equipmentId;
|
||||
}
|
||||
|
||||
public Long getEquipmentId()
|
||||
{
|
||||
return equipmentId;
|
||||
}
|
||||
|
||||
public void setAttributeId(Long attributeId)
|
||||
{
|
||||
this.attributeId = attributeId;
|
||||
}
|
||||
|
||||
public Long getAttributeId()
|
||||
{
|
||||
return attributeId;
|
||||
}
|
||||
|
||||
public void setWeight(Long weight)
|
||||
{
|
||||
this.weight = weight;
|
||||
}
|
||||
|
||||
public Long getWeight()
|
||||
{
|
||||
return weight;
|
||||
}
|
||||
|
||||
public void setMinRolls(Long minRolls)
|
||||
{
|
||||
this.minRolls = minRolls;
|
||||
}
|
||||
|
||||
public Long getMinRolls()
|
||||
{
|
||||
return minRolls;
|
||||
}
|
||||
|
||||
public void setMaxRolls(Long maxRolls)
|
||||
{
|
||||
this.maxRolls = maxRolls;
|
||||
}
|
||||
|
||||
public Long getMaxRolls()
|
||||
{
|
||||
return maxRolls;
|
||||
}
|
||||
|
||||
public void setCreatedAt(Date createdAt)
|
||||
{
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
public Date getCreatedAt()
|
||||
{
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("equipmentId", getEquipmentId())
|
||||
.append("attributeId", getAttributeId())
|
||||
.append("weight", getWeight())
|
||||
.append("minRolls", getMinRolls())
|
||||
.append("maxRolls", getMaxRolls())
|
||||
.append("createdAt", getCreatedAt())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,129 @@
|
||||
package com.ruoyi.system.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 装备品质对象 fate_equipment_qualities
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public class FateEquipmentQualities extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long qualityId;
|
||||
|
||||
/** 品质名称 */
|
||||
@Excel(name = "品质名称")
|
||||
private String qualityName;
|
||||
|
||||
/** 品质代码 */
|
||||
@Excel(name = "品质代码")
|
||||
private String qualityCode;
|
||||
|
||||
/** 颜色代码 */
|
||||
@Excel(name = "颜色代码")
|
||||
private String colorCode;
|
||||
|
||||
/** 最低装备等级 */
|
||||
@Excel(name = "最低装备等级")
|
||||
private Long minLevel;
|
||||
|
||||
/** 最高装备等级 */
|
||||
@Excel(name = "最高装备等级")
|
||||
private Long maxLevel;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private Date createdAt;
|
||||
|
||||
public void setQualityId(Long qualityId)
|
||||
{
|
||||
this.qualityId = qualityId;
|
||||
}
|
||||
|
||||
public Long getQualityId()
|
||||
{
|
||||
return qualityId;
|
||||
}
|
||||
|
||||
public void setQualityName(String qualityName)
|
||||
{
|
||||
this.qualityName = qualityName;
|
||||
}
|
||||
|
||||
public String getQualityName()
|
||||
{
|
||||
return qualityName;
|
||||
}
|
||||
|
||||
public void setQualityCode(String qualityCode)
|
||||
{
|
||||
this.qualityCode = qualityCode;
|
||||
}
|
||||
|
||||
public String getQualityCode()
|
||||
{
|
||||
return qualityCode;
|
||||
}
|
||||
|
||||
public void setColorCode(String colorCode)
|
||||
{
|
||||
this.colorCode = colorCode;
|
||||
}
|
||||
|
||||
public String getColorCode()
|
||||
{
|
||||
return colorCode;
|
||||
}
|
||||
|
||||
public void setMinLevel(Long minLevel)
|
||||
{
|
||||
this.minLevel = minLevel;
|
||||
}
|
||||
|
||||
public Long getMinLevel()
|
||||
{
|
||||
return minLevel;
|
||||
}
|
||||
|
||||
public void setMaxLevel(Long maxLevel)
|
||||
{
|
||||
this.maxLevel = maxLevel;
|
||||
}
|
||||
|
||||
public Long getMaxLevel()
|
||||
{
|
||||
return maxLevel;
|
||||
}
|
||||
|
||||
public void setCreatedAt(Date createdAt)
|
||||
{
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
public Date getCreatedAt()
|
||||
{
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("qualityId", getQualityId())
|
||||
.append("qualityName", getQualityName())
|
||||
.append("qualityCode", getQualityCode())
|
||||
.append("colorCode", getColorCode())
|
||||
.append("minLevel", getMinLevel())
|
||||
.append("maxLevel", getMaxLevel())
|
||||
.append("createdAt", getCreatedAt())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,84 @@
|
||||
package com.ruoyi.system.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 装备套装包含对象 fate_equipment_set_items
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public class FateEquipmentSetItems extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 套装ID */
|
||||
@Excel(name = "套装ID")
|
||||
private Long setId;
|
||||
|
||||
/** 装备ID */
|
||||
@Excel(name = "装备ID")
|
||||
private Long equipmentId;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private Date createdAt;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setSetId(Long setId)
|
||||
{
|
||||
this.setId = setId;
|
||||
}
|
||||
|
||||
public Long getSetId()
|
||||
{
|
||||
return setId;
|
||||
}
|
||||
|
||||
public void setEquipmentId(Long equipmentId)
|
||||
{
|
||||
this.equipmentId = equipmentId;
|
||||
}
|
||||
|
||||
public Long getEquipmentId()
|
||||
{
|
||||
return equipmentId;
|
||||
}
|
||||
|
||||
public void setCreatedAt(Date createdAt)
|
||||
{
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
public Date getCreatedAt()
|
||||
{
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("setId", getSetId())
|
||||
.append("equipmentId", getEquipmentId())
|
||||
.append("createdAt", getCreatedAt())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,190 @@
|
||||
package com.ruoyi.system.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 装备套装对象 fate_equipment_sets
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public class FateEquipmentSets extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long setId;
|
||||
|
||||
/** 套装名称 */
|
||||
@Excel(name = "套装名称")
|
||||
private String setName;
|
||||
|
||||
/** 需求件数 */
|
||||
@Excel(name = "需求件数")
|
||||
private Long requiredPieces;
|
||||
|
||||
/** 加成描述 */
|
||||
@Excel(name = "加成描述")
|
||||
private String bonusDescription;
|
||||
|
||||
/** 生命值加成 */
|
||||
@Excel(name = "生命值加成")
|
||||
private BigDecimal hpBonus;
|
||||
|
||||
/** 攻击力加成 */
|
||||
@Excel(name = "攻击力加成")
|
||||
private BigDecimal atkBonus;
|
||||
|
||||
/** 防御力加成 */
|
||||
@Excel(name = "防御力加成")
|
||||
private BigDecimal defBonus;
|
||||
|
||||
/** 魔防加成 */
|
||||
@Excel(name = "魔防加成")
|
||||
private BigDecimal resBonus;
|
||||
|
||||
/** 速度加成 */
|
||||
@Excel(name = "速度加成")
|
||||
private BigDecimal spdBonus;
|
||||
|
||||
/** 暴击率加成 */
|
||||
@Excel(name = "暴击率加成")
|
||||
private BigDecimal critRateBonus;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private Date createdAt;
|
||||
|
||||
public void setSetId(Long setId)
|
||||
{
|
||||
this.setId = setId;
|
||||
}
|
||||
|
||||
public Long getSetId()
|
||||
{
|
||||
return setId;
|
||||
}
|
||||
|
||||
public void setSetName(String setName)
|
||||
{
|
||||
this.setName = setName;
|
||||
}
|
||||
|
||||
public String getSetName()
|
||||
{
|
||||
return setName;
|
||||
}
|
||||
|
||||
public void setRequiredPieces(Long requiredPieces)
|
||||
{
|
||||
this.requiredPieces = requiredPieces;
|
||||
}
|
||||
|
||||
public Long getRequiredPieces()
|
||||
{
|
||||
return requiredPieces;
|
||||
}
|
||||
|
||||
public void setBonusDescription(String bonusDescription)
|
||||
{
|
||||
this.bonusDescription = bonusDescription;
|
||||
}
|
||||
|
||||
public String getBonusDescription()
|
||||
{
|
||||
return bonusDescription;
|
||||
}
|
||||
|
||||
public void setHpBonus(BigDecimal hpBonus)
|
||||
{
|
||||
this.hpBonus = hpBonus;
|
||||
}
|
||||
|
||||
public BigDecimal getHpBonus()
|
||||
{
|
||||
return hpBonus;
|
||||
}
|
||||
|
||||
public void setAtkBonus(BigDecimal atkBonus)
|
||||
{
|
||||
this.atkBonus = atkBonus;
|
||||
}
|
||||
|
||||
public BigDecimal getAtkBonus()
|
||||
{
|
||||
return atkBonus;
|
||||
}
|
||||
|
||||
public void setDefBonus(BigDecimal defBonus)
|
||||
{
|
||||
this.defBonus = defBonus;
|
||||
}
|
||||
|
||||
public BigDecimal getDefBonus()
|
||||
{
|
||||
return defBonus;
|
||||
}
|
||||
|
||||
public void setResBonus(BigDecimal resBonus)
|
||||
{
|
||||
this.resBonus = resBonus;
|
||||
}
|
||||
|
||||
public BigDecimal getResBonus()
|
||||
{
|
||||
return resBonus;
|
||||
}
|
||||
|
||||
public void setSpdBonus(BigDecimal spdBonus)
|
||||
{
|
||||
this.spdBonus = spdBonus;
|
||||
}
|
||||
|
||||
public BigDecimal getSpdBonus()
|
||||
{
|
||||
return spdBonus;
|
||||
}
|
||||
|
||||
public void setCritRateBonus(BigDecimal critRateBonus)
|
||||
{
|
||||
this.critRateBonus = critRateBonus;
|
||||
}
|
||||
|
||||
public BigDecimal getCritRateBonus()
|
||||
{
|
||||
return critRateBonus;
|
||||
}
|
||||
|
||||
public void setCreatedAt(Date createdAt)
|
||||
{
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
public Date getCreatedAt()
|
||||
{
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("setId", getSetId())
|
||||
.append("setName", getSetName())
|
||||
.append("requiredPieces", getRequiredPieces())
|
||||
.append("bonusDescription", getBonusDescription())
|
||||
.append("hpBonus", getHpBonus())
|
||||
.append("atkBonus", getAtkBonus())
|
||||
.append("defBonus", getDefBonus())
|
||||
.append("resBonus", getResBonus())
|
||||
.append("spdBonus", getSpdBonus())
|
||||
.append("critRateBonus", getCritRateBonus())
|
||||
.append("createdAt", getCreatedAt())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,114 @@
|
||||
package com.ruoyi.system.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 装备类型对象 fate_equipment_types
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public class FateEquipmentTypes extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long typeId;
|
||||
|
||||
/** 装备类型名称 */
|
||||
@Excel(name = "装备类型名称")
|
||||
private String typeName;
|
||||
|
||||
/** 装备类型代码 */
|
||||
@Excel(name = "装备类型代码")
|
||||
private String typeCode;
|
||||
|
||||
/** 装备栏位索引 */
|
||||
@Excel(name = "装备栏位索引")
|
||||
private Long slotIndex;
|
||||
|
||||
/** 类型描述 */
|
||||
@Excel(name = "类型描述")
|
||||
private String description;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private Date createdAt;
|
||||
|
||||
public void setTypeId(Long typeId)
|
||||
{
|
||||
this.typeId = typeId;
|
||||
}
|
||||
|
||||
public Long getTypeId()
|
||||
{
|
||||
return typeId;
|
||||
}
|
||||
|
||||
public void setTypeName(String typeName)
|
||||
{
|
||||
this.typeName = typeName;
|
||||
}
|
||||
|
||||
public String getTypeName()
|
||||
{
|
||||
return typeName;
|
||||
}
|
||||
|
||||
public void setTypeCode(String typeCode)
|
||||
{
|
||||
this.typeCode = typeCode;
|
||||
}
|
||||
|
||||
public String getTypeCode()
|
||||
{
|
||||
return typeCode;
|
||||
}
|
||||
|
||||
public void setSlotIndex(Long slotIndex)
|
||||
{
|
||||
this.slotIndex = slotIndex;
|
||||
}
|
||||
|
||||
public Long getSlotIndex()
|
||||
{
|
||||
return slotIndex;
|
||||
}
|
||||
|
||||
public void setDescription(String description)
|
||||
{
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getDescription()
|
||||
{
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setCreatedAt(Date createdAt)
|
||||
{
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
public Date getCreatedAt()
|
||||
{
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("typeId", getTypeId())
|
||||
.append("typeName", getTypeName())
|
||||
.append("typeCode", getTypeCode())
|
||||
.append("slotIndex", getSlotIndex())
|
||||
.append("description", getDescription())
|
||||
.append("createdAt", getCreatedAt())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,415 @@
|
||||
package com.ruoyi.system.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 装备基础对象 fate_equipments
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public class FateEquipments extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long equipmentId;
|
||||
|
||||
/** 装备名称 */
|
||||
@Excel(name = "装备名称")
|
||||
private String name;
|
||||
|
||||
/** 装备类型ID */
|
||||
@Excel(name = "装备类型ID")
|
||||
private Long typeId;
|
||||
|
||||
/** 品质ID */
|
||||
@Excel(name = "品质ID")
|
||||
private Long qualityId;
|
||||
|
||||
/** 需求等级 */
|
||||
@Excel(name = "需求等级")
|
||||
private Long requiredLevel;
|
||||
|
||||
/** 基础生命值最小值 */
|
||||
@Excel(name = "基础生命值最小值")
|
||||
private BigDecimal baseHpMin;
|
||||
|
||||
/** 基础生命值最大值 */
|
||||
@Excel(name = "基础生命值最大值")
|
||||
private BigDecimal baseHpMax;
|
||||
|
||||
/** 基础攻击力最小值 */
|
||||
@Excel(name = "基础攻击力最小值")
|
||||
private BigDecimal baseAtkMin;
|
||||
|
||||
/** 基础攻击力最大值 */
|
||||
@Excel(name = "基础攻击力最大值")
|
||||
private BigDecimal baseAtkMax;
|
||||
|
||||
/** 基础防御力最小值 */
|
||||
@Excel(name = "基础防御力最小值")
|
||||
private BigDecimal baseDefMin;
|
||||
|
||||
/** 基础防御力最大值 */
|
||||
@Excel(name = "基础防御力最大值")
|
||||
private BigDecimal baseDefMax;
|
||||
|
||||
/** 基础魔防最小值 */
|
||||
@Excel(name = "基础魔防最小值")
|
||||
private BigDecimal baseResMin;
|
||||
|
||||
/** 基础魔防最大值 */
|
||||
@Excel(name = "基础魔防最大值")
|
||||
private BigDecimal baseResMax;
|
||||
|
||||
/** 基础速度最小值 */
|
||||
@Excel(name = "基础速度最小值")
|
||||
private BigDecimal baseSpdMin;
|
||||
|
||||
/** 基础速度最大值 */
|
||||
@Excel(name = "基础速度最大值")
|
||||
private BigDecimal baseSpdMax;
|
||||
|
||||
/** 基础暴击率 */
|
||||
@Excel(name = "基础暴击率")
|
||||
private BigDecimal baseCritRate;
|
||||
|
||||
/** 基础暴击伤害 */
|
||||
@Excel(name = "基础暴击伤害")
|
||||
private BigDecimal baseCritDamage;
|
||||
|
||||
/** 基础闪避率 */
|
||||
@Excel(name = "基础闪避率")
|
||||
private BigDecimal baseDodgeRate;
|
||||
|
||||
/** 武器类型(仅武器有效) */
|
||||
@Excel(name = "武器类型(仅武器有效)")
|
||||
private String weaponType;
|
||||
|
||||
/** 是否双手武器 */
|
||||
@Excel(name = "是否双手武器")
|
||||
private Integer isTwoHanded;
|
||||
|
||||
/** 装备重量 */
|
||||
@Excel(name = "装备重量")
|
||||
private Long weight;
|
||||
|
||||
/** 耐久度 */
|
||||
@Excel(name = "耐久度")
|
||||
private Long durability;
|
||||
|
||||
/** 出售价格 */
|
||||
@Excel(name = "出售价格")
|
||||
private Long sellPrice;
|
||||
|
||||
/** 装备描述 */
|
||||
@Excel(name = "装备描述")
|
||||
private String description;
|
||||
|
||||
/** 图标URL */
|
||||
@Excel(name = "图标URL")
|
||||
private String iconUrl;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private Date createdAt;
|
||||
|
||||
public void setEquipmentId(Long equipmentId)
|
||||
{
|
||||
this.equipmentId = equipmentId;
|
||||
}
|
||||
|
||||
public Long getEquipmentId()
|
||||
{
|
||||
return equipmentId;
|
||||
}
|
||||
|
||||
public void setName(String name)
|
||||
{
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setTypeId(Long typeId)
|
||||
{
|
||||
this.typeId = typeId;
|
||||
}
|
||||
|
||||
public Long getTypeId()
|
||||
{
|
||||
return typeId;
|
||||
}
|
||||
|
||||
public void setQualityId(Long qualityId)
|
||||
{
|
||||
this.qualityId = qualityId;
|
||||
}
|
||||
|
||||
public Long getQualityId()
|
||||
{
|
||||
return qualityId;
|
||||
}
|
||||
|
||||
public void setRequiredLevel(Long requiredLevel)
|
||||
{
|
||||
this.requiredLevel = requiredLevel;
|
||||
}
|
||||
|
||||
public Long getRequiredLevel()
|
||||
{
|
||||
return requiredLevel;
|
||||
}
|
||||
|
||||
public void setBaseHpMin(BigDecimal baseHpMin)
|
||||
{
|
||||
this.baseHpMin = baseHpMin;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseHpMin()
|
||||
{
|
||||
return baseHpMin;
|
||||
}
|
||||
|
||||
public void setBaseHpMax(BigDecimal baseHpMax)
|
||||
{
|
||||
this.baseHpMax = baseHpMax;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseHpMax()
|
||||
{
|
||||
return baseHpMax;
|
||||
}
|
||||
|
||||
public void setBaseAtkMin(BigDecimal baseAtkMin)
|
||||
{
|
||||
this.baseAtkMin = baseAtkMin;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseAtkMin()
|
||||
{
|
||||
return baseAtkMin;
|
||||
}
|
||||
|
||||
public void setBaseAtkMax(BigDecimal baseAtkMax)
|
||||
{
|
||||
this.baseAtkMax = baseAtkMax;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseAtkMax()
|
||||
{
|
||||
return baseAtkMax;
|
||||
}
|
||||
|
||||
public void setBaseDefMin(BigDecimal baseDefMin)
|
||||
{
|
||||
this.baseDefMin = baseDefMin;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseDefMin()
|
||||
{
|
||||
return baseDefMin;
|
||||
}
|
||||
|
||||
public void setBaseDefMax(BigDecimal baseDefMax)
|
||||
{
|
||||
this.baseDefMax = baseDefMax;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseDefMax()
|
||||
{
|
||||
return baseDefMax;
|
||||
}
|
||||
|
||||
public void setBaseResMin(BigDecimal baseResMin)
|
||||
{
|
||||
this.baseResMin = baseResMin;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseResMin()
|
||||
{
|
||||
return baseResMin;
|
||||
}
|
||||
|
||||
public void setBaseResMax(BigDecimal baseResMax)
|
||||
{
|
||||
this.baseResMax = baseResMax;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseResMax()
|
||||
{
|
||||
return baseResMax;
|
||||
}
|
||||
|
||||
public void setBaseSpdMin(BigDecimal baseSpdMin)
|
||||
{
|
||||
this.baseSpdMin = baseSpdMin;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseSpdMin()
|
||||
{
|
||||
return baseSpdMin;
|
||||
}
|
||||
|
||||
public void setBaseSpdMax(BigDecimal baseSpdMax)
|
||||
{
|
||||
this.baseSpdMax = baseSpdMax;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseSpdMax()
|
||||
{
|
||||
return baseSpdMax;
|
||||
}
|
||||
|
||||
public void setBaseCritRate(BigDecimal baseCritRate)
|
||||
{
|
||||
this.baseCritRate = baseCritRate;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseCritRate()
|
||||
{
|
||||
return baseCritRate;
|
||||
}
|
||||
|
||||
public void setBaseCritDamage(BigDecimal baseCritDamage)
|
||||
{
|
||||
this.baseCritDamage = baseCritDamage;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseCritDamage()
|
||||
{
|
||||
return baseCritDamage;
|
||||
}
|
||||
|
||||
public void setBaseDodgeRate(BigDecimal baseDodgeRate)
|
||||
{
|
||||
this.baseDodgeRate = baseDodgeRate;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseDodgeRate()
|
||||
{
|
||||
return baseDodgeRate;
|
||||
}
|
||||
|
||||
public void setWeaponType(String weaponType)
|
||||
{
|
||||
this.weaponType = weaponType;
|
||||
}
|
||||
|
||||
public String getWeaponType()
|
||||
{
|
||||
return weaponType;
|
||||
}
|
||||
|
||||
public void setIsTwoHanded(Integer isTwoHanded)
|
||||
{
|
||||
this.isTwoHanded = isTwoHanded;
|
||||
}
|
||||
|
||||
public Integer getIsTwoHanded()
|
||||
{
|
||||
return isTwoHanded;
|
||||
}
|
||||
|
||||
public void setWeight(Long weight)
|
||||
{
|
||||
this.weight = weight;
|
||||
}
|
||||
|
||||
public Long getWeight()
|
||||
{
|
||||
return weight;
|
||||
}
|
||||
|
||||
public void setDurability(Long durability)
|
||||
{
|
||||
this.durability = durability;
|
||||
}
|
||||
|
||||
public Long getDurability()
|
||||
{
|
||||
return durability;
|
||||
}
|
||||
|
||||
public void setSellPrice(Long sellPrice)
|
||||
{
|
||||
this.sellPrice = sellPrice;
|
||||
}
|
||||
|
||||
public Long getSellPrice()
|
||||
{
|
||||
return sellPrice;
|
||||
}
|
||||
|
||||
public void setDescription(String description)
|
||||
{
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getDescription()
|
||||
{
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setIconUrl(String iconUrl)
|
||||
{
|
||||
this.iconUrl = iconUrl;
|
||||
}
|
||||
|
||||
public String getIconUrl()
|
||||
{
|
||||
return iconUrl;
|
||||
}
|
||||
|
||||
public void setCreatedAt(Date createdAt)
|
||||
{
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
public Date getCreatedAt()
|
||||
{
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("equipmentId", getEquipmentId())
|
||||
.append("name", getName())
|
||||
.append("typeId", getTypeId())
|
||||
.append("qualityId", getQualityId())
|
||||
.append("requiredLevel", getRequiredLevel())
|
||||
.append("baseHpMin", getBaseHpMin())
|
||||
.append("baseHpMax", getBaseHpMax())
|
||||
.append("baseAtkMin", getBaseAtkMin())
|
||||
.append("baseAtkMax", getBaseAtkMax())
|
||||
.append("baseDefMin", getBaseDefMin())
|
||||
.append("baseDefMax", getBaseDefMax())
|
||||
.append("baseResMin", getBaseResMin())
|
||||
.append("baseResMax", getBaseResMax())
|
||||
.append("baseSpdMin", getBaseSpdMin())
|
||||
.append("baseSpdMax", getBaseSpdMax())
|
||||
.append("baseCritRate", getBaseCritRate())
|
||||
.append("baseCritDamage", getBaseCritDamage())
|
||||
.append("baseDodgeRate", getBaseDodgeRate())
|
||||
.append("weaponType", getWeaponType())
|
||||
.append("isTwoHanded", getIsTwoHanded())
|
||||
.append("weight", getWeight())
|
||||
.append("durability", getDurability())
|
||||
.append("sellPrice", getSellPrice())
|
||||
.append("description", getDescription())
|
||||
.append("iconUrl", getIconUrl())
|
||||
.append("createdAt", getCreatedAt())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,160 @@
|
||||
package com.ruoyi.system.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 职业等级加成对象 fate_job_level_bonus
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public class FateJobLevelBonus extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long bonusId;
|
||||
|
||||
/** 职业ID */
|
||||
@Excel(name = "职业ID")
|
||||
private Long jobId;
|
||||
|
||||
/** 职业等级 */
|
||||
@Excel(name = "职业等级")
|
||||
private Long level;
|
||||
|
||||
/** 生命加成 */
|
||||
@Excel(name = "生命加成")
|
||||
private BigDecimal hpBonus;
|
||||
|
||||
/** 攻击加成 */
|
||||
@Excel(name = "攻击加成")
|
||||
private BigDecimal atkBonus;
|
||||
|
||||
/** 防御加成 */
|
||||
@Excel(name = "防御加成")
|
||||
private BigDecimal defBonus;
|
||||
|
||||
/** 魔防加成 */
|
||||
@Excel(name = "魔防加成")
|
||||
private BigDecimal resBonus;
|
||||
|
||||
/** 速度加成 */
|
||||
@Excel(name = "速度加成")
|
||||
private BigDecimal spdBonus;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private Date createdAt;
|
||||
|
||||
public void setBonusId(Long bonusId)
|
||||
{
|
||||
this.bonusId = bonusId;
|
||||
}
|
||||
|
||||
public Long getBonusId()
|
||||
{
|
||||
return bonusId;
|
||||
}
|
||||
|
||||
public void setJobId(Long jobId)
|
||||
{
|
||||
this.jobId = jobId;
|
||||
}
|
||||
|
||||
public Long getJobId()
|
||||
{
|
||||
return jobId;
|
||||
}
|
||||
|
||||
public void setLevel(Long level)
|
||||
{
|
||||
this.level = level;
|
||||
}
|
||||
|
||||
public Long getLevel()
|
||||
{
|
||||
return level;
|
||||
}
|
||||
|
||||
public void setHpBonus(BigDecimal hpBonus)
|
||||
{
|
||||
this.hpBonus = hpBonus;
|
||||
}
|
||||
|
||||
public BigDecimal getHpBonus()
|
||||
{
|
||||
return hpBonus;
|
||||
}
|
||||
|
||||
public void setAtkBonus(BigDecimal atkBonus)
|
||||
{
|
||||
this.atkBonus = atkBonus;
|
||||
}
|
||||
|
||||
public BigDecimal getAtkBonus()
|
||||
{
|
||||
return atkBonus;
|
||||
}
|
||||
|
||||
public void setDefBonus(BigDecimal defBonus)
|
||||
{
|
||||
this.defBonus = defBonus;
|
||||
}
|
||||
|
||||
public BigDecimal getDefBonus()
|
||||
{
|
||||
return defBonus;
|
||||
}
|
||||
|
||||
public void setResBonus(BigDecimal resBonus)
|
||||
{
|
||||
this.resBonus = resBonus;
|
||||
}
|
||||
|
||||
public BigDecimal getResBonus()
|
||||
{
|
||||
return resBonus;
|
||||
}
|
||||
|
||||
public void setSpdBonus(BigDecimal spdBonus)
|
||||
{
|
||||
this.spdBonus = spdBonus;
|
||||
}
|
||||
|
||||
public BigDecimal getSpdBonus()
|
||||
{
|
||||
return spdBonus;
|
||||
}
|
||||
|
||||
public void setCreatedAt(Date createdAt)
|
||||
{
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
public Date getCreatedAt()
|
||||
{
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("bonusId", getBonusId())
|
||||
.append("jobId", getJobId())
|
||||
.append("level", getLevel())
|
||||
.append("hpBonus", getHpBonus())
|
||||
.append("atkBonus", getAtkBonus())
|
||||
.append("defBonus", getDefBonus())
|
||||
.append("resBonus", getResBonus())
|
||||
.append("spdBonus", getSpdBonus())
|
||||
.append("createdAt", getCreatedAt())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,160 @@
|
||||
package com.ruoyi.system.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 职业进阶关系对象 fate_job_promotions
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public class FateJobPromotions extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long promotionId;
|
||||
|
||||
/** 原职业ID */
|
||||
@Excel(name = "原职业ID")
|
||||
private Long fromJobId;
|
||||
|
||||
/** 目标职业ID */
|
||||
@Excel(name = "目标职业ID")
|
||||
private Long toJobId;
|
||||
|
||||
/** 转职需求等级 */
|
||||
@Excel(name = "转职需求等级")
|
||||
private Long requiredLevel;
|
||||
|
||||
/** 需求物品[{item_id:数量}] */
|
||||
@Excel(name = "需求物品[{item_id:数量}]")
|
||||
private String requiredItems;
|
||||
|
||||
/** 需求技能[skill_id] */
|
||||
@Excel(name = "需求技能[skill_id]")
|
||||
private String requiredSkills;
|
||||
|
||||
/** 转职成功率 */
|
||||
@Excel(name = "转职成功率")
|
||||
private BigDecimal successRate;
|
||||
|
||||
/** 转职描述 */
|
||||
@Excel(name = "转职描述")
|
||||
private String description;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private Date createdAt;
|
||||
|
||||
public void setPromotionId(Long promotionId)
|
||||
{
|
||||
this.promotionId = promotionId;
|
||||
}
|
||||
|
||||
public Long getPromotionId()
|
||||
{
|
||||
return promotionId;
|
||||
}
|
||||
|
||||
public void setFromJobId(Long fromJobId)
|
||||
{
|
||||
this.fromJobId = fromJobId;
|
||||
}
|
||||
|
||||
public Long getFromJobId()
|
||||
{
|
||||
return fromJobId;
|
||||
}
|
||||
|
||||
public void setToJobId(Long toJobId)
|
||||
{
|
||||
this.toJobId = toJobId;
|
||||
}
|
||||
|
||||
public Long getToJobId()
|
||||
{
|
||||
return toJobId;
|
||||
}
|
||||
|
||||
public void setRequiredLevel(Long requiredLevel)
|
||||
{
|
||||
this.requiredLevel = requiredLevel;
|
||||
}
|
||||
|
||||
public Long getRequiredLevel()
|
||||
{
|
||||
return requiredLevel;
|
||||
}
|
||||
|
||||
public void setRequiredItems(String requiredItems)
|
||||
{
|
||||
this.requiredItems = requiredItems;
|
||||
}
|
||||
|
||||
public String getRequiredItems()
|
||||
{
|
||||
return requiredItems;
|
||||
}
|
||||
|
||||
public void setRequiredSkills(String requiredSkills)
|
||||
{
|
||||
this.requiredSkills = requiredSkills;
|
||||
}
|
||||
|
||||
public String getRequiredSkills()
|
||||
{
|
||||
return requiredSkills;
|
||||
}
|
||||
|
||||
public void setSuccessRate(BigDecimal successRate)
|
||||
{
|
||||
this.successRate = successRate;
|
||||
}
|
||||
|
||||
public BigDecimal getSuccessRate()
|
||||
{
|
||||
return successRate;
|
||||
}
|
||||
|
||||
public void setDescription(String description)
|
||||
{
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getDescription()
|
||||
{
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setCreatedAt(Date createdAt)
|
||||
{
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
public Date getCreatedAt()
|
||||
{
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("promotionId", getPromotionId())
|
||||
.append("fromJobId", getFromJobId())
|
||||
.append("toJobId", getToJobId())
|
||||
.append("requiredLevel", getRequiredLevel())
|
||||
.append("requiredItems", getRequiredItems())
|
||||
.append("requiredSkills", getRequiredSkills())
|
||||
.append("successRate", getSuccessRate())
|
||||
.append("description", getDescription())
|
||||
.append("createdAt", getCreatedAt())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,129 @@
|
||||
package com.ruoyi.system.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 职业可学技能对象 fate_job_skills
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public class FateJobSkills extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long jobSkillId;
|
||||
|
||||
/** 职业ID */
|
||||
@Excel(name = "职业ID")
|
||||
private Long jobId;
|
||||
|
||||
/** 技能ID */
|
||||
@Excel(name = "技能ID")
|
||||
private Long skillId;
|
||||
|
||||
/** 学习等级 */
|
||||
@Excel(name = "学习等级")
|
||||
private Long learnLevel;
|
||||
|
||||
/** 是否专属技能 */
|
||||
@Excel(name = "是否专属技能")
|
||||
private Integer isExclusive;
|
||||
|
||||
/** 学习条件描述 */
|
||||
@Excel(name = "学习条件描述")
|
||||
private String description;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private Date createdAt;
|
||||
|
||||
public void setJobSkillId(Long jobSkillId)
|
||||
{
|
||||
this.jobSkillId = jobSkillId;
|
||||
}
|
||||
|
||||
public Long getJobSkillId()
|
||||
{
|
||||
return jobSkillId;
|
||||
}
|
||||
|
||||
public void setJobId(Long jobId)
|
||||
{
|
||||
this.jobId = jobId;
|
||||
}
|
||||
|
||||
public Long getJobId()
|
||||
{
|
||||
return jobId;
|
||||
}
|
||||
|
||||
public void setSkillId(Long skillId)
|
||||
{
|
||||
this.skillId = skillId;
|
||||
}
|
||||
|
||||
public Long getSkillId()
|
||||
{
|
||||
return skillId;
|
||||
}
|
||||
|
||||
public void setLearnLevel(Long learnLevel)
|
||||
{
|
||||
this.learnLevel = learnLevel;
|
||||
}
|
||||
|
||||
public Long getLearnLevel()
|
||||
{
|
||||
return learnLevel;
|
||||
}
|
||||
|
||||
public void setIsExclusive(Integer isExclusive)
|
||||
{
|
||||
this.isExclusive = isExclusive;
|
||||
}
|
||||
|
||||
public Integer getIsExclusive()
|
||||
{
|
||||
return isExclusive;
|
||||
}
|
||||
|
||||
public void setDescription(String description)
|
||||
{
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getDescription()
|
||||
{
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setCreatedAt(Date createdAt)
|
||||
{
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
public Date getCreatedAt()
|
||||
{
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("jobSkillId", getJobSkillId())
|
||||
.append("jobId", getJobId())
|
||||
.append("skillId", getSkillId())
|
||||
.append("learnLevel", getLearnLevel())
|
||||
.append("isExclusive", getIsExclusive())
|
||||
.append("description", getDescription())
|
||||
.append("createdAt", getCreatedAt())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
351
ruoyi-system/src/main/java/com/ruoyi/system/domain/FateJobs.java
Normal file
351
ruoyi-system/src/main/java/com/ruoyi/system/domain/FateJobs.java
Normal file
@ -0,0 +1,351 @@
|
||||
package com.ruoyi.system.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 职业基础对象 fate_jobs
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public class FateJobs extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long jobId;
|
||||
|
||||
/** 职业名称 */
|
||||
@Excel(name = "职业名称")
|
||||
private String jobName;
|
||||
|
||||
/** 职业阶位(1-基础, 2-进阶, 3-高级) */
|
||||
@Excel(name = "职业阶位(1-基础, 2-进阶, 3-高级)")
|
||||
private Long jobTier;
|
||||
|
||||
/** 职业阶位描述 */
|
||||
private transient String jobTierDesc;
|
||||
|
||||
/** 基础生命加成 */
|
||||
@Excel(name = "基础生命加成")
|
||||
private BigDecimal baseHpBonus;
|
||||
|
||||
/** 基础攻击加成 */
|
||||
@Excel(name = "基础攻击加成")
|
||||
private BigDecimal baseAtkBonus;
|
||||
|
||||
/** 基础防御加成 */
|
||||
@Excel(name = "基础防御加成")
|
||||
private BigDecimal baseDefBonus;
|
||||
|
||||
/** 基础魔防加成 */
|
||||
@Excel(name = "基础魔防加成")
|
||||
private BigDecimal baseResBonus;
|
||||
|
||||
/** 基础速度加成 */
|
||||
@Excel(name = "基础速度加成")
|
||||
private BigDecimal baseSpdBonus;
|
||||
|
||||
/** HP成长率加成 */
|
||||
@Excel(name = "HP成长率加成")
|
||||
private BigDecimal growthHpBonus;
|
||||
|
||||
/** 攻击成长率加成 */
|
||||
@Excel(name = "攻击成长率加成")
|
||||
private BigDecimal growthAtkBonus;
|
||||
|
||||
/** 防御成长率加成 */
|
||||
@Excel(name = "防御成长率加成")
|
||||
private BigDecimal growthDefBonus;
|
||||
|
||||
/** 魔防成长率加成 */
|
||||
@Excel(name = "魔防成长率加成")
|
||||
private BigDecimal growthResBonus;
|
||||
|
||||
/** 速度成长率加成 */
|
||||
@Excel(name = "速度成长率加成")
|
||||
private BigDecimal growthSpdBonus;
|
||||
|
||||
/** 移动类型 */
|
||||
@Excel(name = "移动类型")
|
||||
private String moveType;
|
||||
|
||||
/** 移动类型描述 */
|
||||
private transient String moveTypeDesc;
|
||||
|
||||
/** 武器熟练度{武器类型:熟练度等级} */
|
||||
@Excel(name = "武器熟练度{武器类型:熟练度等级}")
|
||||
private String weaponProficiencies;
|
||||
|
||||
/** 该职业最大等级 */
|
||||
@Excel(name = "该职业最大等级")
|
||||
private Long maxLevel;
|
||||
|
||||
/** 转职需求等级 */
|
||||
@Excel(name = "转职需求等级")
|
||||
private Long requiredLevel;
|
||||
|
||||
/** 职业描述 */
|
||||
@Excel(name = "职业描述")
|
||||
private String description;
|
||||
|
||||
/** 职业图标 */
|
||||
@Excel(name = "职业图标")
|
||||
private String iconUrl;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private Date createdAt;
|
||||
|
||||
public void setJobId(Long jobId)
|
||||
{
|
||||
this.jobId = jobId;
|
||||
}
|
||||
|
||||
public Long getJobId()
|
||||
{
|
||||
return jobId;
|
||||
}
|
||||
|
||||
public void setJobName(String jobName)
|
||||
{
|
||||
this.jobName = jobName;
|
||||
}
|
||||
|
||||
public String getJobName()
|
||||
{
|
||||
return jobName;
|
||||
}
|
||||
|
||||
public void setJobTier(Long jobTier)
|
||||
{
|
||||
this.jobTier = jobTier;
|
||||
}
|
||||
|
||||
public Long getJobTier()
|
||||
{
|
||||
return jobTier;
|
||||
}
|
||||
|
||||
public String getJobTierDesc()
|
||||
{
|
||||
return com.ruoyi.system.domain.enums.JobTierEnum.getDescByCode(jobTier);
|
||||
}
|
||||
|
||||
public void setJobTierDesc(String jobTierDesc)
|
||||
{
|
||||
this.jobTierDesc = jobTierDesc;
|
||||
}
|
||||
|
||||
public void setBaseHpBonus(BigDecimal baseHpBonus)
|
||||
{
|
||||
this.baseHpBonus = baseHpBonus;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseHpBonus()
|
||||
{
|
||||
return baseHpBonus;
|
||||
}
|
||||
|
||||
public void setBaseAtkBonus(BigDecimal baseAtkBonus)
|
||||
{
|
||||
this.baseAtkBonus = baseAtkBonus;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseAtkBonus()
|
||||
{
|
||||
return baseAtkBonus;
|
||||
}
|
||||
|
||||
public void setBaseDefBonus(BigDecimal baseDefBonus)
|
||||
{
|
||||
this.baseDefBonus = baseDefBonus;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseDefBonus()
|
||||
{
|
||||
return baseDefBonus;
|
||||
}
|
||||
|
||||
public void setBaseResBonus(BigDecimal baseResBonus)
|
||||
{
|
||||
this.baseResBonus = baseResBonus;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseResBonus()
|
||||
{
|
||||
return baseResBonus;
|
||||
}
|
||||
|
||||
public void setBaseSpdBonus(BigDecimal baseSpdBonus)
|
||||
{
|
||||
this.baseSpdBonus = baseSpdBonus;
|
||||
}
|
||||
|
||||
public BigDecimal getBaseSpdBonus()
|
||||
{
|
||||
return baseSpdBonus;
|
||||
}
|
||||
|
||||
public void setGrowthHpBonus(BigDecimal growthHpBonus)
|
||||
{
|
||||
this.growthHpBonus = growthHpBonus;
|
||||
}
|
||||
|
||||
public BigDecimal getGrowthHpBonus()
|
||||
{
|
||||
return growthHpBonus;
|
||||
}
|
||||
|
||||
public void setGrowthAtkBonus(BigDecimal growthAtkBonus)
|
||||
{
|
||||
this.growthAtkBonus = growthAtkBonus;
|
||||
}
|
||||
|
||||
public BigDecimal getGrowthAtkBonus()
|
||||
{
|
||||
return growthAtkBonus;
|
||||
}
|
||||
|
||||
public void setGrowthDefBonus(BigDecimal growthDefBonus)
|
||||
{
|
||||
this.growthDefBonus = growthDefBonus;
|
||||
}
|
||||
|
||||
public BigDecimal getGrowthDefBonus()
|
||||
{
|
||||
return growthDefBonus;
|
||||
}
|
||||
|
||||
public void setGrowthResBonus(BigDecimal growthResBonus)
|
||||
{
|
||||
this.growthResBonus = growthResBonus;
|
||||
}
|
||||
|
||||
public BigDecimal getGrowthResBonus()
|
||||
{
|
||||
return growthResBonus;
|
||||
}
|
||||
|
||||
public void setGrowthSpdBonus(BigDecimal growthSpdBonus)
|
||||
{
|
||||
this.growthSpdBonus = growthSpdBonus;
|
||||
}
|
||||
|
||||
public BigDecimal getGrowthSpdBonus()
|
||||
{
|
||||
return growthSpdBonus;
|
||||
}
|
||||
|
||||
public void setMoveType(String moveType)
|
||||
{
|
||||
this.moveType = moveType;
|
||||
}
|
||||
|
||||
public String getMoveType()
|
||||
{
|
||||
return moveType;
|
||||
}
|
||||
|
||||
public String getMoveTypeDesc()
|
||||
{
|
||||
return com.ruoyi.system.domain.enums.MoveTypeEnum.getDescByCode(moveType);
|
||||
}
|
||||
|
||||
public void setMoveTypeDesc(String moveTypeDesc)
|
||||
{
|
||||
this.moveTypeDesc = moveTypeDesc;
|
||||
}
|
||||
|
||||
public void setWeaponProficiencies(String weaponProficiencies)
|
||||
{
|
||||
this.weaponProficiencies = weaponProficiencies;
|
||||
}
|
||||
|
||||
public String getWeaponProficiencies()
|
||||
{
|
||||
return weaponProficiencies;
|
||||
}
|
||||
|
||||
public void setMaxLevel(Long maxLevel)
|
||||
{
|
||||
this.maxLevel = maxLevel;
|
||||
}
|
||||
|
||||
public Long getMaxLevel()
|
||||
{
|
||||
return maxLevel;
|
||||
}
|
||||
|
||||
public void setRequiredLevel(Long requiredLevel)
|
||||
{
|
||||
this.requiredLevel = requiredLevel;
|
||||
}
|
||||
|
||||
public Long getRequiredLevel()
|
||||
{
|
||||
return requiredLevel;
|
||||
}
|
||||
|
||||
public void setDescription(String description)
|
||||
{
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getDescription()
|
||||
{
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setIconUrl(String iconUrl)
|
||||
{
|
||||
this.iconUrl = iconUrl;
|
||||
}
|
||||
|
||||
public String getIconUrl()
|
||||
{
|
||||
return iconUrl;
|
||||
}
|
||||
|
||||
public void setCreatedAt(Date createdAt)
|
||||
{
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
public Date getCreatedAt()
|
||||
{
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("jobId", getJobId())
|
||||
.append("jobName", getJobName())
|
||||
.append("jobTier", getJobTier())
|
||||
.append("baseHpBonus", getBaseHpBonus())
|
||||
.append("baseAtkBonus", getBaseAtkBonus())
|
||||
.append("baseDefBonus", getBaseDefBonus())
|
||||
.append("baseResBonus", getBaseResBonus())
|
||||
.append("baseSpdBonus", getBaseSpdBonus())
|
||||
.append("growthHpBonus", getGrowthHpBonus())
|
||||
.append("growthAtkBonus", getGrowthAtkBonus())
|
||||
.append("growthDefBonus", getGrowthDefBonus())
|
||||
.append("growthResBonus", getGrowthResBonus())
|
||||
.append("growthSpdBonus", getGrowthSpdBonus())
|
||||
.append("moveType", getMoveType())
|
||||
.append("weaponProficiencies", getWeaponProficiencies())
|
||||
.append("maxLevel", getMaxLevel())
|
||||
.append("requiredLevel", getRequiredLevel())
|
||||
.append("description", getDescription())
|
||||
.append("iconUrl", getIconUrl())
|
||||
.append("createdAt", getCreatedAt())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,370 @@
|
||||
package com.ruoyi.system.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 用户角色对象 fate_user_character
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public class FateUserCharacter extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long userCharacterId;
|
||||
|
||||
/** 用户ID */
|
||||
@Excel(name = "用户ID")
|
||||
private Long userId;
|
||||
|
||||
/** 角色ID */
|
||||
@Excel(name = "角色ID")
|
||||
private Long characterId;
|
||||
|
||||
/** 实际生命值 */
|
||||
@Excel(name = "实际生命值")
|
||||
private BigDecimal actualHp;
|
||||
|
||||
/** 实际攻击力 */
|
||||
@Excel(name = "实际攻击力")
|
||||
private BigDecimal actualAtk;
|
||||
|
||||
/** 实际防御力 */
|
||||
@Excel(name = "实际防御力")
|
||||
private BigDecimal actualDef;
|
||||
|
||||
/** 实际魔防 */
|
||||
@Excel(name = "实际魔防")
|
||||
private BigDecimal actualRes;
|
||||
|
||||
/** 实际速度 */
|
||||
@Excel(name = "实际速度")
|
||||
private BigDecimal actualSpd;
|
||||
|
||||
/** HP个体值(-10 to +10) */
|
||||
@Excel(name = "HP个体值(-10 to +10)")
|
||||
private Long ivHp;
|
||||
|
||||
/** 攻击个体值 */
|
||||
@Excel(name = "攻击个体值")
|
||||
private Long ivAtk;
|
||||
|
||||
/** 防御个体值 */
|
||||
@Excel(name = "防御个体值")
|
||||
private Long ivDef;
|
||||
|
||||
/** 魔防个体值 */
|
||||
@Excel(name = "魔防个体值")
|
||||
private Long ivRes;
|
||||
|
||||
/** 速度个体值 */
|
||||
@Excel(name = "速度个体值")
|
||||
private Long ivSpd;
|
||||
|
||||
/** HP努力值(0-255) */
|
||||
@Excel(name = "HP努力值(0-255)")
|
||||
private Long evHp;
|
||||
|
||||
/** 攻击努力值 */
|
||||
@Excel(name = "攻击努力值")
|
||||
private Long evAtk;
|
||||
|
||||
/** 防御努力值 */
|
||||
@Excel(name = "防御努力值")
|
||||
private Long evDef;
|
||||
|
||||
/** 魔防努力值 */
|
||||
@Excel(name = "魔防努力值")
|
||||
private Long evRes;
|
||||
|
||||
/** 速度努力值 */
|
||||
@Excel(name = "速度努力值")
|
||||
private Long evSpd;
|
||||
|
||||
/** 角色等级 */
|
||||
@Excel(name = "角色等级")
|
||||
private Long level;
|
||||
|
||||
/** 角色经验 */
|
||||
@Excel(name = "角色经验")
|
||||
private BigDecimal experience;
|
||||
|
||||
/** 好感度 */
|
||||
@Excel(name = "好感度")
|
||||
private Long favorability;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private Date createdAt;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private Date updatedAt;
|
||||
|
||||
public void setUserCharacterId(Long userCharacterId)
|
||||
{
|
||||
this.userCharacterId = userCharacterId;
|
||||
}
|
||||
|
||||
public Long getUserCharacterId()
|
||||
{
|
||||
return userCharacterId;
|
||||
}
|
||||
|
||||
public void setUserId(Long userId)
|
||||
{
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public Long getUserId()
|
||||
{
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setCharacterId(Long characterId)
|
||||
{
|
||||
this.characterId = characterId;
|
||||
}
|
||||
|
||||
public Long getCharacterId()
|
||||
{
|
||||
return characterId;
|
||||
}
|
||||
|
||||
public void setActualHp(BigDecimal actualHp)
|
||||
{
|
||||
this.actualHp = actualHp;
|
||||
}
|
||||
|
||||
public BigDecimal getActualHp()
|
||||
{
|
||||
return actualHp;
|
||||
}
|
||||
|
||||
public void setActualAtk(BigDecimal actualAtk)
|
||||
{
|
||||
this.actualAtk = actualAtk;
|
||||
}
|
||||
|
||||
public BigDecimal getActualAtk()
|
||||
{
|
||||
return actualAtk;
|
||||
}
|
||||
|
||||
public void setActualDef(BigDecimal actualDef)
|
||||
{
|
||||
this.actualDef = actualDef;
|
||||
}
|
||||
|
||||
public BigDecimal getActualDef()
|
||||
{
|
||||
return actualDef;
|
||||
}
|
||||
|
||||
public void setActualRes(BigDecimal actualRes)
|
||||
{
|
||||
this.actualRes = actualRes;
|
||||
}
|
||||
|
||||
public BigDecimal getActualRes()
|
||||
{
|
||||
return actualRes;
|
||||
}
|
||||
|
||||
public void setActualSpd(BigDecimal actualSpd)
|
||||
{
|
||||
this.actualSpd = actualSpd;
|
||||
}
|
||||
|
||||
public BigDecimal getActualSpd()
|
||||
{
|
||||
return actualSpd;
|
||||
}
|
||||
|
||||
public void setIvHp(Long ivHp)
|
||||
{
|
||||
this.ivHp = ivHp;
|
||||
}
|
||||
|
||||
public Long getIvHp()
|
||||
{
|
||||
return ivHp;
|
||||
}
|
||||
|
||||
public void setIvAtk(Long ivAtk)
|
||||
{
|
||||
this.ivAtk = ivAtk;
|
||||
}
|
||||
|
||||
public Long getIvAtk()
|
||||
{
|
||||
return ivAtk;
|
||||
}
|
||||
|
||||
public void setIvDef(Long ivDef)
|
||||
{
|
||||
this.ivDef = ivDef;
|
||||
}
|
||||
|
||||
public Long getIvDef()
|
||||
{
|
||||
return ivDef;
|
||||
}
|
||||
|
||||
public void setIvRes(Long ivRes)
|
||||
{
|
||||
this.ivRes = ivRes;
|
||||
}
|
||||
|
||||
public Long getIvRes()
|
||||
{
|
||||
return ivRes;
|
||||
}
|
||||
|
||||
public void setIvSpd(Long ivSpd)
|
||||
{
|
||||
this.ivSpd = ivSpd;
|
||||
}
|
||||
|
||||
public Long getIvSpd()
|
||||
{
|
||||
return ivSpd;
|
||||
}
|
||||
|
||||
public void setEvHp(Long evHp)
|
||||
{
|
||||
this.evHp = evHp;
|
||||
}
|
||||
|
||||
public Long getEvHp()
|
||||
{
|
||||
return evHp;
|
||||
}
|
||||
|
||||
public void setEvAtk(Long evAtk)
|
||||
{
|
||||
this.evAtk = evAtk;
|
||||
}
|
||||
|
||||
public Long getEvAtk()
|
||||
{
|
||||
return evAtk;
|
||||
}
|
||||
|
||||
public void setEvDef(Long evDef)
|
||||
{
|
||||
this.evDef = evDef;
|
||||
}
|
||||
|
||||
public Long getEvDef()
|
||||
{
|
||||
return evDef;
|
||||
}
|
||||
|
||||
public void setEvRes(Long evRes)
|
||||
{
|
||||
this.evRes = evRes;
|
||||
}
|
||||
|
||||
public Long getEvRes()
|
||||
{
|
||||
return evRes;
|
||||
}
|
||||
|
||||
public void setEvSpd(Long evSpd)
|
||||
{
|
||||
this.evSpd = evSpd;
|
||||
}
|
||||
|
||||
public Long getEvSpd()
|
||||
{
|
||||
return evSpd;
|
||||
}
|
||||
|
||||
public void setLevel(Long level)
|
||||
{
|
||||
this.level = level;
|
||||
}
|
||||
|
||||
public Long getLevel()
|
||||
{
|
||||
return level;
|
||||
}
|
||||
|
||||
public void setExperience(BigDecimal experience)
|
||||
{
|
||||
this.experience = experience;
|
||||
}
|
||||
|
||||
public BigDecimal getExperience()
|
||||
{
|
||||
return experience;
|
||||
}
|
||||
|
||||
public void setFavorability(Long favorability)
|
||||
{
|
||||
this.favorability = favorability;
|
||||
}
|
||||
|
||||
public Long getFavorability()
|
||||
{
|
||||
return favorability;
|
||||
}
|
||||
|
||||
public void setCreatedAt(Date createdAt)
|
||||
{
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
public Date getCreatedAt()
|
||||
{
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
public void setUpdatedAt(Date updatedAt)
|
||||
{
|
||||
this.updatedAt = updatedAt;
|
||||
}
|
||||
|
||||
public Date getUpdatedAt()
|
||||
{
|
||||
return updatedAt;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("userCharacterId", getUserCharacterId())
|
||||
.append("userId", getUserId())
|
||||
.append("characterId", getCharacterId())
|
||||
.append("actualHp", getActualHp())
|
||||
.append("actualAtk", getActualAtk())
|
||||
.append("actualDef", getActualDef())
|
||||
.append("actualRes", getActualRes())
|
||||
.append("actualSpd", getActualSpd())
|
||||
.append("ivHp", getIvHp())
|
||||
.append("ivAtk", getIvAtk())
|
||||
.append("ivDef", getIvDef())
|
||||
.append("ivRes", getIvRes())
|
||||
.append("ivSpd", getIvSpd())
|
||||
.append("evHp", getEvHp())
|
||||
.append("evAtk", getEvAtk())
|
||||
.append("evDef", getEvDef())
|
||||
.append("evRes", getEvRes())
|
||||
.append("evSpd", getEvSpd())
|
||||
.append("level", getLevel())
|
||||
.append("experience", getExperience())
|
||||
.append("favorability", getFavorability())
|
||||
.append("createdAt", getCreatedAt())
|
||||
.append("updatedAt", getUpdatedAt())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,250 @@
|
||||
package com.ruoyi.system.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 用户装备对象 fate_user_equipments
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public class FateUserEquipments extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long userEquipmentId;
|
||||
|
||||
/** 用户ID */
|
||||
@Excel(name = "用户ID")
|
||||
private Long userId;
|
||||
|
||||
/** 装备ID */
|
||||
@Excel(name = "装备ID")
|
||||
private Long equipmentId;
|
||||
|
||||
/** 装备等级 */
|
||||
@Excel(name = "装备等级")
|
||||
private Long level;
|
||||
|
||||
/** 装备经验 */
|
||||
@Excel(name = "装备经验")
|
||||
private Long experience;
|
||||
|
||||
/** 当前生命值加成 */
|
||||
@Excel(name = "当前生命值加成")
|
||||
private BigDecimal currentHp;
|
||||
|
||||
/** 当前攻击力加成 */
|
||||
@Excel(name = "当前攻击力加成")
|
||||
private BigDecimal currentAtk;
|
||||
|
||||
/** 当前防御力加成 */
|
||||
@Excel(name = "当前防御力加成")
|
||||
private BigDecimal currentDef;
|
||||
|
||||
/** 当前魔防加成 */
|
||||
@Excel(name = "当前魔防加成")
|
||||
private BigDecimal currentRes;
|
||||
|
||||
/** 当前速度加成 */
|
||||
@Excel(name = "当前速度加成")
|
||||
private BigDecimal currentSpd;
|
||||
|
||||
/** 当前耐久度 */
|
||||
@Excel(name = "当前耐久度")
|
||||
private Long currentDurability;
|
||||
|
||||
/** 是否已装备 */
|
||||
@Excel(name = "是否已装备")
|
||||
private Integer isEquipped;
|
||||
|
||||
/** 装备的角色ID */
|
||||
@Excel(name = "装备的角色ID")
|
||||
private Long equippedCharacterId;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private Date createdAt;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private Date updatedAt;
|
||||
|
||||
public void setUserEquipmentId(Long userEquipmentId)
|
||||
{
|
||||
this.userEquipmentId = userEquipmentId;
|
||||
}
|
||||
|
||||
public Long getUserEquipmentId()
|
||||
{
|
||||
return userEquipmentId;
|
||||
}
|
||||
|
||||
public void setUserId(Long userId)
|
||||
{
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public Long getUserId()
|
||||
{
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setEquipmentId(Long equipmentId)
|
||||
{
|
||||
this.equipmentId = equipmentId;
|
||||
}
|
||||
|
||||
public Long getEquipmentId()
|
||||
{
|
||||
return equipmentId;
|
||||
}
|
||||
|
||||
public void setLevel(Long level)
|
||||
{
|
||||
this.level = level;
|
||||
}
|
||||
|
||||
public Long getLevel()
|
||||
{
|
||||
return level;
|
||||
}
|
||||
|
||||
public void setExperience(Long experience)
|
||||
{
|
||||
this.experience = experience;
|
||||
}
|
||||
|
||||
public Long getExperience()
|
||||
{
|
||||
return experience;
|
||||
}
|
||||
|
||||
public void setCurrentHp(BigDecimal currentHp)
|
||||
{
|
||||
this.currentHp = currentHp;
|
||||
}
|
||||
|
||||
public BigDecimal getCurrentHp()
|
||||
{
|
||||
return currentHp;
|
||||
}
|
||||
|
||||
public void setCurrentAtk(BigDecimal currentAtk)
|
||||
{
|
||||
this.currentAtk = currentAtk;
|
||||
}
|
||||
|
||||
public BigDecimal getCurrentAtk()
|
||||
{
|
||||
return currentAtk;
|
||||
}
|
||||
|
||||
public void setCurrentDef(BigDecimal currentDef)
|
||||
{
|
||||
this.currentDef = currentDef;
|
||||
}
|
||||
|
||||
public BigDecimal getCurrentDef()
|
||||
{
|
||||
return currentDef;
|
||||
}
|
||||
|
||||
public void setCurrentRes(BigDecimal currentRes)
|
||||
{
|
||||
this.currentRes = currentRes;
|
||||
}
|
||||
|
||||
public BigDecimal getCurrentRes()
|
||||
{
|
||||
return currentRes;
|
||||
}
|
||||
|
||||
public void setCurrentSpd(BigDecimal currentSpd)
|
||||
{
|
||||
this.currentSpd = currentSpd;
|
||||
}
|
||||
|
||||
public BigDecimal getCurrentSpd()
|
||||
{
|
||||
return currentSpd;
|
||||
}
|
||||
|
||||
public void setCurrentDurability(Long currentDurability)
|
||||
{
|
||||
this.currentDurability = currentDurability;
|
||||
}
|
||||
|
||||
public Long getCurrentDurability()
|
||||
{
|
||||
return currentDurability;
|
||||
}
|
||||
|
||||
public void setIsEquipped(Integer isEquipped)
|
||||
{
|
||||
this.isEquipped = isEquipped;
|
||||
}
|
||||
|
||||
public Integer getIsEquipped()
|
||||
{
|
||||
return isEquipped;
|
||||
}
|
||||
|
||||
public void setEquippedCharacterId(Long equippedCharacterId)
|
||||
{
|
||||
this.equippedCharacterId = equippedCharacterId;
|
||||
}
|
||||
|
||||
public Long getEquippedCharacterId()
|
||||
{
|
||||
return equippedCharacterId;
|
||||
}
|
||||
|
||||
public void setCreatedAt(Date createdAt)
|
||||
{
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
public Date getCreatedAt()
|
||||
{
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
public void setUpdatedAt(Date updatedAt)
|
||||
{
|
||||
this.updatedAt = updatedAt;
|
||||
}
|
||||
|
||||
public Date getUpdatedAt()
|
||||
{
|
||||
return updatedAt;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("userEquipmentId", getUserEquipmentId())
|
||||
.append("userId", getUserId())
|
||||
.append("equipmentId", getEquipmentId())
|
||||
.append("level", getLevel())
|
||||
.append("experience", getExperience())
|
||||
.append("currentHp", getCurrentHp())
|
||||
.append("currentAtk", getCurrentAtk())
|
||||
.append("currentDef", getCurrentDef())
|
||||
.append("currentRes", getCurrentRes())
|
||||
.append("currentSpd", getCurrentSpd())
|
||||
.append("currentDurability", getCurrentDurability())
|
||||
.append("isEquipped", getIsEquipped())
|
||||
.append("equippedCharacterId", getEquippedCharacterId())
|
||||
.append("createdAt", getCreatedAt())
|
||||
.append("updatedAt", getUpdatedAt())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.system.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.system.domain.FateCharacterGrowthLogs;
|
||||
|
||||
/**
|
||||
* 角色属性成长记录Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface FateCharacterGrowthLogsMapper
|
||||
{
|
||||
/**
|
||||
* 查询角色属性成长记录
|
||||
*
|
||||
* @param logId 角色属性成长记录主键
|
||||
* @return 角色属性成长记录
|
||||
*/
|
||||
public FateCharacterGrowthLogs selectFateCharacterGrowthLogsByLogId(Long logId);
|
||||
|
||||
/**
|
||||
* 查询角色属性成长记录列表
|
||||
*
|
||||
* @param fateCharacterGrowthLogs 角色属性成长记录
|
||||
* @return 角色属性成长记录集合
|
||||
*/
|
||||
public List<FateCharacterGrowthLogs> selectFateCharacterGrowthLogsList(FateCharacterGrowthLogs fateCharacterGrowthLogs);
|
||||
|
||||
/**
|
||||
* 新增角色属性成长记录
|
||||
*
|
||||
* @param fateCharacterGrowthLogs 角色属性成长记录
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateCharacterGrowthLogs(FateCharacterGrowthLogs fateCharacterGrowthLogs);
|
||||
|
||||
/**
|
||||
* 修改角色属性成长记录
|
||||
*
|
||||
* @param fateCharacterGrowthLogs 角色属性成长记录
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateCharacterGrowthLogs(FateCharacterGrowthLogs fateCharacterGrowthLogs);
|
||||
|
||||
/**
|
||||
* 删除角色属性成长记录
|
||||
*
|
||||
* @param logId 角色属性成长记录主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateCharacterGrowthLogsByLogId(Long logId);
|
||||
|
||||
/**
|
||||
* 批量删除角色属性成长记录
|
||||
*
|
||||
* @param logIds 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateCharacterGrowthLogsByLogIds(Long[] logIds);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.system.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.system.domain.FateCharacterJobs;
|
||||
|
||||
/**
|
||||
* 角色职业Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface FateCharacterJobsMapper
|
||||
{
|
||||
/**
|
||||
* 查询角色职业
|
||||
*
|
||||
* @param characterJobId 角色职业主键
|
||||
* @return 角色职业
|
||||
*/
|
||||
public FateCharacterJobs selectFateCharacterJobsByCharacterJobId(Long characterJobId);
|
||||
|
||||
/**
|
||||
* 查询角色职业列表
|
||||
*
|
||||
* @param fateCharacterJobs 角色职业
|
||||
* @return 角色职业集合
|
||||
*/
|
||||
public List<FateCharacterJobs> selectFateCharacterJobsList(FateCharacterJobs fateCharacterJobs);
|
||||
|
||||
/**
|
||||
* 新增角色职业
|
||||
*
|
||||
* @param fateCharacterJobs 角色职业
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateCharacterJobs(FateCharacterJobs fateCharacterJobs);
|
||||
|
||||
/**
|
||||
* 修改角色职业
|
||||
*
|
||||
* @param fateCharacterJobs 角色职业
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateCharacterJobs(FateCharacterJobs fateCharacterJobs);
|
||||
|
||||
/**
|
||||
* 删除角色职业
|
||||
*
|
||||
* @param characterJobId 角色职业主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateCharacterJobsByCharacterJobId(Long characterJobId);
|
||||
|
||||
/**
|
||||
* 批量删除角色职业
|
||||
*
|
||||
* @param characterJobIds 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateCharacterJobsByCharacterJobIds(Long[] characterJobIds);
|
||||
}
|
||||
@ -0,0 +1,62 @@
|
||||
package com.ruoyi.system.mapper;
|
||||
|
||||
import com.ruoyi.system.domain.FateCharacter;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 角色基础Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface FateCharacterMapper
|
||||
{
|
||||
/**
|
||||
* 查询角色基础
|
||||
*
|
||||
* @param characterId 角色基础主键
|
||||
* @return 角色基础
|
||||
*/
|
||||
public FateCharacter selectFateCharacterByCharacterId(Long characterId);
|
||||
|
||||
/**
|
||||
* 查询角色基础列表
|
||||
*
|
||||
* @param fateCharacter 角色基础
|
||||
* @return 角色基础集合
|
||||
*/
|
||||
public List<FateCharacter> selectFateCharacterList(FateCharacter fateCharacter);
|
||||
|
||||
/**
|
||||
* 新增角色基础
|
||||
*
|
||||
* @param fateCharacter 角色基础
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateCharacter(FateCharacter fateCharacter);
|
||||
|
||||
/**
|
||||
* 修改角色基础
|
||||
*
|
||||
* @param fateCharacter 角色基础
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateCharacter(FateCharacter fateCharacter);
|
||||
|
||||
/**
|
||||
* 删除角色基础
|
||||
*
|
||||
* @param characterId 角色基础主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateCharacterByCharacterId(Long characterId);
|
||||
|
||||
/**
|
||||
* 批量删除角色基础
|
||||
*
|
||||
* @param characterIds 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateCharacterByCharacterIds(Long[] characterIds);
|
||||
}
|
||||
@ -0,0 +1,63 @@
|
||||
package com.ruoyi.system.mapper;
|
||||
|
||||
|
||||
import com.ruoyi.system.domain.FateEquipmentAttributes;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 装备附加属性Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface FateEquipmentAttributesMapper
|
||||
{
|
||||
/**
|
||||
* 查询装备附加属性
|
||||
*
|
||||
* @param attributeId 装备附加属性主键
|
||||
* @return 装备附加属性
|
||||
*/
|
||||
public FateEquipmentAttributes selectFateEquipmentAttributesByAttributeId(Long attributeId);
|
||||
|
||||
/**
|
||||
* 查询装备附加属性列表
|
||||
*
|
||||
* @param fateEquipmentAttributes 装备附加属性
|
||||
* @return 装备附加属性集合
|
||||
*/
|
||||
public List<FateEquipmentAttributes> selectFateEquipmentAttributesList(FateEquipmentAttributes fateEquipmentAttributes);
|
||||
|
||||
/**
|
||||
* 新增装备附加属性
|
||||
*
|
||||
* @param fateEquipmentAttributes 装备附加属性
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateEquipmentAttributes(FateEquipmentAttributes fateEquipmentAttributes);
|
||||
|
||||
/**
|
||||
* 修改装备附加属性
|
||||
*
|
||||
* @param fateEquipmentAttributes 装备附加属性
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateEquipmentAttributes(FateEquipmentAttributes fateEquipmentAttributes);
|
||||
|
||||
/**
|
||||
* 删除装备附加属性
|
||||
*
|
||||
* @param attributeId 装备附加属性主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentAttributesByAttributeId(Long attributeId);
|
||||
|
||||
/**
|
||||
* 批量删除装备附加属性
|
||||
*
|
||||
* @param attributeIds 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentAttributesByAttributeIds(Long[] attributeIds);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.system.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.system.domain.FateEquipmentPossibleAttributes;
|
||||
|
||||
/**
|
||||
* 装备可能拥有的属性Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface FateEquipmentPossibleAttributesMapper
|
||||
{
|
||||
/**
|
||||
* 查询装备可能拥有的属性
|
||||
*
|
||||
* @param id 装备可能拥有的属性主键
|
||||
* @return 装备可能拥有的属性
|
||||
*/
|
||||
public FateEquipmentPossibleAttributes selectFateEquipmentPossibleAttributesById(Long id);
|
||||
|
||||
/**
|
||||
* 查询装备可能拥有的属性列表
|
||||
*
|
||||
* @param fateEquipmentPossibleAttributes 装备可能拥有的属性
|
||||
* @return 装备可能拥有的属性集合
|
||||
*/
|
||||
public List<FateEquipmentPossibleAttributes> selectFateEquipmentPossibleAttributesList(FateEquipmentPossibleAttributes fateEquipmentPossibleAttributes);
|
||||
|
||||
/**
|
||||
* 新增装备可能拥有的属性
|
||||
*
|
||||
* @param fateEquipmentPossibleAttributes 装备可能拥有的属性
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateEquipmentPossibleAttributes(FateEquipmentPossibleAttributes fateEquipmentPossibleAttributes);
|
||||
|
||||
/**
|
||||
* 修改装备可能拥有的属性
|
||||
*
|
||||
* @param fateEquipmentPossibleAttributes 装备可能拥有的属性
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateEquipmentPossibleAttributes(FateEquipmentPossibleAttributes fateEquipmentPossibleAttributes);
|
||||
|
||||
/**
|
||||
* 删除装备可能拥有的属性
|
||||
*
|
||||
* @param id 装备可能拥有的属性主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentPossibleAttributesById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除装备可能拥有的属性
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentPossibleAttributesByIds(Long[] ids);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.system.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.system.domain.FateEquipmentQualities;
|
||||
|
||||
/**
|
||||
* 装备品质Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface FateEquipmentQualitiesMapper
|
||||
{
|
||||
/**
|
||||
* 查询装备品质
|
||||
*
|
||||
* @param qualityId 装备品质主键
|
||||
* @return 装备品质
|
||||
*/
|
||||
public FateEquipmentQualities selectFateEquipmentQualitiesByQualityId(Long qualityId);
|
||||
|
||||
/**
|
||||
* 查询装备品质列表
|
||||
*
|
||||
* @param fateEquipmentQualities 装备品质
|
||||
* @return 装备品质集合
|
||||
*/
|
||||
public List<FateEquipmentQualities> selectFateEquipmentQualitiesList(FateEquipmentQualities fateEquipmentQualities);
|
||||
|
||||
/**
|
||||
* 新增装备品质
|
||||
*
|
||||
* @param fateEquipmentQualities 装备品质
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateEquipmentQualities(FateEquipmentQualities fateEquipmentQualities);
|
||||
|
||||
/**
|
||||
* 修改装备品质
|
||||
*
|
||||
* @param fateEquipmentQualities 装备品质
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateEquipmentQualities(FateEquipmentQualities fateEquipmentQualities);
|
||||
|
||||
/**
|
||||
* 删除装备品质
|
||||
*
|
||||
* @param qualityId 装备品质主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentQualitiesByQualityId(Long qualityId);
|
||||
|
||||
/**
|
||||
* 批量删除装备品质
|
||||
*
|
||||
* @param qualityIds 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentQualitiesByQualityIds(Long[] qualityIds);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.system.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.system.domain.FateEquipmentSetItems;
|
||||
|
||||
/**
|
||||
* 装备套装包含Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface FateEquipmentSetItemsMapper
|
||||
{
|
||||
/**
|
||||
* 查询装备套装包含
|
||||
*
|
||||
* @param id 装备套装包含主键
|
||||
* @return 装备套装包含
|
||||
*/
|
||||
public FateEquipmentSetItems selectFateEquipmentSetItemsById(Long id);
|
||||
|
||||
/**
|
||||
* 查询装备套装包含列表
|
||||
*
|
||||
* @param fateEquipmentSetItems 装备套装包含
|
||||
* @return 装备套装包含集合
|
||||
*/
|
||||
public List<FateEquipmentSetItems> selectFateEquipmentSetItemsList(FateEquipmentSetItems fateEquipmentSetItems);
|
||||
|
||||
/**
|
||||
* 新增装备套装包含
|
||||
*
|
||||
* @param fateEquipmentSetItems 装备套装包含
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateEquipmentSetItems(FateEquipmentSetItems fateEquipmentSetItems);
|
||||
|
||||
/**
|
||||
* 修改装备套装包含
|
||||
*
|
||||
* @param fateEquipmentSetItems 装备套装包含
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateEquipmentSetItems(FateEquipmentSetItems fateEquipmentSetItems);
|
||||
|
||||
/**
|
||||
* 删除装备套装包含
|
||||
*
|
||||
* @param id 装备套装包含主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentSetItemsById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除装备套装包含
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentSetItemsByIds(Long[] ids);
|
||||
}
|
||||
@ -0,0 +1,62 @@
|
||||
package com.ruoyi.system.mapper;
|
||||
|
||||
import com.ruoyi.system.domain.FateEquipmentSets;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 装备套装Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface FateEquipmentSetsMapper
|
||||
{
|
||||
/**
|
||||
* 查询装备套装
|
||||
*
|
||||
* @param setId 装备套装主键
|
||||
* @return 装备套装
|
||||
*/
|
||||
public FateEquipmentSets selectFateEquipmentSetsBySetId(Long setId);
|
||||
|
||||
/**
|
||||
* 查询装备套装列表
|
||||
*
|
||||
* @param fateEquipmentSets 装备套装
|
||||
* @return 装备套装集合
|
||||
*/
|
||||
public List<FateEquipmentSets> selectFateEquipmentSetsList(FateEquipmentSets fateEquipmentSets);
|
||||
|
||||
/**
|
||||
* 新增装备套装
|
||||
*
|
||||
* @param fateEquipmentSets 装备套装
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateEquipmentSets(FateEquipmentSets fateEquipmentSets);
|
||||
|
||||
/**
|
||||
* 修改装备套装
|
||||
*
|
||||
* @param fateEquipmentSets 装备套装
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateEquipmentSets(FateEquipmentSets fateEquipmentSets);
|
||||
|
||||
/**
|
||||
* 删除装备套装
|
||||
*
|
||||
* @param setId 装备套装主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentSetsBySetId(Long setId);
|
||||
|
||||
/**
|
||||
* 批量删除装备套装
|
||||
*
|
||||
* @param setIds 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentSetsBySetIds(Long[] setIds);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.system.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.system.domain.FateEquipmentTypes;
|
||||
|
||||
/**
|
||||
* 装备类型Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface FateEquipmentTypesMapper
|
||||
{
|
||||
/**
|
||||
* 查询装备类型
|
||||
*
|
||||
* @param typeId 装备类型主键
|
||||
* @return 装备类型
|
||||
*/
|
||||
public FateEquipmentTypes selectFateEquipmentTypesByTypeId(Long typeId);
|
||||
|
||||
/**
|
||||
* 查询装备类型列表
|
||||
*
|
||||
* @param fateEquipmentTypes 装备类型
|
||||
* @return 装备类型集合
|
||||
*/
|
||||
public List<FateEquipmentTypes> selectFateEquipmentTypesList(FateEquipmentTypes fateEquipmentTypes);
|
||||
|
||||
/**
|
||||
* 新增装备类型
|
||||
*
|
||||
* @param fateEquipmentTypes 装备类型
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateEquipmentTypes(FateEquipmentTypes fateEquipmentTypes);
|
||||
|
||||
/**
|
||||
* 修改装备类型
|
||||
*
|
||||
* @param fateEquipmentTypes 装备类型
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateEquipmentTypes(FateEquipmentTypes fateEquipmentTypes);
|
||||
|
||||
/**
|
||||
* 删除装备类型
|
||||
*
|
||||
* @param typeId 装备类型主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentTypesByTypeId(Long typeId);
|
||||
|
||||
/**
|
||||
* 批量删除装备类型
|
||||
*
|
||||
* @param typeIds 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentTypesByTypeIds(Long[] typeIds);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.system.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.system.domain.FateEquipments;
|
||||
|
||||
/**
|
||||
* 装备基础Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface FateEquipmentsMapper
|
||||
{
|
||||
/**
|
||||
* 查询装备基础
|
||||
*
|
||||
* @param equipmentId 装备基础主键
|
||||
* @return 装备基础
|
||||
*/
|
||||
public FateEquipments selectFateEquipmentsByEquipmentId(Long equipmentId);
|
||||
|
||||
/**
|
||||
* 查询装备基础列表
|
||||
*
|
||||
* @param fateEquipments 装备基础
|
||||
* @return 装备基础集合
|
||||
*/
|
||||
public List<FateEquipments> selectFateEquipmentsList(FateEquipments fateEquipments);
|
||||
|
||||
/**
|
||||
* 新增装备基础
|
||||
*
|
||||
* @param fateEquipments 装备基础
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateEquipments(FateEquipments fateEquipments);
|
||||
|
||||
/**
|
||||
* 修改装备基础
|
||||
*
|
||||
* @param fateEquipments 装备基础
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateEquipments(FateEquipments fateEquipments);
|
||||
|
||||
/**
|
||||
* 删除装备基础
|
||||
*
|
||||
* @param equipmentId 装备基础主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentsByEquipmentId(Long equipmentId);
|
||||
|
||||
/**
|
||||
* 批量删除装备基础
|
||||
*
|
||||
* @param equipmentIds 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentsByEquipmentIds(Long[] equipmentIds);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.system.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.system.domain.FateJobLevelBonus;
|
||||
|
||||
/**
|
||||
* 职业等级加成Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface FateJobLevelBonusMapper
|
||||
{
|
||||
/**
|
||||
* 查询职业等级加成
|
||||
*
|
||||
* @param bonusId 职业等级加成主键
|
||||
* @return 职业等级加成
|
||||
*/
|
||||
public FateJobLevelBonus selectFateJobLevelBonusByBonusId(Long bonusId);
|
||||
|
||||
/**
|
||||
* 查询职业等级加成列表
|
||||
*
|
||||
* @param fateJobLevelBonus 职业等级加成
|
||||
* @return 职业等级加成集合
|
||||
*/
|
||||
public List<FateJobLevelBonus> selectFateJobLevelBonusList(FateJobLevelBonus fateJobLevelBonus);
|
||||
|
||||
/**
|
||||
* 新增职业等级加成
|
||||
*
|
||||
* @param fateJobLevelBonus 职业等级加成
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateJobLevelBonus(FateJobLevelBonus fateJobLevelBonus);
|
||||
|
||||
/**
|
||||
* 修改职业等级加成
|
||||
*
|
||||
* @param fateJobLevelBonus 职业等级加成
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateJobLevelBonus(FateJobLevelBonus fateJobLevelBonus);
|
||||
|
||||
/**
|
||||
* 删除职业等级加成
|
||||
*
|
||||
* @param bonusId 职业等级加成主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateJobLevelBonusByBonusId(Long bonusId);
|
||||
|
||||
/**
|
||||
* 批量删除职业等级加成
|
||||
*
|
||||
* @param bonusIds 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateJobLevelBonusByBonusIds(Long[] bonusIds);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.system.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.system.domain.FateJobPromotions;
|
||||
|
||||
/**
|
||||
* 职业进阶关系Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface FateJobPromotionsMapper
|
||||
{
|
||||
/**
|
||||
* 查询职业进阶关系
|
||||
*
|
||||
* @param promotionId 职业进阶关系主键
|
||||
* @return 职业进阶关系
|
||||
*/
|
||||
public FateJobPromotions selectFateJobPromotionsByPromotionId(Long promotionId);
|
||||
|
||||
/**
|
||||
* 查询职业进阶关系列表
|
||||
*
|
||||
* @param fateJobPromotions 职业进阶关系
|
||||
* @return 职业进阶关系集合
|
||||
*/
|
||||
public List<FateJobPromotions> selectFateJobPromotionsList(FateJobPromotions fateJobPromotions);
|
||||
|
||||
/**
|
||||
* 新增职业进阶关系
|
||||
*
|
||||
* @param fateJobPromotions 职业进阶关系
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateJobPromotions(FateJobPromotions fateJobPromotions);
|
||||
|
||||
/**
|
||||
* 修改职业进阶关系
|
||||
*
|
||||
* @param fateJobPromotions 职业进阶关系
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateJobPromotions(FateJobPromotions fateJobPromotions);
|
||||
|
||||
/**
|
||||
* 删除职业进阶关系
|
||||
*
|
||||
* @param promotionId 职业进阶关系主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateJobPromotionsByPromotionId(Long promotionId);
|
||||
|
||||
/**
|
||||
* 批量删除职业进阶关系
|
||||
*
|
||||
* @param promotionIds 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateJobPromotionsByPromotionIds(Long[] promotionIds);
|
||||
}
|
||||
@ -0,0 +1,62 @@
|
||||
package com.ruoyi.system.mapper;
|
||||
|
||||
import com.ruoyi.system.domain.FateJobSkills;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 职业可学技能Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface FateJobSkillsMapper
|
||||
{
|
||||
/**
|
||||
* 查询职业可学技能
|
||||
*
|
||||
* @param jobSkillId 职业可学技能主键
|
||||
* @return 职业可学技能
|
||||
*/
|
||||
public FateJobSkills selectFateJobSkillsByJobSkillId(Long jobSkillId);
|
||||
|
||||
/**
|
||||
* 查询职业可学技能列表
|
||||
*
|
||||
* @param fateJobSkills 职业可学技能
|
||||
* @return 职业可学技能集合
|
||||
*/
|
||||
public List<FateJobSkills> selectFateJobSkillsList(FateJobSkills fateJobSkills);
|
||||
|
||||
/**
|
||||
* 新增职业可学技能
|
||||
*
|
||||
* @param fateJobSkills 职业可学技能
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateJobSkills(FateJobSkills fateJobSkills);
|
||||
|
||||
/**
|
||||
* 修改职业可学技能
|
||||
*
|
||||
* @param fateJobSkills 职业可学技能
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateJobSkills(FateJobSkills fateJobSkills);
|
||||
|
||||
/**
|
||||
* 删除职业可学技能
|
||||
*
|
||||
* @param jobSkillId 职业可学技能主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateJobSkillsByJobSkillId(Long jobSkillId);
|
||||
|
||||
/**
|
||||
* 批量删除职业可学技能
|
||||
*
|
||||
* @param jobSkillIds 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateJobSkillsByJobSkillIds(Long[] jobSkillIds);
|
||||
}
|
||||
@ -0,0 +1,62 @@
|
||||
package com.ruoyi.system.mapper;
|
||||
|
||||
import com.ruoyi.system.domain.FateJobs;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 职业基础Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface FateJobsMapper
|
||||
{
|
||||
/**
|
||||
* 查询职业基础
|
||||
*
|
||||
* @param jobId 职业基础主键
|
||||
* @return 职业基础
|
||||
*/
|
||||
public FateJobs selectFateJobsByJobId(Long jobId);
|
||||
|
||||
/**
|
||||
* 查询职业基础列表
|
||||
*
|
||||
* @param fateJobs 职业基础
|
||||
* @return 职业基础集合
|
||||
*/
|
||||
public List<FateJobs> selectFateJobsList(FateJobs fateJobs);
|
||||
|
||||
/**
|
||||
* 新增职业基础
|
||||
*
|
||||
* @param fateJobs 职业基础
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateJobs(FateJobs fateJobs);
|
||||
|
||||
/**
|
||||
* 修改职业基础
|
||||
*
|
||||
* @param fateJobs 职业基础
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateJobs(FateJobs fateJobs);
|
||||
|
||||
/**
|
||||
* 删除职业基础
|
||||
*
|
||||
* @param jobId 职业基础主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateJobsByJobId(Long jobId);
|
||||
|
||||
/**
|
||||
* 批量删除职业基础
|
||||
*
|
||||
* @param jobIds 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateJobsByJobIds(Long[] jobIds);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.system.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.system.domain.FateUserCharacter;
|
||||
|
||||
/**
|
||||
* 用户角色Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface FateUserCharacterMapper
|
||||
{
|
||||
/**
|
||||
* 查询用户角色
|
||||
*
|
||||
* @param userCharacterId 用户角色主键
|
||||
* @return 用户角色
|
||||
*/
|
||||
public FateUserCharacter selectFateUserCharacterByUserCharacterId(Long userCharacterId);
|
||||
|
||||
/**
|
||||
* 查询用户角色列表
|
||||
*
|
||||
* @param fateUserCharacter 用户角色
|
||||
* @return 用户角色集合
|
||||
*/
|
||||
public List<FateUserCharacter> selectFateUserCharacterList(FateUserCharacter fateUserCharacter);
|
||||
|
||||
/**
|
||||
* 新增用户角色
|
||||
*
|
||||
* @param fateUserCharacter 用户角色
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateUserCharacter(FateUserCharacter fateUserCharacter);
|
||||
|
||||
/**
|
||||
* 修改用户角色
|
||||
*
|
||||
* @param fateUserCharacter 用户角色
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateUserCharacter(FateUserCharacter fateUserCharacter);
|
||||
|
||||
/**
|
||||
* 删除用户角色
|
||||
*
|
||||
* @param userCharacterId 用户角色主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateUserCharacterByUserCharacterId(Long userCharacterId);
|
||||
|
||||
/**
|
||||
* 批量删除用户角色
|
||||
*
|
||||
* @param userCharacterIds 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateUserCharacterByUserCharacterIds(Long[] userCharacterIds);
|
||||
}
|
||||
@ -0,0 +1,62 @@
|
||||
package com.ruoyi.system.mapper;
|
||||
|
||||
import com.ruoyi.system.domain.FateUserEquipments;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户装备Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface FateUserEquipmentsMapper
|
||||
{
|
||||
/**
|
||||
* 查询用户装备
|
||||
*
|
||||
* @param userEquipmentId 用户装备主键
|
||||
* @return 用户装备
|
||||
*/
|
||||
public FateUserEquipments selectFateUserEquipmentsByUserEquipmentId(Long userEquipmentId);
|
||||
|
||||
/**
|
||||
* 查询用户装备列表
|
||||
*
|
||||
* @param fateUserEquipments 用户装备
|
||||
* @return 用户装备集合
|
||||
*/
|
||||
public List<FateUserEquipments> selectFateUserEquipmentsList(FateUserEquipments fateUserEquipments);
|
||||
|
||||
/**
|
||||
* 新增用户装备
|
||||
*
|
||||
* @param fateUserEquipments 用户装备
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateUserEquipments(FateUserEquipments fateUserEquipments);
|
||||
|
||||
/**
|
||||
* 修改用户装备
|
||||
*
|
||||
* @param fateUserEquipments 用户装备
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateUserEquipments(FateUserEquipments fateUserEquipments);
|
||||
|
||||
/**
|
||||
* 删除用户装备
|
||||
*
|
||||
* @param userEquipmentId 用户装备主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateUserEquipmentsByUserEquipmentId(Long userEquipmentId);
|
||||
|
||||
/**
|
||||
* 批量删除用户装备
|
||||
*
|
||||
* @param userEquipmentIds 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateUserEquipmentsByUserEquipmentIds(Long[] userEquipmentIds);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.system.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.system.domain.FateCharacterGrowthLogs;
|
||||
|
||||
/**
|
||||
* 角色属性成长记录Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface IFateCharacterGrowthLogsService
|
||||
{
|
||||
/**
|
||||
* 查询角色属性成长记录
|
||||
*
|
||||
* @param logId 角色属性成长记录主键
|
||||
* @return 角色属性成长记录
|
||||
*/
|
||||
public FateCharacterGrowthLogs selectFateCharacterGrowthLogsByLogId(Long logId);
|
||||
|
||||
/**
|
||||
* 查询角色属性成长记录列表
|
||||
*
|
||||
* @param fateCharacterGrowthLogs 角色属性成长记录
|
||||
* @return 角色属性成长记录集合
|
||||
*/
|
||||
public List<FateCharacterGrowthLogs> selectFateCharacterGrowthLogsList(FateCharacterGrowthLogs fateCharacterGrowthLogs);
|
||||
|
||||
/**
|
||||
* 新增角色属性成长记录
|
||||
*
|
||||
* @param fateCharacterGrowthLogs 角色属性成长记录
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateCharacterGrowthLogs(FateCharacterGrowthLogs fateCharacterGrowthLogs);
|
||||
|
||||
/**
|
||||
* 修改角色属性成长记录
|
||||
*
|
||||
* @param fateCharacterGrowthLogs 角色属性成长记录
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateCharacterGrowthLogs(FateCharacterGrowthLogs fateCharacterGrowthLogs);
|
||||
|
||||
/**
|
||||
* 批量删除角色属性成长记录
|
||||
*
|
||||
* @param logIds 需要删除的角色属性成长记录主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateCharacterGrowthLogsByLogIds(Long[] logIds);
|
||||
|
||||
/**
|
||||
* 删除角色属性成长记录信息
|
||||
*
|
||||
* @param logId 角色属性成长记录主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateCharacterGrowthLogsByLogId(Long logId);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.system.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.system.domain.FateCharacterJobs;
|
||||
|
||||
/**
|
||||
* 角色职业Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface IFateCharacterJobsService
|
||||
{
|
||||
/**
|
||||
* 查询角色职业
|
||||
*
|
||||
* @param characterJobId 角色职业主键
|
||||
* @return 角色职业
|
||||
*/
|
||||
public FateCharacterJobs selectFateCharacterJobsByCharacterJobId(Long characterJobId);
|
||||
|
||||
/**
|
||||
* 查询角色职业列表
|
||||
*
|
||||
* @param fateCharacterJobs 角色职业
|
||||
* @return 角色职业集合
|
||||
*/
|
||||
public List<FateCharacterJobs> selectFateCharacterJobsList(FateCharacterJobs fateCharacterJobs);
|
||||
|
||||
/**
|
||||
* 新增角色职业
|
||||
*
|
||||
* @param fateCharacterJobs 角色职业
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateCharacterJobs(FateCharacterJobs fateCharacterJobs);
|
||||
|
||||
/**
|
||||
* 修改角色职业
|
||||
*
|
||||
* @param fateCharacterJobs 角色职业
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateCharacterJobs(FateCharacterJobs fateCharacterJobs);
|
||||
|
||||
/**
|
||||
* 批量删除角色职业
|
||||
*
|
||||
* @param characterJobIds 需要删除的角色职业主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateCharacterJobsByCharacterJobIds(Long[] characterJobIds);
|
||||
|
||||
/**
|
||||
* 删除角色职业信息
|
||||
*
|
||||
* @param characterJobId 角色职业主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateCharacterJobsByCharacterJobId(Long characterJobId);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.system.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.system.domain.FateCharacter;
|
||||
|
||||
/**
|
||||
* 角色基础Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface IFateCharacterService
|
||||
{
|
||||
/**
|
||||
* 查询角色基础
|
||||
*
|
||||
* @param characterId 角色基础主键
|
||||
* @return 角色基础
|
||||
*/
|
||||
public FateCharacter selectFateCharacterByCharacterId(Long characterId);
|
||||
|
||||
/**
|
||||
* 查询角色基础列表
|
||||
*
|
||||
* @param fateCharacter 角色基础
|
||||
* @return 角色基础集合
|
||||
*/
|
||||
public List<FateCharacter> selectFateCharacterList(FateCharacter fateCharacter);
|
||||
|
||||
/**
|
||||
* 新增角色基础
|
||||
*
|
||||
* @param fateCharacter 角色基础
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateCharacter(FateCharacter fateCharacter);
|
||||
|
||||
/**
|
||||
* 修改角色基础
|
||||
*
|
||||
* @param fateCharacter 角色基础
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateCharacter(FateCharacter fateCharacter);
|
||||
|
||||
/**
|
||||
* 批量删除角色基础
|
||||
*
|
||||
* @param characterIds 需要删除的角色基础主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateCharacterByCharacterIds(Long[] characterIds);
|
||||
|
||||
/**
|
||||
* 删除角色基础信息
|
||||
*
|
||||
* @param characterId 角色基础主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateCharacterByCharacterId(Long characterId);
|
||||
}
|
||||
@ -0,0 +1,63 @@
|
||||
package com.ruoyi.system.service;
|
||||
|
||||
|
||||
import com.ruoyi.system.domain.FateEquipmentAttributes;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 装备附加属性Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface IFateEquipmentAttributesService
|
||||
{
|
||||
/**
|
||||
* 查询装备附加属性
|
||||
*
|
||||
* @param attributeId 装备附加属性主键
|
||||
* @return 装备附加属性
|
||||
*/
|
||||
public FateEquipmentAttributes selectFateEquipmentAttributesByAttributeId(Long attributeId);
|
||||
|
||||
/**
|
||||
* 查询装备附加属性列表
|
||||
*
|
||||
* @param fateEquipmentAttributes 装备附加属性
|
||||
* @return 装备附加属性集合
|
||||
*/
|
||||
public List<FateEquipmentAttributes> selectFateEquipmentAttributesList(FateEquipmentAttributes fateEquipmentAttributes);
|
||||
|
||||
/**
|
||||
* 新增装备附加属性
|
||||
*
|
||||
* @param fateEquipmentAttributes 装备附加属性
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateEquipmentAttributes(FateEquipmentAttributes fateEquipmentAttributes);
|
||||
|
||||
/**
|
||||
* 修改装备附加属性
|
||||
*
|
||||
* @param fateEquipmentAttributes 装备附加属性
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateEquipmentAttributes(FateEquipmentAttributes fateEquipmentAttributes);
|
||||
|
||||
/**
|
||||
* 批量删除装备附加属性
|
||||
*
|
||||
* @param attributeIds 需要删除的装备附加属性主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentAttributesByAttributeIds(Long[] attributeIds);
|
||||
|
||||
/**
|
||||
* 删除装备附加属性信息
|
||||
*
|
||||
* @param attributeId 装备附加属性主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentAttributesByAttributeId(Long attributeId);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.system.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.system.domain.FateEquipmentPossibleAttributes;
|
||||
|
||||
/**
|
||||
* 装备可能拥有的属性Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface IFateEquipmentPossibleAttributesService
|
||||
{
|
||||
/**
|
||||
* 查询装备可能拥有的属性
|
||||
*
|
||||
* @param id 装备可能拥有的属性主键
|
||||
* @return 装备可能拥有的属性
|
||||
*/
|
||||
public FateEquipmentPossibleAttributes selectFateEquipmentPossibleAttributesById(Long id);
|
||||
|
||||
/**
|
||||
* 查询装备可能拥有的属性列表
|
||||
*
|
||||
* @param fateEquipmentPossibleAttributes 装备可能拥有的属性
|
||||
* @return 装备可能拥有的属性集合
|
||||
*/
|
||||
public List<FateEquipmentPossibleAttributes> selectFateEquipmentPossibleAttributesList(FateEquipmentPossibleAttributes fateEquipmentPossibleAttributes);
|
||||
|
||||
/**
|
||||
* 新增装备可能拥有的属性
|
||||
*
|
||||
* @param fateEquipmentPossibleAttributes 装备可能拥有的属性
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateEquipmentPossibleAttributes(FateEquipmentPossibleAttributes fateEquipmentPossibleAttributes);
|
||||
|
||||
/**
|
||||
* 修改装备可能拥有的属性
|
||||
*
|
||||
* @param fateEquipmentPossibleAttributes 装备可能拥有的属性
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateEquipmentPossibleAttributes(FateEquipmentPossibleAttributes fateEquipmentPossibleAttributes);
|
||||
|
||||
/**
|
||||
* 批量删除装备可能拥有的属性
|
||||
*
|
||||
* @param ids 需要删除的装备可能拥有的属性主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentPossibleAttributesByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除装备可能拥有的属性信息
|
||||
*
|
||||
* @param id 装备可能拥有的属性主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentPossibleAttributesById(Long id);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.system.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.system.domain.FateEquipmentQualities;
|
||||
|
||||
/**
|
||||
* 装备品质Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface IFateEquipmentQualitiesService
|
||||
{
|
||||
/**
|
||||
* 查询装备品质
|
||||
*
|
||||
* @param qualityId 装备品质主键
|
||||
* @return 装备品质
|
||||
*/
|
||||
public FateEquipmentQualities selectFateEquipmentQualitiesByQualityId(Long qualityId);
|
||||
|
||||
/**
|
||||
* 查询装备品质列表
|
||||
*
|
||||
* @param fateEquipmentQualities 装备品质
|
||||
* @return 装备品质集合
|
||||
*/
|
||||
public List<FateEquipmentQualities> selectFateEquipmentQualitiesList(FateEquipmentQualities fateEquipmentQualities);
|
||||
|
||||
/**
|
||||
* 新增装备品质
|
||||
*
|
||||
* @param fateEquipmentQualities 装备品质
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateEquipmentQualities(FateEquipmentQualities fateEquipmentQualities);
|
||||
|
||||
/**
|
||||
* 修改装备品质
|
||||
*
|
||||
* @param fateEquipmentQualities 装备品质
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateEquipmentQualities(FateEquipmentQualities fateEquipmentQualities);
|
||||
|
||||
/**
|
||||
* 批量删除装备品质
|
||||
*
|
||||
* @param qualityIds 需要删除的装备品质主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentQualitiesByQualityIds(Long[] qualityIds);
|
||||
|
||||
/**
|
||||
* 删除装备品质信息
|
||||
*
|
||||
* @param qualityId 装备品质主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentQualitiesByQualityId(Long qualityId);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.system.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.system.domain.FateEquipmentSetItems;
|
||||
|
||||
/**
|
||||
* 装备套装包含Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface IFateEquipmentSetItemsService
|
||||
{
|
||||
/**
|
||||
* 查询装备套装包含
|
||||
*
|
||||
* @param id 装备套装包含主键
|
||||
* @return 装备套装包含
|
||||
*/
|
||||
public FateEquipmentSetItems selectFateEquipmentSetItemsById(Long id);
|
||||
|
||||
/**
|
||||
* 查询装备套装包含列表
|
||||
*
|
||||
* @param fateEquipmentSetItems 装备套装包含
|
||||
* @return 装备套装包含集合
|
||||
*/
|
||||
public List<FateEquipmentSetItems> selectFateEquipmentSetItemsList(FateEquipmentSetItems fateEquipmentSetItems);
|
||||
|
||||
/**
|
||||
* 新增装备套装包含
|
||||
*
|
||||
* @param fateEquipmentSetItems 装备套装包含
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateEquipmentSetItems(FateEquipmentSetItems fateEquipmentSetItems);
|
||||
|
||||
/**
|
||||
* 修改装备套装包含
|
||||
*
|
||||
* @param fateEquipmentSetItems 装备套装包含
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateEquipmentSetItems(FateEquipmentSetItems fateEquipmentSetItems);
|
||||
|
||||
/**
|
||||
* 批量删除装备套装包含
|
||||
*
|
||||
* @param ids 需要删除的装备套装包含主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentSetItemsByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除装备套装包含信息
|
||||
*
|
||||
* @param id 装备套装包含主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentSetItemsById(Long id);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.system.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.system.domain.FateEquipmentSets;
|
||||
|
||||
/**
|
||||
* 装备套装Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface IFateEquipmentSetsService
|
||||
{
|
||||
/**
|
||||
* 查询装备套装
|
||||
*
|
||||
* @param setId 装备套装主键
|
||||
* @return 装备套装
|
||||
*/
|
||||
public FateEquipmentSets selectFateEquipmentSetsBySetId(Long setId);
|
||||
|
||||
/**
|
||||
* 查询装备套装列表
|
||||
*
|
||||
* @param fateEquipmentSets 装备套装
|
||||
* @return 装备套装集合
|
||||
*/
|
||||
public List<FateEquipmentSets> selectFateEquipmentSetsList(FateEquipmentSets fateEquipmentSets);
|
||||
|
||||
/**
|
||||
* 新增装备套装
|
||||
*
|
||||
* @param fateEquipmentSets 装备套装
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateEquipmentSets(FateEquipmentSets fateEquipmentSets);
|
||||
|
||||
/**
|
||||
* 修改装备套装
|
||||
*
|
||||
* @param fateEquipmentSets 装备套装
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateEquipmentSets(FateEquipmentSets fateEquipmentSets);
|
||||
|
||||
/**
|
||||
* 批量删除装备套装
|
||||
*
|
||||
* @param setIds 需要删除的装备套装主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentSetsBySetIds(Long[] setIds);
|
||||
|
||||
/**
|
||||
* 删除装备套装信息
|
||||
*
|
||||
* @param setId 装备套装主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentSetsBySetId(Long setId);
|
||||
}
|
||||
@ -0,0 +1,62 @@
|
||||
package com.ruoyi.system.service;
|
||||
|
||||
import com.ruoyi.system.domain.FateEquipmentTypes;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 装备类型Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface IFateEquipmentTypesService
|
||||
{
|
||||
/**
|
||||
* 查询装备类型
|
||||
*
|
||||
* @param typeId 装备类型主键
|
||||
* @return 装备类型
|
||||
*/
|
||||
public FateEquipmentTypes selectFateEquipmentTypesByTypeId(Long typeId);
|
||||
|
||||
/**
|
||||
* 查询装备类型列表
|
||||
*
|
||||
* @param fateEquipmentTypes 装备类型
|
||||
* @return 装备类型集合
|
||||
*/
|
||||
public List<FateEquipmentTypes> selectFateEquipmentTypesList(FateEquipmentTypes fateEquipmentTypes);
|
||||
|
||||
/**
|
||||
* 新增装备类型
|
||||
*
|
||||
* @param fateEquipmentTypes 装备类型
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateEquipmentTypes(FateEquipmentTypes fateEquipmentTypes);
|
||||
|
||||
/**
|
||||
* 修改装备类型
|
||||
*
|
||||
* @param fateEquipmentTypes 装备类型
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateEquipmentTypes(FateEquipmentTypes fateEquipmentTypes);
|
||||
|
||||
/**
|
||||
* 批量删除装备类型
|
||||
*
|
||||
* @param typeIds 需要删除的装备类型主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentTypesByTypeIds(Long[] typeIds);
|
||||
|
||||
/**
|
||||
* 删除装备类型信息
|
||||
*
|
||||
* @param typeId 装备类型主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentTypesByTypeId(Long typeId);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.system.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.system.domain.FateEquipments;
|
||||
|
||||
/**
|
||||
* 装备基础Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface IFateEquipmentsService
|
||||
{
|
||||
/**
|
||||
* 查询装备基础
|
||||
*
|
||||
* @param equipmentId 装备基础主键
|
||||
* @return 装备基础
|
||||
*/
|
||||
public FateEquipments selectFateEquipmentsByEquipmentId(Long equipmentId);
|
||||
|
||||
/**
|
||||
* 查询装备基础列表
|
||||
*
|
||||
* @param fateEquipments 装备基础
|
||||
* @return 装备基础集合
|
||||
*/
|
||||
public List<FateEquipments> selectFateEquipmentsList(FateEquipments fateEquipments);
|
||||
|
||||
/**
|
||||
* 新增装备基础
|
||||
*
|
||||
* @param fateEquipments 装备基础
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateEquipments(FateEquipments fateEquipments);
|
||||
|
||||
/**
|
||||
* 修改装备基础
|
||||
*
|
||||
* @param fateEquipments 装备基础
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateEquipments(FateEquipments fateEquipments);
|
||||
|
||||
/**
|
||||
* 批量删除装备基础
|
||||
*
|
||||
* @param equipmentIds 需要删除的装备基础主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentsByEquipmentIds(Long[] equipmentIds);
|
||||
|
||||
/**
|
||||
* 删除装备基础信息
|
||||
*
|
||||
* @param equipmentId 装备基础主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateEquipmentsByEquipmentId(Long equipmentId);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.system.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.system.domain.FateJobLevelBonus;
|
||||
|
||||
/**
|
||||
* 职业等级加成Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface IFateJobLevelBonusService
|
||||
{
|
||||
/**
|
||||
* 查询职业等级加成
|
||||
*
|
||||
* @param bonusId 职业等级加成主键
|
||||
* @return 职业等级加成
|
||||
*/
|
||||
public FateJobLevelBonus selectFateJobLevelBonusByBonusId(Long bonusId);
|
||||
|
||||
/**
|
||||
* 查询职业等级加成列表
|
||||
*
|
||||
* @param fateJobLevelBonus 职业等级加成
|
||||
* @return 职业等级加成集合
|
||||
*/
|
||||
public List<FateJobLevelBonus> selectFateJobLevelBonusList(FateJobLevelBonus fateJobLevelBonus);
|
||||
|
||||
/**
|
||||
* 新增职业等级加成
|
||||
*
|
||||
* @param fateJobLevelBonus 职业等级加成
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateJobLevelBonus(FateJobLevelBonus fateJobLevelBonus);
|
||||
|
||||
/**
|
||||
* 修改职业等级加成
|
||||
*
|
||||
* @param fateJobLevelBonus 职业等级加成
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateJobLevelBonus(FateJobLevelBonus fateJobLevelBonus);
|
||||
|
||||
/**
|
||||
* 批量删除职业等级加成
|
||||
*
|
||||
* @param bonusIds 需要删除的职业等级加成主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateJobLevelBonusByBonusIds(Long[] bonusIds);
|
||||
|
||||
/**
|
||||
* 删除职业等级加成信息
|
||||
*
|
||||
* @param bonusId 职业等级加成主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateJobLevelBonusByBonusId(Long bonusId);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.system.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.system.domain.FateJobPromotions;
|
||||
|
||||
/**
|
||||
* 职业进阶关系Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface IFateJobPromotionsService
|
||||
{
|
||||
/**
|
||||
* 查询职业进阶关系
|
||||
*
|
||||
* @param promotionId 职业进阶关系主键
|
||||
* @return 职业进阶关系
|
||||
*/
|
||||
public FateJobPromotions selectFateJobPromotionsByPromotionId(Long promotionId);
|
||||
|
||||
/**
|
||||
* 查询职业进阶关系列表
|
||||
*
|
||||
* @param fateJobPromotions 职业进阶关系
|
||||
* @return 职业进阶关系集合
|
||||
*/
|
||||
public List<FateJobPromotions> selectFateJobPromotionsList(FateJobPromotions fateJobPromotions);
|
||||
|
||||
/**
|
||||
* 新增职业进阶关系
|
||||
*
|
||||
* @param fateJobPromotions 职业进阶关系
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateJobPromotions(FateJobPromotions fateJobPromotions);
|
||||
|
||||
/**
|
||||
* 修改职业进阶关系
|
||||
*
|
||||
* @param fateJobPromotions 职业进阶关系
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateJobPromotions(FateJobPromotions fateJobPromotions);
|
||||
|
||||
/**
|
||||
* 批量删除职业进阶关系
|
||||
*
|
||||
* @param promotionIds 需要删除的职业进阶关系主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateJobPromotionsByPromotionIds(Long[] promotionIds);
|
||||
|
||||
/**
|
||||
* 删除职业进阶关系信息
|
||||
*
|
||||
* @param promotionId 职业进阶关系主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateJobPromotionsByPromotionId(Long promotionId);
|
||||
}
|
||||
@ -0,0 +1,62 @@
|
||||
package com.ruoyi.system.service;
|
||||
|
||||
import com.ruoyi.system.domain.FateJobSkills;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 职业可学技能Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface IFateJobSkillsService
|
||||
{
|
||||
/**
|
||||
* 查询职业可学技能
|
||||
*
|
||||
* @param jobSkillId 职业可学技能主键
|
||||
* @return 职业可学技能
|
||||
*/
|
||||
public FateJobSkills selectFateJobSkillsByJobSkillId(Long jobSkillId);
|
||||
|
||||
/**
|
||||
* 查询职业可学技能列表
|
||||
*
|
||||
* @param fateJobSkills 职业可学技能
|
||||
* @return 职业可学技能集合
|
||||
*/
|
||||
public List<FateJobSkills> selectFateJobSkillsList(FateJobSkills fateJobSkills);
|
||||
|
||||
/**
|
||||
* 新增职业可学技能
|
||||
*
|
||||
* @param fateJobSkills 职业可学技能
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateJobSkills(FateJobSkills fateJobSkills);
|
||||
|
||||
/**
|
||||
* 修改职业可学技能
|
||||
*
|
||||
* @param fateJobSkills 职业可学技能
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateJobSkills(FateJobSkills fateJobSkills);
|
||||
|
||||
/**
|
||||
* 批量删除职业可学技能
|
||||
*
|
||||
* @param jobSkillIds 需要删除的职业可学技能主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateJobSkillsByJobSkillIds(Long[] jobSkillIds);
|
||||
|
||||
/**
|
||||
* 删除职业可学技能信息
|
||||
*
|
||||
* @param jobSkillId 职业可学技能主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateJobSkillsByJobSkillId(Long jobSkillId);
|
||||
}
|
||||
@ -0,0 +1,62 @@
|
||||
package com.ruoyi.system.service;
|
||||
|
||||
import com.ruoyi.system.domain.FateJobs;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 职业基础Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface IFateJobsService
|
||||
{
|
||||
/**
|
||||
* 查询职业基础
|
||||
*
|
||||
* @param jobId 职业基础主键
|
||||
* @return 职业基础
|
||||
*/
|
||||
public FateJobs selectFateJobsByJobId(Long jobId);
|
||||
|
||||
/**
|
||||
* 查询职业基础列表
|
||||
*
|
||||
* @param fateJobs 职业基础
|
||||
* @return 职业基础集合
|
||||
*/
|
||||
public List<FateJobs> selectFateJobsList(FateJobs fateJobs);
|
||||
|
||||
/**
|
||||
* 新增职业基础
|
||||
*
|
||||
* @param fateJobs 职业基础
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateJobs(FateJobs fateJobs);
|
||||
|
||||
/**
|
||||
* 修改职业基础
|
||||
*
|
||||
* @param fateJobs 职业基础
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateJobs(FateJobs fateJobs);
|
||||
|
||||
/**
|
||||
* 批量删除职业基础
|
||||
*
|
||||
* @param jobIds 需要删除的职业基础主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateJobsByJobIds(Long[] jobIds);
|
||||
|
||||
/**
|
||||
* 删除职业基础信息
|
||||
*
|
||||
* @param jobId 职业基础主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateJobsByJobId(Long jobId);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.system.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.system.domain.FateUserCharacter;
|
||||
|
||||
/**
|
||||
* 用户角色Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface IFateUserCharacterService
|
||||
{
|
||||
/**
|
||||
* 查询用户角色
|
||||
*
|
||||
* @param userCharacterId 用户角色主键
|
||||
* @return 用户角色
|
||||
*/
|
||||
public FateUserCharacter selectFateUserCharacterByUserCharacterId(Long userCharacterId);
|
||||
|
||||
/**
|
||||
* 查询用户角色列表
|
||||
*
|
||||
* @param fateUserCharacter 用户角色
|
||||
* @return 用户角色集合
|
||||
*/
|
||||
public List<FateUserCharacter> selectFateUserCharacterList(FateUserCharacter fateUserCharacter);
|
||||
|
||||
/**
|
||||
* 新增用户角色
|
||||
*
|
||||
* @param fateUserCharacter 用户角色
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateUserCharacter(FateUserCharacter fateUserCharacter);
|
||||
|
||||
/**
|
||||
* 修改用户角色
|
||||
*
|
||||
* @param fateUserCharacter 用户角色
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateUserCharacter(FateUserCharacter fateUserCharacter);
|
||||
|
||||
/**
|
||||
* 批量删除用户角色
|
||||
*
|
||||
* @param userCharacterIds 需要删除的用户角色主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateUserCharacterByUserCharacterIds(Long[] userCharacterIds);
|
||||
|
||||
/**
|
||||
* 删除用户角色信息
|
||||
*
|
||||
* @param userCharacterId 用户角色主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateUserCharacterByUserCharacterId(Long userCharacterId);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.system.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.system.domain.FateUserEquipments;
|
||||
|
||||
/**
|
||||
* 用户装备Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
public interface IFateUserEquipmentsService
|
||||
{
|
||||
/**
|
||||
* 查询用户装备
|
||||
*
|
||||
* @param userEquipmentId 用户装备主键
|
||||
* @return 用户装备
|
||||
*/
|
||||
public FateUserEquipments selectFateUserEquipmentsByUserEquipmentId(Long userEquipmentId);
|
||||
|
||||
/**
|
||||
* 查询用户装备列表
|
||||
*
|
||||
* @param fateUserEquipments 用户装备
|
||||
* @return 用户装备集合
|
||||
*/
|
||||
public List<FateUserEquipments> selectFateUserEquipmentsList(FateUserEquipments fateUserEquipments);
|
||||
|
||||
/**
|
||||
* 新增用户装备
|
||||
*
|
||||
* @param fateUserEquipments 用户装备
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertFateUserEquipments(FateUserEquipments fateUserEquipments);
|
||||
|
||||
/**
|
||||
* 修改用户装备
|
||||
*
|
||||
* @param fateUserEquipments 用户装备
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateFateUserEquipments(FateUserEquipments fateUserEquipments);
|
||||
|
||||
/**
|
||||
* 批量删除用户装备
|
||||
*
|
||||
* @param userEquipmentIds 需要删除的用户装备主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateUserEquipmentsByUserEquipmentIds(Long[] userEquipmentIds);
|
||||
|
||||
/**
|
||||
* 删除用户装备信息
|
||||
*
|
||||
* @param userEquipmentId 用户装备主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteFateUserEquipmentsByUserEquipmentId(Long userEquipmentId);
|
||||
}
|
||||
@ -0,0 +1,93 @@
|
||||
package com.ruoyi.system.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.system.mapper.FateCharacterGrowthLogsMapper;
|
||||
import com.ruoyi.system.domain.FateCharacterGrowthLogs;
|
||||
import com.ruoyi.system.service.IFateCharacterGrowthLogsService;
|
||||
|
||||
/**
|
||||
* 角色属性成长记录Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
@Service
|
||||
public class FateCharacterGrowthLogsServiceImpl implements IFateCharacterGrowthLogsService
|
||||
{
|
||||
@Autowired
|
||||
private FateCharacterGrowthLogsMapper fateCharacterGrowthLogsMapper;
|
||||
|
||||
/**
|
||||
* 查询角色属性成长记录
|
||||
*
|
||||
* @param logId 角色属性成长记录主键
|
||||
* @return 角色属性成长记录
|
||||
*/
|
||||
@Override
|
||||
public FateCharacterGrowthLogs selectFateCharacterGrowthLogsByLogId(Long logId)
|
||||
{
|
||||
return fateCharacterGrowthLogsMapper.selectFateCharacterGrowthLogsByLogId(logId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询角色属性成长记录列表
|
||||
*
|
||||
* @param fateCharacterGrowthLogs 角色属性成长记录
|
||||
* @return 角色属性成长记录
|
||||
*/
|
||||
@Override
|
||||
public List<FateCharacterGrowthLogs> selectFateCharacterGrowthLogsList(FateCharacterGrowthLogs fateCharacterGrowthLogs)
|
||||
{
|
||||
return fateCharacterGrowthLogsMapper.selectFateCharacterGrowthLogsList(fateCharacterGrowthLogs);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增角色属性成长记录
|
||||
*
|
||||
* @param fateCharacterGrowthLogs 角色属性成长记录
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertFateCharacterGrowthLogs(FateCharacterGrowthLogs fateCharacterGrowthLogs)
|
||||
{
|
||||
return fateCharacterGrowthLogsMapper.insertFateCharacterGrowthLogs(fateCharacterGrowthLogs);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改角色属性成长记录
|
||||
*
|
||||
* @param fateCharacterGrowthLogs 角色属性成长记录
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateFateCharacterGrowthLogs(FateCharacterGrowthLogs fateCharacterGrowthLogs)
|
||||
{
|
||||
return fateCharacterGrowthLogsMapper.updateFateCharacterGrowthLogs(fateCharacterGrowthLogs);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除角色属性成长记录
|
||||
*
|
||||
* @param logIds 需要删除的角色属性成长记录主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateCharacterGrowthLogsByLogIds(Long[] logIds)
|
||||
{
|
||||
return fateCharacterGrowthLogsMapper.deleteFateCharacterGrowthLogsByLogIds(logIds);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除角色属性成长记录信息
|
||||
*
|
||||
* @param logId 角色属性成长记录主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateCharacterGrowthLogsByLogId(Long logId)
|
||||
{
|
||||
return fateCharacterGrowthLogsMapper.deleteFateCharacterGrowthLogsByLogId(logId);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,93 @@
|
||||
package com.ruoyi.system.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.system.mapper.FateCharacterJobsMapper;
|
||||
import com.ruoyi.system.domain.FateCharacterJobs;
|
||||
import com.ruoyi.system.service.IFateCharacterJobsService;
|
||||
|
||||
/**
|
||||
* 角色职业Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
@Service
|
||||
public class FateCharacterJobsServiceImpl implements IFateCharacterJobsService
|
||||
{
|
||||
@Autowired
|
||||
private FateCharacterJobsMapper fateCharacterJobsMapper;
|
||||
|
||||
/**
|
||||
* 查询角色职业
|
||||
*
|
||||
* @param characterJobId 角色职业主键
|
||||
* @return 角色职业
|
||||
*/
|
||||
@Override
|
||||
public FateCharacterJobs selectFateCharacterJobsByCharacterJobId(Long characterJobId)
|
||||
{
|
||||
return fateCharacterJobsMapper.selectFateCharacterJobsByCharacterJobId(characterJobId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询角色职业列表
|
||||
*
|
||||
* @param fateCharacterJobs 角色职业
|
||||
* @return 角色职业
|
||||
*/
|
||||
@Override
|
||||
public List<FateCharacterJobs> selectFateCharacterJobsList(FateCharacterJobs fateCharacterJobs)
|
||||
{
|
||||
return fateCharacterJobsMapper.selectFateCharacterJobsList(fateCharacterJobs);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增角色职业
|
||||
*
|
||||
* @param fateCharacterJobs 角色职业
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertFateCharacterJobs(FateCharacterJobs fateCharacterJobs)
|
||||
{
|
||||
return fateCharacterJobsMapper.insertFateCharacterJobs(fateCharacterJobs);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改角色职业
|
||||
*
|
||||
* @param fateCharacterJobs 角色职业
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateFateCharacterJobs(FateCharacterJobs fateCharacterJobs)
|
||||
{
|
||||
return fateCharacterJobsMapper.updateFateCharacterJobs(fateCharacterJobs);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除角色职业
|
||||
*
|
||||
* @param characterJobIds 需要删除的角色职业主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateCharacterJobsByCharacterJobIds(Long[] characterJobIds)
|
||||
{
|
||||
return fateCharacterJobsMapper.deleteFateCharacterJobsByCharacterJobIds(characterJobIds);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除角色职业信息
|
||||
*
|
||||
* @param characterJobId 角色职业主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateCharacterJobsByCharacterJobId(Long characterJobId)
|
||||
{
|
||||
return fateCharacterJobsMapper.deleteFateCharacterJobsByCharacterJobId(characterJobId);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,99 @@
|
||||
package com.ruoyi.system.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.system.mapper.FateCharacterMapper;
|
||||
import com.ruoyi.system.domain.FateCharacter;
|
||||
import com.ruoyi.system.service.IFateCharacterService;
|
||||
|
||||
/**
|
||||
* 角色基础Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
@Service
|
||||
public class FateCharacterServiceImpl implements IFateCharacterService
|
||||
{
|
||||
@Autowired
|
||||
private FateCharacterMapper fateCharacterMapper;
|
||||
|
||||
/**
|
||||
* 查询角色基础
|
||||
*
|
||||
* @param characterId 角色基础主键
|
||||
* @return 角色基础
|
||||
*/
|
||||
@Override
|
||||
public FateCharacter selectFateCharacterByCharacterId(Long characterId)
|
||||
{
|
||||
return fateCharacterMapper.selectFateCharacterByCharacterId(characterId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询角色基础列表
|
||||
*
|
||||
* @param fateCharacter 角色基础
|
||||
* @return 角色基础
|
||||
*/
|
||||
@Override
|
||||
public List<FateCharacter> selectFateCharacterList(FateCharacter fateCharacter)
|
||||
{
|
||||
List<FateCharacter> list = fateCharacterMapper.selectFateCharacterList(fateCharacter);
|
||||
for (FateCharacter character : list) {
|
||||
character.setRarityDesc(character.getRarityDesc());
|
||||
character.setMoveTypeDesc(character.getMoveTypeDesc());
|
||||
character.setWeaponTypeDesc(character.getWeaponTypeDesc());
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增角色基础
|
||||
*
|
||||
* @param fateCharacter 角色基础
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertFateCharacter(FateCharacter fateCharacter)
|
||||
{
|
||||
return fateCharacterMapper.insertFateCharacter(fateCharacter);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改角色基础
|
||||
*
|
||||
* @param fateCharacter 角色基础
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateFateCharacter(FateCharacter fateCharacter)
|
||||
{
|
||||
return fateCharacterMapper.updateFateCharacter(fateCharacter);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除角色基础
|
||||
*
|
||||
* @param characterIds 需要删除的角色基础主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateCharacterByCharacterIds(Long[] characterIds)
|
||||
{
|
||||
return fateCharacterMapper.deleteFateCharacterByCharacterIds(characterIds);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除角色基础信息
|
||||
*
|
||||
* @param characterId 角色基础主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateCharacterByCharacterId(Long characterId)
|
||||
{
|
||||
return fateCharacterMapper.deleteFateCharacterByCharacterId(characterId);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,94 @@
|
||||
package com.ruoyi.system.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.system.domain.FateEquipmentAttributes;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.system.mapper.FateEquipmentAttributesMapper;
|
||||
import com.ruoyi.system.service.IFateEquipmentAttributesService;
|
||||
|
||||
/**
|
||||
* 装备附加属性Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
@Service
|
||||
public class FateEquipmentAttributesServiceImpl implements IFateEquipmentAttributesService
|
||||
{
|
||||
@Autowired
|
||||
private FateEquipmentAttributesMapper fateEquipmentAttributesMapper;
|
||||
|
||||
/**
|
||||
* 查询装备附加属性
|
||||
*
|
||||
* @param attributeId 装备附加属性主键
|
||||
* @return 装备附加属性
|
||||
*/
|
||||
@Override
|
||||
public FateEquipmentAttributes selectFateEquipmentAttributesByAttributeId(Long attributeId)
|
||||
{
|
||||
return fateEquipmentAttributesMapper.selectFateEquipmentAttributesByAttributeId(attributeId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询装备附加属性列表
|
||||
*
|
||||
* @param fateEquipmentAttributes 装备附加属性
|
||||
* @return 装备附加属性
|
||||
*/
|
||||
@Override
|
||||
public List<FateEquipmentAttributes> selectFateEquipmentAttributesList(FateEquipmentAttributes fateEquipmentAttributes)
|
||||
{
|
||||
return fateEquipmentAttributesMapper.selectFateEquipmentAttributesList(fateEquipmentAttributes);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增装备附加属性
|
||||
*
|
||||
* @param fateEquipmentAttributes 装备附加属性
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertFateEquipmentAttributes(FateEquipmentAttributes fateEquipmentAttributes)
|
||||
{
|
||||
return fateEquipmentAttributesMapper.insertFateEquipmentAttributes(fateEquipmentAttributes);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改装备附加属性
|
||||
*
|
||||
* @param fateEquipmentAttributes 装备附加属性
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateFateEquipmentAttributes(FateEquipmentAttributes fateEquipmentAttributes)
|
||||
{
|
||||
return fateEquipmentAttributesMapper.updateFateEquipmentAttributes(fateEquipmentAttributes);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除装备附加属性
|
||||
*
|
||||
* @param attributeIds 需要删除的装备附加属性主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateEquipmentAttributesByAttributeIds(Long[] attributeIds)
|
||||
{
|
||||
return fateEquipmentAttributesMapper.deleteFateEquipmentAttributesByAttributeIds(attributeIds);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除装备附加属性信息
|
||||
*
|
||||
* @param attributeId 装备附加属性主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateEquipmentAttributesByAttributeId(Long attributeId)
|
||||
{
|
||||
return fateEquipmentAttributesMapper.deleteFateEquipmentAttributesByAttributeId(attributeId);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,94 @@
|
||||
package com.ruoyi.system.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.system.domain.FateEquipmentPossibleAttributes;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.system.mapper.FateEquipmentPossibleAttributesMapper;
|
||||
import com.ruoyi.system.service.IFateEquipmentPossibleAttributesService;
|
||||
|
||||
/**
|
||||
* 装备可能拥有的属性Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
@Service
|
||||
public class FateEquipmentPossibleAttributesServiceImpl implements IFateEquipmentPossibleAttributesService
|
||||
{
|
||||
@Autowired
|
||||
private FateEquipmentPossibleAttributesMapper fateEquipmentPossibleAttributesMapper;
|
||||
|
||||
/**
|
||||
* 查询装备可能拥有的属性
|
||||
*
|
||||
* @param id 装备可能拥有的属性主键
|
||||
* @return 装备可能拥有的属性
|
||||
*/
|
||||
@Override
|
||||
public FateEquipmentPossibleAttributes selectFateEquipmentPossibleAttributesById(Long id)
|
||||
{
|
||||
return fateEquipmentPossibleAttributesMapper.selectFateEquipmentPossibleAttributesById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询装备可能拥有的属性列表
|
||||
*
|
||||
* @param fateEquipmentPossibleAttributes 装备可能拥有的属性
|
||||
* @return 装备可能拥有的属性
|
||||
*/
|
||||
@Override
|
||||
public List<FateEquipmentPossibleAttributes> selectFateEquipmentPossibleAttributesList(FateEquipmentPossibleAttributes fateEquipmentPossibleAttributes)
|
||||
{
|
||||
return fateEquipmentPossibleAttributesMapper.selectFateEquipmentPossibleAttributesList(fateEquipmentPossibleAttributes);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增装备可能拥有的属性
|
||||
*
|
||||
* @param fateEquipmentPossibleAttributes 装备可能拥有的属性
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertFateEquipmentPossibleAttributes(FateEquipmentPossibleAttributes fateEquipmentPossibleAttributes)
|
||||
{
|
||||
return fateEquipmentPossibleAttributesMapper.insertFateEquipmentPossibleAttributes(fateEquipmentPossibleAttributes);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改装备可能拥有的属性
|
||||
*
|
||||
* @param fateEquipmentPossibleAttributes 装备可能拥有的属性
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateFateEquipmentPossibleAttributes(FateEquipmentPossibleAttributes fateEquipmentPossibleAttributes)
|
||||
{
|
||||
return fateEquipmentPossibleAttributesMapper.updateFateEquipmentPossibleAttributes(fateEquipmentPossibleAttributes);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除装备可能拥有的属性
|
||||
*
|
||||
* @param ids 需要删除的装备可能拥有的属性主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateEquipmentPossibleAttributesByIds(Long[] ids)
|
||||
{
|
||||
return fateEquipmentPossibleAttributesMapper.deleteFateEquipmentPossibleAttributesByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除装备可能拥有的属性信息
|
||||
*
|
||||
* @param id 装备可能拥有的属性主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateEquipmentPossibleAttributesById(Long id)
|
||||
{
|
||||
return fateEquipmentPossibleAttributesMapper.deleteFateEquipmentPossibleAttributesById(id);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,93 @@
|
||||
package com.ruoyi.system.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.system.mapper.FateEquipmentQualitiesMapper;
|
||||
import com.ruoyi.system.domain.FateEquipmentQualities;
|
||||
import com.ruoyi.system.service.IFateEquipmentQualitiesService;
|
||||
|
||||
/**
|
||||
* 装备品质Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
@Service
|
||||
public class FateEquipmentQualitiesServiceImpl implements IFateEquipmentQualitiesService
|
||||
{
|
||||
@Autowired
|
||||
private FateEquipmentQualitiesMapper fateEquipmentQualitiesMapper;
|
||||
|
||||
/**
|
||||
* 查询装备品质
|
||||
*
|
||||
* @param qualityId 装备品质主键
|
||||
* @return 装备品质
|
||||
*/
|
||||
@Override
|
||||
public FateEquipmentQualities selectFateEquipmentQualitiesByQualityId(Long qualityId)
|
||||
{
|
||||
return fateEquipmentQualitiesMapper.selectFateEquipmentQualitiesByQualityId(qualityId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询装备品质列表
|
||||
*
|
||||
* @param fateEquipmentQualities 装备品质
|
||||
* @return 装备品质
|
||||
*/
|
||||
@Override
|
||||
public List<FateEquipmentQualities> selectFateEquipmentQualitiesList(FateEquipmentQualities fateEquipmentQualities)
|
||||
{
|
||||
return fateEquipmentQualitiesMapper.selectFateEquipmentQualitiesList(fateEquipmentQualities);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增装备品质
|
||||
*
|
||||
* @param fateEquipmentQualities 装备品质
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertFateEquipmentQualities(FateEquipmentQualities fateEquipmentQualities)
|
||||
{
|
||||
return fateEquipmentQualitiesMapper.insertFateEquipmentQualities(fateEquipmentQualities);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改装备品质
|
||||
*
|
||||
* @param fateEquipmentQualities 装备品质
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateFateEquipmentQualities(FateEquipmentQualities fateEquipmentQualities)
|
||||
{
|
||||
return fateEquipmentQualitiesMapper.updateFateEquipmentQualities(fateEquipmentQualities);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除装备品质
|
||||
*
|
||||
* @param qualityIds 需要删除的装备品质主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateEquipmentQualitiesByQualityIds(Long[] qualityIds)
|
||||
{
|
||||
return fateEquipmentQualitiesMapper.deleteFateEquipmentQualitiesByQualityIds(qualityIds);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除装备品质信息
|
||||
*
|
||||
* @param qualityId 装备品质主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateEquipmentQualitiesByQualityId(Long qualityId)
|
||||
{
|
||||
return fateEquipmentQualitiesMapper.deleteFateEquipmentQualitiesByQualityId(qualityId);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,93 @@
|
||||
package com.ruoyi.system.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.system.mapper.FateEquipmentSetItemsMapper;
|
||||
import com.ruoyi.system.domain.FateEquipmentSetItems;
|
||||
import com.ruoyi.system.service.IFateEquipmentSetItemsService;
|
||||
|
||||
/**
|
||||
* 装备套装包含Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
@Service
|
||||
public class FateEquipmentSetItemsServiceImpl implements IFateEquipmentSetItemsService
|
||||
{
|
||||
@Autowired
|
||||
private FateEquipmentSetItemsMapper fateEquipmentSetItemsMapper;
|
||||
|
||||
/**
|
||||
* 查询装备套装包含
|
||||
*
|
||||
* @param id 装备套装包含主键
|
||||
* @return 装备套装包含
|
||||
*/
|
||||
@Override
|
||||
public FateEquipmentSetItems selectFateEquipmentSetItemsById(Long id)
|
||||
{
|
||||
return fateEquipmentSetItemsMapper.selectFateEquipmentSetItemsById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询装备套装包含列表
|
||||
*
|
||||
* @param fateEquipmentSetItems 装备套装包含
|
||||
* @return 装备套装包含
|
||||
*/
|
||||
@Override
|
||||
public List<FateEquipmentSetItems> selectFateEquipmentSetItemsList(FateEquipmentSetItems fateEquipmentSetItems)
|
||||
{
|
||||
return fateEquipmentSetItemsMapper.selectFateEquipmentSetItemsList(fateEquipmentSetItems);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增装备套装包含
|
||||
*
|
||||
* @param fateEquipmentSetItems 装备套装包含
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertFateEquipmentSetItems(FateEquipmentSetItems fateEquipmentSetItems)
|
||||
{
|
||||
return fateEquipmentSetItemsMapper.insertFateEquipmentSetItems(fateEquipmentSetItems);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改装备套装包含
|
||||
*
|
||||
* @param fateEquipmentSetItems 装备套装包含
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateFateEquipmentSetItems(FateEquipmentSetItems fateEquipmentSetItems)
|
||||
{
|
||||
return fateEquipmentSetItemsMapper.updateFateEquipmentSetItems(fateEquipmentSetItems);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除装备套装包含
|
||||
*
|
||||
* @param ids 需要删除的装备套装包含主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateEquipmentSetItemsByIds(Long[] ids)
|
||||
{
|
||||
return fateEquipmentSetItemsMapper.deleteFateEquipmentSetItemsByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除装备套装包含信息
|
||||
*
|
||||
* @param id 装备套装包含主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateEquipmentSetItemsById(Long id)
|
||||
{
|
||||
return fateEquipmentSetItemsMapper.deleteFateEquipmentSetItemsById(id);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,93 @@
|
||||
package com.ruoyi.system.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.system.mapper.FateEquipmentSetsMapper;
|
||||
import com.ruoyi.system.domain.FateEquipmentSets;
|
||||
import com.ruoyi.system.service.IFateEquipmentSetsService;
|
||||
|
||||
/**
|
||||
* 装备套装Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
@Service
|
||||
public class FateEquipmentSetsServiceImpl implements IFateEquipmentSetsService
|
||||
{
|
||||
@Autowired
|
||||
private FateEquipmentSetsMapper fateEquipmentSetsMapper;
|
||||
|
||||
/**
|
||||
* 查询装备套装
|
||||
*
|
||||
* @param setId 装备套装主键
|
||||
* @return 装备套装
|
||||
*/
|
||||
@Override
|
||||
public FateEquipmentSets selectFateEquipmentSetsBySetId(Long setId)
|
||||
{
|
||||
return fateEquipmentSetsMapper.selectFateEquipmentSetsBySetId(setId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询装备套装列表
|
||||
*
|
||||
* @param fateEquipmentSets 装备套装
|
||||
* @return 装备套装
|
||||
*/
|
||||
@Override
|
||||
public List<FateEquipmentSets> selectFateEquipmentSetsList(FateEquipmentSets fateEquipmentSets)
|
||||
{
|
||||
return fateEquipmentSetsMapper.selectFateEquipmentSetsList(fateEquipmentSets);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增装备套装
|
||||
*
|
||||
* @param fateEquipmentSets 装备套装
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertFateEquipmentSets(FateEquipmentSets fateEquipmentSets)
|
||||
{
|
||||
return fateEquipmentSetsMapper.insertFateEquipmentSets(fateEquipmentSets);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改装备套装
|
||||
*
|
||||
* @param fateEquipmentSets 装备套装
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateFateEquipmentSets(FateEquipmentSets fateEquipmentSets)
|
||||
{
|
||||
return fateEquipmentSetsMapper.updateFateEquipmentSets(fateEquipmentSets);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除装备套装
|
||||
*
|
||||
* @param setIds 需要删除的装备套装主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateEquipmentSetsBySetIds(Long[] setIds)
|
||||
{
|
||||
return fateEquipmentSetsMapper.deleteFateEquipmentSetsBySetIds(setIds);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除装备套装信息
|
||||
*
|
||||
* @param setId 装备套装主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateEquipmentSetsBySetId(Long setId)
|
||||
{
|
||||
return fateEquipmentSetsMapper.deleteFateEquipmentSetsBySetId(setId);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,93 @@
|
||||
package com.ruoyi.system.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.system.mapper.FateEquipmentTypesMapper;
|
||||
import com.ruoyi.system.domain.FateEquipmentTypes;
|
||||
import com.ruoyi.system.service.IFateEquipmentTypesService;
|
||||
|
||||
/**
|
||||
* 装备类型Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
@Service
|
||||
public class FateEquipmentTypesServiceImpl implements IFateEquipmentTypesService
|
||||
{
|
||||
@Autowired
|
||||
private FateEquipmentTypesMapper fateEquipmentTypesMapper;
|
||||
|
||||
/**
|
||||
* 查询装备类型
|
||||
*
|
||||
* @param typeId 装备类型主键
|
||||
* @return 装备类型
|
||||
*/
|
||||
@Override
|
||||
public FateEquipmentTypes selectFateEquipmentTypesByTypeId(Long typeId)
|
||||
{
|
||||
return fateEquipmentTypesMapper.selectFateEquipmentTypesByTypeId(typeId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询装备类型列表
|
||||
*
|
||||
* @param fateEquipmentTypes 装备类型
|
||||
* @return 装备类型
|
||||
*/
|
||||
@Override
|
||||
public List<FateEquipmentTypes> selectFateEquipmentTypesList(FateEquipmentTypes fateEquipmentTypes)
|
||||
{
|
||||
return fateEquipmentTypesMapper.selectFateEquipmentTypesList(fateEquipmentTypes);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增装备类型
|
||||
*
|
||||
* @param fateEquipmentTypes 装备类型
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertFateEquipmentTypes(FateEquipmentTypes fateEquipmentTypes)
|
||||
{
|
||||
return fateEquipmentTypesMapper.insertFateEquipmentTypes(fateEquipmentTypes);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改装备类型
|
||||
*
|
||||
* @param fateEquipmentTypes 装备类型
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateFateEquipmentTypes(FateEquipmentTypes fateEquipmentTypes)
|
||||
{
|
||||
return fateEquipmentTypesMapper.updateFateEquipmentTypes(fateEquipmentTypes);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除装备类型
|
||||
*
|
||||
* @param typeIds 需要删除的装备类型主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateEquipmentTypesByTypeIds(Long[] typeIds)
|
||||
{
|
||||
return fateEquipmentTypesMapper.deleteFateEquipmentTypesByTypeIds(typeIds);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除装备类型信息
|
||||
*
|
||||
* @param typeId 装备类型主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateEquipmentTypesByTypeId(Long typeId)
|
||||
{
|
||||
return fateEquipmentTypesMapper.deleteFateEquipmentTypesByTypeId(typeId);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,93 @@
|
||||
package com.ruoyi.system.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.system.mapper.FateEquipmentsMapper;
|
||||
import com.ruoyi.system.domain.FateEquipments;
|
||||
import com.ruoyi.system.service.IFateEquipmentsService;
|
||||
|
||||
/**
|
||||
* 装备基础Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
@Service
|
||||
public class FateEquipmentsServiceImpl implements IFateEquipmentsService
|
||||
{
|
||||
@Autowired
|
||||
private FateEquipmentsMapper fateEquipmentsMapper;
|
||||
|
||||
/**
|
||||
* 查询装备基础
|
||||
*
|
||||
* @param equipmentId 装备基础主键
|
||||
* @return 装备基础
|
||||
*/
|
||||
@Override
|
||||
public FateEquipments selectFateEquipmentsByEquipmentId(Long equipmentId)
|
||||
{
|
||||
return fateEquipmentsMapper.selectFateEquipmentsByEquipmentId(equipmentId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询装备基础列表
|
||||
*
|
||||
* @param fateEquipments 装备基础
|
||||
* @return 装备基础
|
||||
*/
|
||||
@Override
|
||||
public List<FateEquipments> selectFateEquipmentsList(FateEquipments fateEquipments)
|
||||
{
|
||||
return fateEquipmentsMapper.selectFateEquipmentsList(fateEquipments);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增装备基础
|
||||
*
|
||||
* @param fateEquipments 装备基础
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertFateEquipments(FateEquipments fateEquipments)
|
||||
{
|
||||
return fateEquipmentsMapper.insertFateEquipments(fateEquipments);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改装备基础
|
||||
*
|
||||
* @param fateEquipments 装备基础
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateFateEquipments(FateEquipments fateEquipments)
|
||||
{
|
||||
return fateEquipmentsMapper.updateFateEquipments(fateEquipments);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除装备基础
|
||||
*
|
||||
* @param equipmentIds 需要删除的装备基础主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateEquipmentsByEquipmentIds(Long[] equipmentIds)
|
||||
{
|
||||
return fateEquipmentsMapper.deleteFateEquipmentsByEquipmentIds(equipmentIds);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除装备基础信息
|
||||
*
|
||||
* @param equipmentId 装备基础主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateEquipmentsByEquipmentId(Long equipmentId)
|
||||
{
|
||||
return fateEquipmentsMapper.deleteFateEquipmentsByEquipmentId(equipmentId);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,93 @@
|
||||
package com.ruoyi.system.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.system.mapper.FateJobLevelBonusMapper;
|
||||
import com.ruoyi.system.domain.FateJobLevelBonus;
|
||||
import com.ruoyi.system.service.IFateJobLevelBonusService;
|
||||
|
||||
/**
|
||||
* 职业等级加成Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
@Service
|
||||
public class FateJobLevelBonusServiceImpl implements IFateJobLevelBonusService
|
||||
{
|
||||
@Autowired
|
||||
private FateJobLevelBonusMapper fateJobLevelBonusMapper;
|
||||
|
||||
/**
|
||||
* 查询职业等级加成
|
||||
*
|
||||
* @param bonusId 职业等级加成主键
|
||||
* @return 职业等级加成
|
||||
*/
|
||||
@Override
|
||||
public FateJobLevelBonus selectFateJobLevelBonusByBonusId(Long bonusId)
|
||||
{
|
||||
return fateJobLevelBonusMapper.selectFateJobLevelBonusByBonusId(bonusId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询职业等级加成列表
|
||||
*
|
||||
* @param fateJobLevelBonus 职业等级加成
|
||||
* @return 职业等级加成
|
||||
*/
|
||||
@Override
|
||||
public List<FateJobLevelBonus> selectFateJobLevelBonusList(FateJobLevelBonus fateJobLevelBonus)
|
||||
{
|
||||
return fateJobLevelBonusMapper.selectFateJobLevelBonusList(fateJobLevelBonus);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增职业等级加成
|
||||
*
|
||||
* @param fateJobLevelBonus 职业等级加成
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertFateJobLevelBonus(FateJobLevelBonus fateJobLevelBonus)
|
||||
{
|
||||
return fateJobLevelBonusMapper.insertFateJobLevelBonus(fateJobLevelBonus);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改职业等级加成
|
||||
*
|
||||
* @param fateJobLevelBonus 职业等级加成
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateFateJobLevelBonus(FateJobLevelBonus fateJobLevelBonus)
|
||||
{
|
||||
return fateJobLevelBonusMapper.updateFateJobLevelBonus(fateJobLevelBonus);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除职业等级加成
|
||||
*
|
||||
* @param bonusIds 需要删除的职业等级加成主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateJobLevelBonusByBonusIds(Long[] bonusIds)
|
||||
{
|
||||
return fateJobLevelBonusMapper.deleteFateJobLevelBonusByBonusIds(bonusIds);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除职业等级加成信息
|
||||
*
|
||||
* @param bonusId 职业等级加成主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateJobLevelBonusByBonusId(Long bonusId)
|
||||
{
|
||||
return fateJobLevelBonusMapper.deleteFateJobLevelBonusByBonusId(bonusId);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,93 @@
|
||||
package com.ruoyi.system.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.system.mapper.FateJobPromotionsMapper;
|
||||
import com.ruoyi.system.domain.FateJobPromotions;
|
||||
import com.ruoyi.system.service.IFateJobPromotionsService;
|
||||
|
||||
/**
|
||||
* 职业进阶关系Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
@Service
|
||||
public class FateJobPromotionsServiceImpl implements IFateJobPromotionsService
|
||||
{
|
||||
@Autowired
|
||||
private FateJobPromotionsMapper fateJobPromotionsMapper;
|
||||
|
||||
/**
|
||||
* 查询职业进阶关系
|
||||
*
|
||||
* @param promotionId 职业进阶关系主键
|
||||
* @return 职业进阶关系
|
||||
*/
|
||||
@Override
|
||||
public FateJobPromotions selectFateJobPromotionsByPromotionId(Long promotionId)
|
||||
{
|
||||
return fateJobPromotionsMapper.selectFateJobPromotionsByPromotionId(promotionId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询职业进阶关系列表
|
||||
*
|
||||
* @param fateJobPromotions 职业进阶关系
|
||||
* @return 职业进阶关系
|
||||
*/
|
||||
@Override
|
||||
public List<FateJobPromotions> selectFateJobPromotionsList(FateJobPromotions fateJobPromotions)
|
||||
{
|
||||
return fateJobPromotionsMapper.selectFateJobPromotionsList(fateJobPromotions);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增职业进阶关系
|
||||
*
|
||||
* @param fateJobPromotions 职业进阶关系
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertFateJobPromotions(FateJobPromotions fateJobPromotions)
|
||||
{
|
||||
return fateJobPromotionsMapper.insertFateJobPromotions(fateJobPromotions);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改职业进阶关系
|
||||
*
|
||||
* @param fateJobPromotions 职业进阶关系
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateFateJobPromotions(FateJobPromotions fateJobPromotions)
|
||||
{
|
||||
return fateJobPromotionsMapper.updateFateJobPromotions(fateJobPromotions);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除职业进阶关系
|
||||
*
|
||||
* @param promotionIds 需要删除的职业进阶关系主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateJobPromotionsByPromotionIds(Long[] promotionIds)
|
||||
{
|
||||
return fateJobPromotionsMapper.deleteFateJobPromotionsByPromotionIds(promotionIds);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除职业进阶关系信息
|
||||
*
|
||||
* @param promotionId 职业进阶关系主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateJobPromotionsByPromotionId(Long promotionId)
|
||||
{
|
||||
return fateJobPromotionsMapper.deleteFateJobPromotionsByPromotionId(promotionId);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,94 @@
|
||||
package com.ruoyi.system.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.system.domain.FateJobSkills;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.system.mapper.FateJobSkillsMapper;
|
||||
import com.ruoyi.system.service.IFateJobSkillsService;
|
||||
|
||||
/**
|
||||
* 职业可学技能Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
@Service
|
||||
public class FateJobSkillsServiceImpl implements IFateJobSkillsService
|
||||
{
|
||||
@Autowired
|
||||
private FateJobSkillsMapper fateJobSkillsMapper;
|
||||
|
||||
/**
|
||||
* 查询职业可学技能
|
||||
*
|
||||
* @param jobSkillId 职业可学技能主键
|
||||
* @return 职业可学技能
|
||||
*/
|
||||
@Override
|
||||
public FateJobSkills selectFateJobSkillsByJobSkillId(Long jobSkillId)
|
||||
{
|
||||
return fateJobSkillsMapper.selectFateJobSkillsByJobSkillId(jobSkillId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询职业可学技能列表
|
||||
*
|
||||
* @param fateJobSkills 职业可学技能
|
||||
* @return 职业可学技能
|
||||
*/
|
||||
@Override
|
||||
public List<FateJobSkills> selectFateJobSkillsList(FateJobSkills fateJobSkills)
|
||||
{
|
||||
return fateJobSkillsMapper.selectFateJobSkillsList(fateJobSkills);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增职业可学技能
|
||||
*
|
||||
* @param fateJobSkills 职业可学技能
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertFateJobSkills(FateJobSkills fateJobSkills)
|
||||
{
|
||||
return fateJobSkillsMapper.insertFateJobSkills(fateJobSkills);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改职业可学技能
|
||||
*
|
||||
* @param fateJobSkills 职业可学技能
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateFateJobSkills(FateJobSkills fateJobSkills)
|
||||
{
|
||||
return fateJobSkillsMapper.updateFateJobSkills(fateJobSkills);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除职业可学技能
|
||||
*
|
||||
* @param jobSkillIds 需要删除的职业可学技能主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateJobSkillsByJobSkillIds(Long[] jobSkillIds)
|
||||
{
|
||||
return fateJobSkillsMapper.deleteFateJobSkillsByJobSkillIds(jobSkillIds);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除职业可学技能信息
|
||||
*
|
||||
* @param jobSkillId 职业可学技能主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateJobSkillsByJobSkillId(Long jobSkillId)
|
||||
{
|
||||
return fateJobSkillsMapper.deleteFateJobSkillsByJobSkillId(jobSkillId);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,99 @@
|
||||
package com.ruoyi.system.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.system.domain.FateJobs;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.system.mapper.FateJobsMapper;
|
||||
import com.ruoyi.system.service.IFateJobsService;
|
||||
|
||||
/**
|
||||
* 职业基础Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
@Service
|
||||
public class FateJobsServiceImpl implements IFateJobsService
|
||||
{
|
||||
@Autowired
|
||||
private FateJobsMapper fateJobsMapper;
|
||||
|
||||
/**
|
||||
* 查询职业基础
|
||||
*
|
||||
* @param jobId 职业基础主键
|
||||
* @return 职业基础
|
||||
*/
|
||||
@Override
|
||||
public FateJobs selectFateJobsByJobId(Long jobId)
|
||||
{
|
||||
return fateJobsMapper.selectFateJobsByJobId(jobId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询职业基础列表
|
||||
*
|
||||
* @param fateJobs 职业基础
|
||||
* @return 职业基础
|
||||
*/
|
||||
@Override
|
||||
public List<FateJobs> selectFateJobsList(FateJobs fateJobs)
|
||||
{
|
||||
List<FateJobs> list = fateJobsMapper.selectFateJobsList(fateJobs);
|
||||
for (FateJobs job : list) {
|
||||
job.setJobTierDesc(job.getJobTierDesc());
|
||||
job.setMoveTypeDesc(job.getMoveTypeDesc());
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增职业基础
|
||||
*
|
||||
* @param fateJobs 职业基础
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertFateJobs(FateJobs fateJobs)
|
||||
{
|
||||
return fateJobsMapper.insertFateJobs(fateJobs);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改职业基础
|
||||
*
|
||||
* @param fateJobs 职业基础
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateFateJobs(FateJobs fateJobs)
|
||||
{
|
||||
return fateJobsMapper.updateFateJobs(fateJobs);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除职业基础
|
||||
*
|
||||
* @param jobIds 需要删除的职业基础主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateJobsByJobIds(Long[] jobIds)
|
||||
{
|
||||
return fateJobsMapper.deleteFateJobsByJobIds(jobIds);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除职业基础信息
|
||||
*
|
||||
* @param jobId 职业基础主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateJobsByJobId(Long jobId)
|
||||
{
|
||||
return fateJobsMapper.deleteFateJobsByJobId(jobId);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,93 @@
|
||||
package com.ruoyi.system.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.system.mapper.FateUserCharacterMapper;
|
||||
import com.ruoyi.system.domain.FateUserCharacter;
|
||||
import com.ruoyi.system.service.IFateUserCharacterService;
|
||||
|
||||
/**
|
||||
* 用户角色Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
@Service
|
||||
public class FateUserCharacterServiceImpl implements IFateUserCharacterService
|
||||
{
|
||||
@Autowired
|
||||
private FateUserCharacterMapper fateUserCharacterMapper;
|
||||
|
||||
/**
|
||||
* 查询用户角色
|
||||
*
|
||||
* @param userCharacterId 用户角色主键
|
||||
* @return 用户角色
|
||||
*/
|
||||
@Override
|
||||
public FateUserCharacter selectFateUserCharacterByUserCharacterId(Long userCharacterId)
|
||||
{
|
||||
return fateUserCharacterMapper.selectFateUserCharacterByUserCharacterId(userCharacterId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询用户角色列表
|
||||
*
|
||||
* @param fateUserCharacter 用户角色
|
||||
* @return 用户角色
|
||||
*/
|
||||
@Override
|
||||
public List<FateUserCharacter> selectFateUserCharacterList(FateUserCharacter fateUserCharacter)
|
||||
{
|
||||
return fateUserCharacterMapper.selectFateUserCharacterList(fateUserCharacter);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增用户角色
|
||||
*
|
||||
* @param fateUserCharacter 用户角色
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertFateUserCharacter(FateUserCharacter fateUserCharacter)
|
||||
{
|
||||
return fateUserCharacterMapper.insertFateUserCharacter(fateUserCharacter);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改用户角色
|
||||
*
|
||||
* @param fateUserCharacter 用户角色
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateFateUserCharacter(FateUserCharacter fateUserCharacter)
|
||||
{
|
||||
return fateUserCharacterMapper.updateFateUserCharacter(fateUserCharacter);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除用户角色
|
||||
*
|
||||
* @param userCharacterIds 需要删除的用户角色主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateUserCharacterByUserCharacterIds(Long[] userCharacterIds)
|
||||
{
|
||||
return fateUserCharacterMapper.deleteFateUserCharacterByUserCharacterIds(userCharacterIds);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除用户角色信息
|
||||
*
|
||||
* @param userCharacterId 用户角色主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateUserCharacterByUserCharacterId(Long userCharacterId)
|
||||
{
|
||||
return fateUserCharacterMapper.deleteFateUserCharacterByUserCharacterId(userCharacterId);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,93 @@
|
||||
package com.ruoyi.system.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.system.mapper.FateUserEquipmentsMapper;
|
||||
import com.ruoyi.system.domain.FateUserEquipments;
|
||||
import com.ruoyi.system.service.IFateUserEquipmentsService;
|
||||
|
||||
/**
|
||||
* 用户装备Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-16
|
||||
*/
|
||||
@Service
|
||||
public class FateUserEquipmentsServiceImpl implements IFateUserEquipmentsService
|
||||
{
|
||||
@Autowired
|
||||
private FateUserEquipmentsMapper fateUserEquipmentsMapper;
|
||||
|
||||
/**
|
||||
* 查询用户装备
|
||||
*
|
||||
* @param userEquipmentId 用户装备主键
|
||||
* @return 用户装备
|
||||
*/
|
||||
@Override
|
||||
public FateUserEquipments selectFateUserEquipmentsByUserEquipmentId(Long userEquipmentId)
|
||||
{
|
||||
return fateUserEquipmentsMapper.selectFateUserEquipmentsByUserEquipmentId(userEquipmentId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询用户装备列表
|
||||
*
|
||||
* @param fateUserEquipments 用户装备
|
||||
* @return 用户装备
|
||||
*/
|
||||
@Override
|
||||
public List<FateUserEquipments> selectFateUserEquipmentsList(FateUserEquipments fateUserEquipments)
|
||||
{
|
||||
return fateUserEquipmentsMapper.selectFateUserEquipmentsList(fateUserEquipments);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增用户装备
|
||||
*
|
||||
* @param fateUserEquipments 用户装备
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertFateUserEquipments(FateUserEquipments fateUserEquipments)
|
||||
{
|
||||
return fateUserEquipmentsMapper.insertFateUserEquipments(fateUserEquipments);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改用户装备
|
||||
*
|
||||
* @param fateUserEquipments 用户装备
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateFateUserEquipments(FateUserEquipments fateUserEquipments)
|
||||
{
|
||||
return fateUserEquipmentsMapper.updateFateUserEquipments(fateUserEquipments);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除用户装备
|
||||
*
|
||||
* @param userEquipmentIds 需要删除的用户装备主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateUserEquipmentsByUserEquipmentIds(Long[] userEquipmentIds)
|
||||
{
|
||||
return fateUserEquipmentsMapper.deleteFateUserEquipmentsByUserEquipmentIds(userEquipmentIds);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除用户装备信息
|
||||
*
|
||||
* @param userEquipmentId 用户装备主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteFateUserEquipmentsByUserEquipmentId(Long userEquipmentId)
|
||||
{
|
||||
return fateUserEquipmentsMapper.deleteFateUserEquipmentsByUserEquipmentId(userEquipmentId);
|
||||
}
|
||||
}
|
||||
@ -475,7 +475,7 @@ public class SysMenuServiceImpl implements ISysMenuService
|
||||
{
|
||||
SysMenu t = (SysMenu) iterator.next();
|
||||
// 一、根据传入的某个父节点ID,遍历该父节点的所有子节点
|
||||
if (t.getParentId() == parentId)
|
||||
if (t.getParentId() != null && t.getParentId() == parentId)
|
||||
{
|
||||
recursionFn(list, t);
|
||||
returnList.add(t);
|
||||
@ -514,7 +514,7 @@ public class SysMenuServiceImpl implements ISysMenuService
|
||||
while (it.hasNext())
|
||||
{
|
||||
SysMenu n = (SysMenu) it.next();
|
||||
if (n.getParentId().longValue() == t.getMenuId().longValue())
|
||||
if (n.getParentId() != null && n.getParentId().longValue() == t.getMenuId().longValue())
|
||||
{
|
||||
tlist.add(n);
|
||||
}
|
||||
|
||||
@ -0,0 +1,96 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.FateCharacterGrowthLogsMapper">
|
||||
|
||||
<resultMap type="FateCharacterGrowthLogs" id="FateCharacterGrowthLogsResult">
|
||||
<result property="logId" column="log_id" />
|
||||
<result property="userCharacterId" column="user_character_id" />
|
||||
<result property="levelUpFrom" column="level_up_from" />
|
||||
<result property="levelUpTo" column="level_up_to" />
|
||||
<result property="hpIncrease" column="hp_increase" />
|
||||
<result property="atkIncrease" column="atk_increase" />
|
||||
<result property="defIncrease" column="def_increase" />
|
||||
<result property="resIncrease" column="res_increase" />
|
||||
<result property="spdIncrease" column="spd_increase" />
|
||||
<result property="growthDate" column="growth_date" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectFateCharacterGrowthLogsVo">
|
||||
select log_id, user_character_id, level_up_from, level_up_to, hp_increase, atk_increase, def_increase, res_increase, spd_increase, growth_date from fate_character_growth_logs
|
||||
</sql>
|
||||
|
||||
<select id="selectFateCharacterGrowthLogsList" parameterType="FateCharacterGrowthLogs" resultMap="FateCharacterGrowthLogsResult">
|
||||
<include refid="selectFateCharacterGrowthLogsVo"/>
|
||||
<where>
|
||||
<if test="userCharacterId != null "> and user_character_id = #{userCharacterId}</if>
|
||||
<if test="levelUpFrom != null "> and level_up_from = #{levelUpFrom}</if>
|
||||
<if test="levelUpTo != null "> and level_up_to = #{levelUpTo}</if>
|
||||
<if test="hpIncrease != null "> and hp_increase = #{hpIncrease}</if>
|
||||
<if test="atkIncrease != null "> and atk_increase = #{atkIncrease}</if>
|
||||
<if test="defIncrease != null "> and def_increase = #{defIncrease}</if>
|
||||
<if test="resIncrease != null "> and res_increase = #{resIncrease}</if>
|
||||
<if test="spdIncrease != null "> and spd_increase = #{spdIncrease}</if>
|
||||
<if test="growthDate != null "> and growth_date = #{growthDate}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectFateCharacterGrowthLogsByLogId" parameterType="Long" resultMap="FateCharacterGrowthLogsResult">
|
||||
<include refid="selectFateCharacterGrowthLogsVo"/>
|
||||
where log_id = #{logId}
|
||||
</select>
|
||||
|
||||
<insert id="insertFateCharacterGrowthLogs" parameterType="FateCharacterGrowthLogs" useGeneratedKeys="true" keyProperty="logId">
|
||||
insert into fate_character_growth_logs
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="userCharacterId != null">user_character_id,</if>
|
||||
<if test="levelUpFrom != null">level_up_from,</if>
|
||||
<if test="levelUpTo != null">level_up_to,</if>
|
||||
<if test="hpIncrease != null">hp_increase,</if>
|
||||
<if test="atkIncrease != null">atk_increase,</if>
|
||||
<if test="defIncrease != null">def_increase,</if>
|
||||
<if test="resIncrease != null">res_increase,</if>
|
||||
<if test="spdIncrease != null">spd_increase,</if>
|
||||
<if test="growthDate != null">growth_date,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="userCharacterId != null">#{userCharacterId},</if>
|
||||
<if test="levelUpFrom != null">#{levelUpFrom},</if>
|
||||
<if test="levelUpTo != null">#{levelUpTo},</if>
|
||||
<if test="hpIncrease != null">#{hpIncrease},</if>
|
||||
<if test="atkIncrease != null">#{atkIncrease},</if>
|
||||
<if test="defIncrease != null">#{defIncrease},</if>
|
||||
<if test="resIncrease != null">#{resIncrease},</if>
|
||||
<if test="spdIncrease != null">#{spdIncrease},</if>
|
||||
<if test="growthDate != null">#{growthDate},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateFateCharacterGrowthLogs" parameterType="FateCharacterGrowthLogs">
|
||||
update fate_character_growth_logs
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="userCharacterId != null">user_character_id = #{userCharacterId},</if>
|
||||
<if test="levelUpFrom != null">level_up_from = #{levelUpFrom},</if>
|
||||
<if test="levelUpTo != null">level_up_to = #{levelUpTo},</if>
|
||||
<if test="hpIncrease != null">hp_increase = #{hpIncrease},</if>
|
||||
<if test="atkIncrease != null">atk_increase = #{atkIncrease},</if>
|
||||
<if test="defIncrease != null">def_increase = #{defIncrease},</if>
|
||||
<if test="resIncrease != null">res_increase = #{resIncrease},</if>
|
||||
<if test="spdIncrease != null">spd_increase = #{spdIncrease},</if>
|
||||
<if test="growthDate != null">growth_date = #{growthDate},</if>
|
||||
</trim>
|
||||
where log_id = #{logId}
|
||||
</update>
|
||||
|
||||
<delete id="deleteFateCharacterGrowthLogsByLogId" parameterType="Long">
|
||||
delete from fate_character_growth_logs where log_id = #{logId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteFateCharacterGrowthLogsByLogIds" parameterType="String">
|
||||
delete from fate_character_growth_logs where log_id in
|
||||
<foreach item="logId" collection="array" open="(" separator="," close=")">
|
||||
#{logId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@ -0,0 +1,91 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.FateCharacterJobsMapper">
|
||||
|
||||
<resultMap type="FateCharacterJobs" id="FateCharacterJobsResult">
|
||||
<result property="characterJobId" column="character_job_id" />
|
||||
<result property="userCharacterId" column="user_character_id" />
|
||||
<result property="jobId" column="job_id" />
|
||||
<result property="jobLevel" column="job_level" />
|
||||
<result property="jobExperience" column="job_experience" />
|
||||
<result property="isCurrent" column="is_current" />
|
||||
<result property="learnedSkills" column="learned_skills" />
|
||||
<result property="createdAt" column="created_at" />
|
||||
<result property="updatedAt" column="updated_at" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectFateCharacterJobsVo">
|
||||
select character_job_id, user_character_id, job_id, job_level, job_experience, is_current, learned_skills, created_at, updated_at from fate_character_jobs
|
||||
</sql>
|
||||
|
||||
<select id="selectFateCharacterJobsList" parameterType="FateCharacterJobs" resultMap="FateCharacterJobsResult">
|
||||
<include refid="selectFateCharacterJobsVo"/>
|
||||
<where>
|
||||
<if test="userCharacterId != null "> and user_character_id = #{userCharacterId}</if>
|
||||
<if test="jobId != null "> and job_id = #{jobId}</if>
|
||||
<if test="jobLevel != null "> and job_level = #{jobLevel}</if>
|
||||
<if test="jobExperience != null "> and job_experience = #{jobExperience}</if>
|
||||
<if test="isCurrent != null "> and is_current = #{isCurrent}</if>
|
||||
<if test="learnedSkills != null and learnedSkills != ''"> and learned_skills = #{learnedSkills}</if>
|
||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectFateCharacterJobsByCharacterJobId" parameterType="Long" resultMap="FateCharacterJobsResult">
|
||||
<include refid="selectFateCharacterJobsVo"/>
|
||||
where character_job_id = #{characterJobId}
|
||||
</select>
|
||||
|
||||
<insert id="insertFateCharacterJobs" parameterType="FateCharacterJobs" useGeneratedKeys="true" keyProperty="characterJobId">
|
||||
insert into fate_character_jobs
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="userCharacterId != null">user_character_id,</if>
|
||||
<if test="jobId != null">job_id,</if>
|
||||
<if test="jobLevel != null">job_level,</if>
|
||||
<if test="jobExperience != null">job_experience,</if>
|
||||
<if test="isCurrent != null">is_current,</if>
|
||||
<if test="learnedSkills != null">learned_skills,</if>
|
||||
<if test="createdAt != null">created_at,</if>
|
||||
<if test="updatedAt != null">updated_at,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="userCharacterId != null">#{userCharacterId},</if>
|
||||
<if test="jobId != null">#{jobId},</if>
|
||||
<if test="jobLevel != null">#{jobLevel},</if>
|
||||
<if test="jobExperience != null">#{jobExperience},</if>
|
||||
<if test="isCurrent != null">#{isCurrent},</if>
|
||||
<if test="learnedSkills != null">#{learnedSkills},</if>
|
||||
<if test="createdAt != null">#{createdAt},</if>
|
||||
<if test="updatedAt != null">#{updatedAt},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateFateCharacterJobs" parameterType="FateCharacterJobs">
|
||||
update fate_character_jobs
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="userCharacterId != null">user_character_id = #{userCharacterId},</if>
|
||||
<if test="jobId != null">job_id = #{jobId},</if>
|
||||
<if test="jobLevel != null">job_level = #{jobLevel},</if>
|
||||
<if test="jobExperience != null">job_experience = #{jobExperience},</if>
|
||||
<if test="isCurrent != null">is_current = #{isCurrent},</if>
|
||||
<if test="learnedSkills != null">learned_skills = #{learnedSkills},</if>
|
||||
<if test="createdAt != null">created_at = #{createdAt},</if>
|
||||
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
|
||||
</trim>
|
||||
where character_job_id = #{characterJobId}
|
||||
</update>
|
||||
|
||||
<delete id="deleteFateCharacterJobsByCharacterJobId" parameterType="Long">
|
||||
delete from fate_character_jobs where character_job_id = #{characterJobId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteFateCharacterJobsByCharacterJobIds" parameterType="String">
|
||||
delete from fate_character_jobs where character_job_id in
|
||||
<foreach item="characterJobId" collection="array" open="(" separator="," close=")">
|
||||
#{characterJobId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@ -0,0 +1,161 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.FateCharacterMapper">
|
||||
|
||||
<resultMap type="FateCharacter" id="FateCharacterResult">
|
||||
<result property="characterId" column="character_id" />
|
||||
<result property="name" column="name" />
|
||||
<result property="rarity" column="rarity" />
|
||||
<result property="baseHpMin" column="base_hp_min" />
|
||||
<result property="baseHpMax" column="base_hp_max" />
|
||||
<result property="baseAtkMin" column="base_atk_min" />
|
||||
<result property="baseAtkMax" column="base_atk_max" />
|
||||
<result property="baseDefMin" column="base_def_min" />
|
||||
<result property="baseDefMax" column="base_def_max" />
|
||||
<result property="baseResMin" column="base_res_min" />
|
||||
<result property="baseResMax" column="base_res_max" />
|
||||
<result property="baseSpdMin" column="base_spd_min" />
|
||||
<result property="baseSpdMax" column="base_spd_max" />
|
||||
<result property="growthHp" column="growth_hp" />
|
||||
<result property="growthAtk" column="growth_atk" />
|
||||
<result property="growthDef" column="growth_def" />
|
||||
<result property="growthRes" column="growth_res" />
|
||||
<result property="growthSpd" column="growth_spd" />
|
||||
<result property="moveType" column="move_type" />
|
||||
<result property="weaponType" column="weapon_type" />
|
||||
<result property="description" column="description" />
|
||||
<result property="avatarUrl" column="avatar_url" />
|
||||
<result property="createdAt" column="created_at" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectFateCharacterVo">
|
||||
select character_id, name, rarity, base_hp_min, base_hp_max, base_atk_min, base_atk_max, base_def_min, base_def_max, base_res_min, base_res_max, base_spd_min, base_spd_max, growth_hp, growth_atk, growth_def, growth_res, growth_spd, move_type, weapon_type, description, avatar_url, created_at from fate_character
|
||||
</sql>
|
||||
|
||||
<select id="selectFateCharacterList" parameterType="FateCharacter" resultMap="FateCharacterResult">
|
||||
<include refid="selectFateCharacterVo"/>
|
||||
<where>
|
||||
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
|
||||
<if test="rarity != null "> and rarity = #{rarity}</if>
|
||||
<if test="baseHpMin != null "> and base_hp_min = #{baseHpMin}</if>
|
||||
<if test="baseHpMax != null "> and base_hp_max = #{baseHpMax}</if>
|
||||
<if test="baseAtkMin != null "> and base_atk_min = #{baseAtkMin}</if>
|
||||
<if test="baseAtkMax != null "> and base_atk_max = #{baseAtkMax}</if>
|
||||
<if test="baseDefMin != null "> and base_def_min = #{baseDefMin}</if>
|
||||
<if test="baseDefMax != null "> and base_def_max = #{baseDefMax}</if>
|
||||
<if test="baseResMin != null "> and base_res_min = #{baseResMin}</if>
|
||||
<if test="baseResMax != null "> and base_res_max = #{baseResMax}</if>
|
||||
<if test="baseSpdMin != null "> and base_spd_min = #{baseSpdMin}</if>
|
||||
<if test="baseSpdMax != null "> and base_spd_max = #{baseSpdMax}</if>
|
||||
<if test="growthHp != null "> and growth_hp = #{growthHp}</if>
|
||||
<if test="growthAtk != null "> and growth_atk = #{growthAtk}</if>
|
||||
<if test="growthDef != null "> and growth_def = #{growthDef}</if>
|
||||
<if test="growthRes != null "> and growth_res = #{growthRes}</if>
|
||||
<if test="growthSpd != null "> and growth_spd = #{growthSpd}</if>
|
||||
<if test="moveType != null and moveType != ''"> and move_type = #{moveType}</if>
|
||||
<if test="weaponType != null and weaponType != ''"> and weapon_type = #{weaponType}</if>
|
||||
<if test="description != null and description != ''"> and description = #{description}</if>
|
||||
<if test="avatarUrl != null and avatarUrl != ''"> and avatar_url = #{avatarUrl}</if>
|
||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectFateCharacterByCharacterId" parameterType="Long" resultMap="FateCharacterResult">
|
||||
<include refid="selectFateCharacterVo"/>
|
||||
where character_id = #{characterId}
|
||||
</select>
|
||||
|
||||
<insert id="insertFateCharacter" parameterType="FateCharacter" useGeneratedKeys="true" keyProperty="characterId">
|
||||
insert into fate_character
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="name != null and name != ''">name,</if>
|
||||
<if test="rarity != null">rarity,</if>
|
||||
<if test="baseHpMin != null">base_hp_min,</if>
|
||||
<if test="baseHpMax != null">base_hp_max,</if>
|
||||
<if test="baseAtkMin != null">base_atk_min,</if>
|
||||
<if test="baseAtkMax != null">base_atk_max,</if>
|
||||
<if test="baseDefMin != null">base_def_min,</if>
|
||||
<if test="baseDefMax != null">base_def_max,</if>
|
||||
<if test="baseResMin != null">base_res_min,</if>
|
||||
<if test="baseResMax != null">base_res_max,</if>
|
||||
<if test="baseSpdMin != null">base_spd_min,</if>
|
||||
<if test="baseSpdMax != null">base_spd_max,</if>
|
||||
<if test="growthHp != null">growth_hp,</if>
|
||||
<if test="growthAtk != null">growth_atk,</if>
|
||||
<if test="growthDef != null">growth_def,</if>
|
||||
<if test="growthRes != null">growth_res,</if>
|
||||
<if test="growthSpd != null">growth_spd,</if>
|
||||
<if test="moveType != null">move_type,</if>
|
||||
<if test="weaponType != null and weaponType != ''">weapon_type,</if>
|
||||
<if test="description != null">description,</if>
|
||||
<if test="avatarUrl != null">avatar_url,</if>
|
||||
<if test="createdAt != null">created_at,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="name != null and name != ''">#{name},</if>
|
||||
<if test="rarity != null">#{rarity},</if>
|
||||
<if test="baseHpMin != null">#{baseHpMin},</if>
|
||||
<if test="baseHpMax != null">#{baseHpMax},</if>
|
||||
<if test="baseAtkMin != null">#{baseAtkMin},</if>
|
||||
<if test="baseAtkMax != null">#{baseAtkMax},</if>
|
||||
<if test="baseDefMin != null">#{baseDefMin},</if>
|
||||
<if test="baseDefMax != null">#{baseDefMax},</if>
|
||||
<if test="baseResMin != null">#{baseResMin},</if>
|
||||
<if test="baseResMax != null">#{baseResMax},</if>
|
||||
<if test="baseSpdMin != null">#{baseSpdMin},</if>
|
||||
<if test="baseSpdMax != null">#{baseSpdMax},</if>
|
||||
<if test="growthHp != null">#{growthHp},</if>
|
||||
<if test="growthAtk != null">#{growthAtk},</if>
|
||||
<if test="growthDef != null">#{growthDef},</if>
|
||||
<if test="growthRes != null">#{growthRes},</if>
|
||||
<if test="growthSpd != null">#{growthSpd},</if>
|
||||
<if test="moveType != null">#{moveType},</if>
|
||||
<if test="weaponType != null and weaponType != ''">#{weaponType},</if>
|
||||
<if test="description != null">#{description},</if>
|
||||
<if test="avatarUrl != null">#{avatarUrl},</if>
|
||||
<if test="createdAt != null">#{createdAt},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateFateCharacter" parameterType="FateCharacter">
|
||||
update fate_character
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="name != null and name != ''">name = #{name},</if>
|
||||
<if test="rarity != null">rarity = #{rarity},</if>
|
||||
<if test="baseHpMin != null">base_hp_min = #{baseHpMin},</if>
|
||||
<if test="baseHpMax != null">base_hp_max = #{baseHpMax},</if>
|
||||
<if test="baseAtkMin != null">base_atk_min = #{baseAtkMin},</if>
|
||||
<if test="baseAtkMax != null">base_atk_max = #{baseAtkMax},</if>
|
||||
<if test="baseDefMin != null">base_def_min = #{baseDefMin},</if>
|
||||
<if test="baseDefMax != null">base_def_max = #{baseDefMax},</if>
|
||||
<if test="baseResMin != null">base_res_min = #{baseResMin},</if>
|
||||
<if test="baseResMax != null">base_res_max = #{baseResMax},</if>
|
||||
<if test="baseSpdMin != null">base_spd_min = #{baseSpdMin},</if>
|
||||
<if test="baseSpdMax != null">base_spd_max = #{baseSpdMax},</if>
|
||||
<if test="growthHp != null">growth_hp = #{growthHp},</if>
|
||||
<if test="growthAtk != null">growth_atk = #{growthAtk},</if>
|
||||
<if test="growthDef != null">growth_def = #{growthDef},</if>
|
||||
<if test="growthRes != null">growth_res = #{growthRes},</if>
|
||||
<if test="growthSpd != null">growth_spd = #{growthSpd},</if>
|
||||
<if test="moveType != null">move_type = #{moveType},</if>
|
||||
<if test="weaponType != null and weaponType != ''">weapon_type = #{weaponType},</if>
|
||||
<if test="description != null">description = #{description},</if>
|
||||
<if test="avatarUrl != null">avatar_url = #{avatarUrl},</if>
|
||||
<if test="createdAt != null">created_at = #{createdAt},</if>
|
||||
</trim>
|
||||
where character_id = #{characterId}
|
||||
</update>
|
||||
|
||||
<delete id="deleteFateCharacterByCharacterId" parameterType="Long">
|
||||
delete from fate_character where character_id = #{characterId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteFateCharacterByCharacterIds" parameterType="String">
|
||||
delete from fate_character where character_id in
|
||||
<foreach item="characterId" collection="array" open="(" separator="," close=")">
|
||||
#{characterId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@ -0,0 +1,86 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.FateEquipmentAttributesMapper">
|
||||
|
||||
<resultMap type="FateEquipmentAttributes" id="FateEquipmentAttributesResult">
|
||||
<result property="attributeId" column="attribute_id" />
|
||||
<result property="attributeName" column="attribute_name" />
|
||||
<result property="attributeCode" column="attribute_code" />
|
||||
<result property="attributeType" column="attribute_type" />
|
||||
<result property="minValue" column="min_value" />
|
||||
<result property="maxValue" column="max_value" />
|
||||
<result property="description" column="description" />
|
||||
<result property="createdAt" column="created_at" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectFateEquipmentAttributesVo">
|
||||
select attribute_id, attribute_name, attribute_code, attribute_type, min_value, max_value, description, created_at from fate_equipment_attributes
|
||||
</sql>
|
||||
|
||||
<select id="selectFateEquipmentAttributesList" parameterType="FateEquipmentAttributes" resultMap="FateEquipmentAttributesResult">
|
||||
<include refid="selectFateEquipmentAttributesVo"/>
|
||||
<where>
|
||||
<if test="attributeName != null and attributeName != ''"> and attribute_name like concat('%', #{attributeName}, '%')</if>
|
||||
<if test="attributeCode != null and attributeCode != ''"> and attribute_code = #{attributeCode}</if>
|
||||
<if test="attributeType != null and attributeType != ''"> and attribute_type = #{attributeType}</if>
|
||||
<if test="minValue != null "> and min_value = #{minValue}</if>
|
||||
<if test="maxValue != null "> and max_value = #{maxValue}</if>
|
||||
<if test="description != null and description != ''"> and description = #{description}</if>
|
||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectFateEquipmentAttributesByAttributeId" parameterType="Long" resultMap="FateEquipmentAttributesResult">
|
||||
<include refid="selectFateEquipmentAttributesVo"/>
|
||||
where attribute_id = #{attributeId}
|
||||
</select>
|
||||
|
||||
<insert id="insertFateEquipmentAttributes" parameterType="FateEquipmentAttributes" useGeneratedKeys="true" keyProperty="attributeId">
|
||||
insert into fate_equipment_attributes
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="attributeName != null and attributeName != ''">attribute_name,</if>
|
||||
<if test="attributeCode != null and attributeCode != ''">attribute_code,</if>
|
||||
<if test="attributeType != null">attribute_type,</if>
|
||||
<if test="minValue != null">min_value,</if>
|
||||
<if test="maxValue != null">max_value,</if>
|
||||
<if test="description != null">description,</if>
|
||||
<if test="createdAt != null">created_at,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="attributeName != null and attributeName != ''">#{attributeName},</if>
|
||||
<if test="attributeCode != null and attributeCode != ''">#{attributeCode},</if>
|
||||
<if test="attributeType != null">#{attributeType},</if>
|
||||
<if test="minValue != null">#{minValue},</if>
|
||||
<if test="maxValue != null">#{maxValue},</if>
|
||||
<if test="description != null">#{description},</if>
|
||||
<if test="createdAt != null">#{createdAt},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateFateEquipmentAttributes" parameterType="FateEquipmentAttributes">
|
||||
update fate_equipment_attributes
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="attributeName != null and attributeName != ''">attribute_name = #{attributeName},</if>
|
||||
<if test="attributeCode != null and attributeCode != ''">attribute_code = #{attributeCode},</if>
|
||||
<if test="attributeType != null">attribute_type = #{attributeType},</if>
|
||||
<if test="minValue != null">min_value = #{minValue},</if>
|
||||
<if test="maxValue != null">max_value = #{maxValue},</if>
|
||||
<if test="description != null">description = #{description},</if>
|
||||
<if test="createdAt != null">created_at = #{createdAt},</if>
|
||||
</trim>
|
||||
where attribute_id = #{attributeId}
|
||||
</update>
|
||||
|
||||
<delete id="deleteFateEquipmentAttributesByAttributeId" parameterType="Long">
|
||||
delete from fate_equipment_attributes where attribute_id = #{attributeId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteFateEquipmentAttributesByAttributeIds" parameterType="String">
|
||||
delete from fate_equipment_attributes where attribute_id in
|
||||
<foreach item="attributeId" collection="array" open="(" separator="," close=")">
|
||||
#{attributeId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.FateEquipmentPossibleAttributesMapper">
|
||||
|
||||
<resultMap type="FateEquipmentPossibleAttributes" id="FateEquipmentPossibleAttributesResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="equipmentId" column="equipment_id" />
|
||||
<result property="attributeId" column="attribute_id" />
|
||||
<result property="weight" column="weight" />
|
||||
<result property="minRolls" column="min_rolls" />
|
||||
<result property="maxRolls" column="max_rolls" />
|
||||
<result property="createdAt" column="created_at" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectFateEquipmentPossibleAttributesVo">
|
||||
select id, equipment_id, attribute_id, weight, min_rolls, max_rolls, created_at from fate_equipment_possible_attributes
|
||||
</sql>
|
||||
|
||||
<select id="selectFateEquipmentPossibleAttributesList" parameterType="FateEquipmentPossibleAttributes" resultMap="FateEquipmentPossibleAttributesResult">
|
||||
<include refid="selectFateEquipmentPossibleAttributesVo"/>
|
||||
<where>
|
||||
<if test="equipmentId != null "> and equipment_id = #{equipmentId}</if>
|
||||
<if test="attributeId != null "> and attribute_id = #{attributeId}</if>
|
||||
<if test="weight != null "> and weight = #{weight}</if>
|
||||
<if test="minRolls != null "> and min_rolls = #{minRolls}</if>
|
||||
<if test="maxRolls != null "> and max_rolls = #{maxRolls}</if>
|
||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectFateEquipmentPossibleAttributesById" parameterType="Long" resultMap="FateEquipmentPossibleAttributesResult">
|
||||
<include refid="selectFateEquipmentPossibleAttributesVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertFateEquipmentPossibleAttributes" parameterType="FateEquipmentPossibleAttributes" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into fate_equipment_possible_attributes
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="equipmentId != null">equipment_id,</if>
|
||||
<if test="attributeId != null">attribute_id,</if>
|
||||
<if test="weight != null">weight,</if>
|
||||
<if test="minRolls != null">min_rolls,</if>
|
||||
<if test="maxRolls != null">max_rolls,</if>
|
||||
<if test="createdAt != null">created_at,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="equipmentId != null">#{equipmentId},</if>
|
||||
<if test="attributeId != null">#{attributeId},</if>
|
||||
<if test="weight != null">#{weight},</if>
|
||||
<if test="minRolls != null">#{minRolls},</if>
|
||||
<if test="maxRolls != null">#{maxRolls},</if>
|
||||
<if test="createdAt != null">#{createdAt},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateFateEquipmentPossibleAttributes" parameterType="FateEquipmentPossibleAttributes">
|
||||
update fate_equipment_possible_attributes
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="equipmentId != null">equipment_id = #{equipmentId},</if>
|
||||
<if test="attributeId != null">attribute_id = #{attributeId},</if>
|
||||
<if test="weight != null">weight = #{weight},</if>
|
||||
<if test="minRolls != null">min_rolls = #{minRolls},</if>
|
||||
<if test="maxRolls != null">max_rolls = #{maxRolls},</if>
|
||||
<if test="createdAt != null">created_at = #{createdAt},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteFateEquipmentPossibleAttributesById" parameterType="Long">
|
||||
delete from fate_equipment_possible_attributes where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteFateEquipmentPossibleAttributesByIds" parameterType="String">
|
||||
delete from fate_equipment_possible_attributes where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.FateEquipmentQualitiesMapper">
|
||||
|
||||
<resultMap type="FateEquipmentQualities" id="FateEquipmentQualitiesResult">
|
||||
<result property="qualityId" column="quality_id" />
|
||||
<result property="qualityName" column="quality_name" />
|
||||
<result property="qualityCode" column="quality_code" />
|
||||
<result property="colorCode" column="color_code" />
|
||||
<result property="minLevel" column="min_level" />
|
||||
<result property="maxLevel" column="max_level" />
|
||||
<result property="createdAt" column="created_at" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectFateEquipmentQualitiesVo">
|
||||
select quality_id, quality_name, quality_code, color_code, min_level, max_level, created_at from fate_equipment_qualities
|
||||
</sql>
|
||||
|
||||
<select id="selectFateEquipmentQualitiesList" parameterType="FateEquipmentQualities" resultMap="FateEquipmentQualitiesResult">
|
||||
<include refid="selectFateEquipmentQualitiesVo"/>
|
||||
<where>
|
||||
<if test="qualityName != null and qualityName != ''"> and quality_name like concat('%', #{qualityName}, '%')</if>
|
||||
<if test="qualityCode != null and qualityCode != ''"> and quality_code = #{qualityCode}</if>
|
||||
<if test="colorCode != null and colorCode != ''"> and color_code = #{colorCode}</if>
|
||||
<if test="minLevel != null "> and min_level = #{minLevel}</if>
|
||||
<if test="maxLevel != null "> and max_level = #{maxLevel}</if>
|
||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectFateEquipmentQualitiesByQualityId" parameterType="Long" resultMap="FateEquipmentQualitiesResult">
|
||||
<include refid="selectFateEquipmentQualitiesVo"/>
|
||||
where quality_id = #{qualityId}
|
||||
</select>
|
||||
|
||||
<insert id="insertFateEquipmentQualities" parameterType="FateEquipmentQualities" useGeneratedKeys="true" keyProperty="qualityId">
|
||||
insert into fate_equipment_qualities
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="qualityName != null and qualityName != ''">quality_name,</if>
|
||||
<if test="qualityCode != null and qualityCode != ''">quality_code,</if>
|
||||
<if test="colorCode != null">color_code,</if>
|
||||
<if test="minLevel != null">min_level,</if>
|
||||
<if test="maxLevel != null">max_level,</if>
|
||||
<if test="createdAt != null">created_at,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="qualityName != null and qualityName != ''">#{qualityName},</if>
|
||||
<if test="qualityCode != null and qualityCode != ''">#{qualityCode},</if>
|
||||
<if test="colorCode != null">#{colorCode},</if>
|
||||
<if test="minLevel != null">#{minLevel},</if>
|
||||
<if test="maxLevel != null">#{maxLevel},</if>
|
||||
<if test="createdAt != null">#{createdAt},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateFateEquipmentQualities" parameterType="FateEquipmentQualities">
|
||||
update fate_equipment_qualities
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="qualityName != null and qualityName != ''">quality_name = #{qualityName},</if>
|
||||
<if test="qualityCode != null and qualityCode != ''">quality_code = #{qualityCode},</if>
|
||||
<if test="colorCode != null">color_code = #{colorCode},</if>
|
||||
<if test="minLevel != null">min_level = #{minLevel},</if>
|
||||
<if test="maxLevel != null">max_level = #{maxLevel},</if>
|
||||
<if test="createdAt != null">created_at = #{createdAt},</if>
|
||||
</trim>
|
||||
where quality_id = #{qualityId}
|
||||
</update>
|
||||
|
||||
<delete id="deleteFateEquipmentQualitiesByQualityId" parameterType="Long">
|
||||
delete from fate_equipment_qualities where quality_id = #{qualityId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteFateEquipmentQualitiesByQualityIds" parameterType="String">
|
||||
delete from fate_equipment_qualities where quality_id in
|
||||
<foreach item="qualityId" collection="array" open="(" separator="," close=")">
|
||||
#{qualityId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.FateEquipmentSetItemsMapper">
|
||||
|
||||
<resultMap type="FateEquipmentSetItems" id="FateEquipmentSetItemsResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="setId" column="set_id" />
|
||||
<result property="equipmentId" column="equipment_id" />
|
||||
<result property="createdAt" column="created_at" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectFateEquipmentSetItemsVo">
|
||||
select id, set_id, equipment_id, created_at from fate_equipment_set_items
|
||||
</sql>
|
||||
|
||||
<select id="selectFateEquipmentSetItemsList" parameterType="FateEquipmentSetItems" resultMap="FateEquipmentSetItemsResult">
|
||||
<include refid="selectFateEquipmentSetItemsVo"/>
|
||||
<where>
|
||||
<if test="setId != null "> and set_id = #{setId}</if>
|
||||
<if test="equipmentId != null "> and equipment_id = #{equipmentId}</if>
|
||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectFateEquipmentSetItemsById" parameterType="Long" resultMap="FateEquipmentSetItemsResult">
|
||||
<include refid="selectFateEquipmentSetItemsVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertFateEquipmentSetItems" parameterType="FateEquipmentSetItems" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into fate_equipment_set_items
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="setId != null">set_id,</if>
|
||||
<if test="equipmentId != null">equipment_id,</if>
|
||||
<if test="createdAt != null">created_at,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="setId != null">#{setId},</if>
|
||||
<if test="equipmentId != null">#{equipmentId},</if>
|
||||
<if test="createdAt != null">#{createdAt},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateFateEquipmentSetItems" parameterType="FateEquipmentSetItems">
|
||||
update fate_equipment_set_items
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="setId != null">set_id = #{setId},</if>
|
||||
<if test="equipmentId != null">equipment_id = #{equipmentId},</if>
|
||||
<if test="createdAt != null">created_at = #{createdAt},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteFateEquipmentSetItemsById" parameterType="Long">
|
||||
delete from fate_equipment_set_items where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteFateEquipmentSetItemsByIds" parameterType="String">
|
||||
delete from fate_equipment_set_items where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@ -0,0 +1,101 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.FateEquipmentSetsMapper">
|
||||
|
||||
<resultMap type="FateEquipmentSets" id="FateEquipmentSetsResult">
|
||||
<result property="setId" column="set_id" />
|
||||
<result property="setName" column="set_name" />
|
||||
<result property="requiredPieces" column="required_pieces" />
|
||||
<result property="bonusDescription" column="bonus_description" />
|
||||
<result property="hpBonus" column="hp_bonus" />
|
||||
<result property="atkBonus" column="atk_bonus" />
|
||||
<result property="defBonus" column="def_bonus" />
|
||||
<result property="resBonus" column="res_bonus" />
|
||||
<result property="spdBonus" column="spd_bonus" />
|
||||
<result property="critRateBonus" column="crit_rate_bonus" />
|
||||
<result property="createdAt" column="created_at" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectFateEquipmentSetsVo">
|
||||
select set_id, set_name, required_pieces, bonus_description, hp_bonus, atk_bonus, def_bonus, res_bonus, spd_bonus, crit_rate_bonus, created_at from fate_equipment_sets
|
||||
</sql>
|
||||
|
||||
<select id="selectFateEquipmentSetsList" parameterType="FateEquipmentSets" resultMap="FateEquipmentSetsResult">
|
||||
<include refid="selectFateEquipmentSetsVo"/>
|
||||
<where>
|
||||
<if test="setName != null and setName != ''"> and set_name like concat('%', #{setName}, '%')</if>
|
||||
<if test="requiredPieces != null "> and required_pieces = #{requiredPieces}</if>
|
||||
<if test="bonusDescription != null and bonusDescription != ''"> and bonus_description = #{bonusDescription}</if>
|
||||
<if test="hpBonus != null "> and hp_bonus = #{hpBonus}</if>
|
||||
<if test="atkBonus != null "> and atk_bonus = #{atkBonus}</if>
|
||||
<if test="defBonus != null "> and def_bonus = #{defBonus}</if>
|
||||
<if test="resBonus != null "> and res_bonus = #{resBonus}</if>
|
||||
<if test="spdBonus != null "> and spd_bonus = #{spdBonus}</if>
|
||||
<if test="critRateBonus != null "> and crit_rate_bonus = #{critRateBonus}</if>
|
||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectFateEquipmentSetsBySetId" parameterType="Long" resultMap="FateEquipmentSetsResult">
|
||||
<include refid="selectFateEquipmentSetsVo"/>
|
||||
where set_id = #{setId}
|
||||
</select>
|
||||
|
||||
<insert id="insertFateEquipmentSets" parameterType="FateEquipmentSets" useGeneratedKeys="true" keyProperty="setId">
|
||||
insert into fate_equipment_sets
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="setName != null and setName != ''">set_name,</if>
|
||||
<if test="requiredPieces != null">required_pieces,</if>
|
||||
<if test="bonusDescription != null and bonusDescription != ''">bonus_description,</if>
|
||||
<if test="hpBonus != null">hp_bonus,</if>
|
||||
<if test="atkBonus != null">atk_bonus,</if>
|
||||
<if test="defBonus != null">def_bonus,</if>
|
||||
<if test="resBonus != null">res_bonus,</if>
|
||||
<if test="spdBonus != null">spd_bonus,</if>
|
||||
<if test="critRateBonus != null">crit_rate_bonus,</if>
|
||||
<if test="createdAt != null">created_at,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="setName != null and setName != ''">#{setName},</if>
|
||||
<if test="requiredPieces != null">#{requiredPieces},</if>
|
||||
<if test="bonusDescription != null and bonusDescription != ''">#{bonusDescription},</if>
|
||||
<if test="hpBonus != null">#{hpBonus},</if>
|
||||
<if test="atkBonus != null">#{atkBonus},</if>
|
||||
<if test="defBonus != null">#{defBonus},</if>
|
||||
<if test="resBonus != null">#{resBonus},</if>
|
||||
<if test="spdBonus != null">#{spdBonus},</if>
|
||||
<if test="critRateBonus != null">#{critRateBonus},</if>
|
||||
<if test="createdAt != null">#{createdAt},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateFateEquipmentSets" parameterType="FateEquipmentSets">
|
||||
update fate_equipment_sets
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="setName != null and setName != ''">set_name = #{setName},</if>
|
||||
<if test="requiredPieces != null">required_pieces = #{requiredPieces},</if>
|
||||
<if test="bonusDescription != null and bonusDescription != ''">bonus_description = #{bonusDescription},</if>
|
||||
<if test="hpBonus != null">hp_bonus = #{hpBonus},</if>
|
||||
<if test="atkBonus != null">atk_bonus = #{atkBonus},</if>
|
||||
<if test="defBonus != null">def_bonus = #{defBonus},</if>
|
||||
<if test="resBonus != null">res_bonus = #{resBonus},</if>
|
||||
<if test="spdBonus != null">spd_bonus = #{spdBonus},</if>
|
||||
<if test="critRateBonus != null">crit_rate_bonus = #{critRateBonus},</if>
|
||||
<if test="createdAt != null">created_at = #{createdAt},</if>
|
||||
</trim>
|
||||
where set_id = #{setId}
|
||||
</update>
|
||||
|
||||
<delete id="deleteFateEquipmentSetsBySetId" parameterType="Long">
|
||||
delete from fate_equipment_sets where set_id = #{setId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteFateEquipmentSetsBySetIds" parameterType="String">
|
||||
delete from fate_equipment_sets where set_id in
|
||||
<foreach item="setId" collection="array" open="(" separator="," close=")">
|
||||
#{setId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@ -0,0 +1,76 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.FateEquipmentTypesMapper">
|
||||
|
||||
<resultMap type="FateEquipmentTypes" id="FateEquipmentTypesResult">
|
||||
<result property="typeId" column="type_id" />
|
||||
<result property="typeName" column="type_name" />
|
||||
<result property="typeCode" column="type_code" />
|
||||
<result property="slotIndex" column="slot_index" />
|
||||
<result property="description" column="description" />
|
||||
<result property="createdAt" column="created_at" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectFateEquipmentTypesVo">
|
||||
select type_id, type_name, type_code, slot_index, description, created_at from fate_equipment_types
|
||||
</sql>
|
||||
|
||||
<select id="selectFateEquipmentTypesList" parameterType="FateEquipmentTypes" resultMap="FateEquipmentTypesResult">
|
||||
<include refid="selectFateEquipmentTypesVo"/>
|
||||
<where>
|
||||
<if test="typeName != null and typeName != ''"> and type_name like concat('%', #{typeName}, '%')</if>
|
||||
<if test="typeCode != null and typeCode != ''"> and type_code = #{typeCode}</if>
|
||||
<if test="slotIndex != null "> and slot_index = #{slotIndex}</if>
|
||||
<if test="description != null and description != ''"> and description = #{description}</if>
|
||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectFateEquipmentTypesByTypeId" parameterType="Long" resultMap="FateEquipmentTypesResult">
|
||||
<include refid="selectFateEquipmentTypesVo"/>
|
||||
where type_id = #{typeId}
|
||||
</select>
|
||||
|
||||
<insert id="insertFateEquipmentTypes" parameterType="FateEquipmentTypes" useGeneratedKeys="true" keyProperty="typeId">
|
||||
insert into fate_equipment_types
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="typeName != null and typeName != ''">type_name,</if>
|
||||
<if test="typeCode != null and typeCode != ''">type_code,</if>
|
||||
<if test="slotIndex != null">slot_index,</if>
|
||||
<if test="description != null">description,</if>
|
||||
<if test="createdAt != null">created_at,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="typeName != null and typeName != ''">#{typeName},</if>
|
||||
<if test="typeCode != null and typeCode != ''">#{typeCode},</if>
|
||||
<if test="slotIndex != null">#{slotIndex},</if>
|
||||
<if test="description != null">#{description},</if>
|
||||
<if test="createdAt != null">#{createdAt},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateFateEquipmentTypes" parameterType="FateEquipmentTypes">
|
||||
update fate_equipment_types
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="typeName != null and typeName != ''">type_name = #{typeName},</if>
|
||||
<if test="typeCode != null and typeCode != ''">type_code = #{typeCode},</if>
|
||||
<if test="slotIndex != null">slot_index = #{slotIndex},</if>
|
||||
<if test="description != null">description = #{description},</if>
|
||||
<if test="createdAt != null">created_at = #{createdAt},</if>
|
||||
</trim>
|
||||
where type_id = #{typeId}
|
||||
</update>
|
||||
|
||||
<delete id="deleteFateEquipmentTypesByTypeId" parameterType="Long">
|
||||
delete from fate_equipment_types where type_id = #{typeId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteFateEquipmentTypesByTypeIds" parameterType="String">
|
||||
delete from fate_equipment_types where type_id in
|
||||
<foreach item="typeId" collection="array" open="(" separator="," close=")">
|
||||
#{typeId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@ -0,0 +1,176 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.FateEquipmentsMapper">
|
||||
|
||||
<resultMap type="FateEquipments" id="FateEquipmentsResult">
|
||||
<result property="equipmentId" column="equipment_id" />
|
||||
<result property="name" column="name" />
|
||||
<result property="typeId" column="type_id" />
|
||||
<result property="qualityId" column="quality_id" />
|
||||
<result property="requiredLevel" column="required_level" />
|
||||
<result property="baseHpMin" column="base_hp_min" />
|
||||
<result property="baseHpMax" column="base_hp_max" />
|
||||
<result property="baseAtkMin" column="base_atk_min" />
|
||||
<result property="baseAtkMax" column="base_atk_max" />
|
||||
<result property="baseDefMin" column="base_def_min" />
|
||||
<result property="baseDefMax" column="base_def_max" />
|
||||
<result property="baseResMin" column="base_res_min" />
|
||||
<result property="baseResMax" column="base_res_max" />
|
||||
<result property="baseSpdMin" column="base_spd_min" />
|
||||
<result property="baseSpdMax" column="base_spd_max" />
|
||||
<result property="baseCritRate" column="base_crit_rate" />
|
||||
<result property="baseCritDamage" column="base_crit_damage" />
|
||||
<result property="baseDodgeRate" column="base_dodge_rate" />
|
||||
<result property="weaponType" column="weapon_type" />
|
||||
<result property="isTwoHanded" column="is_two_handed" />
|
||||
<result property="weight" column="weight" />
|
||||
<result property="durability" column="durability" />
|
||||
<result property="sellPrice" column="sell_price" />
|
||||
<result property="description" column="description" />
|
||||
<result property="iconUrl" column="icon_url" />
|
||||
<result property="createdAt" column="created_at" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectFateEquipmentsVo">
|
||||
select equipment_id, name, type_id, quality_id, required_level, base_hp_min, base_hp_max, base_atk_min, base_atk_max, base_def_min, base_def_max, base_res_min, base_res_max, base_spd_min, base_spd_max, base_crit_rate, base_crit_damage, base_dodge_rate, weapon_type, is_two_handed, weight, durability, sell_price, description, icon_url, created_at from fate_equipments
|
||||
</sql>
|
||||
|
||||
<select id="selectFateEquipmentsList" parameterType="FateEquipments" resultMap="FateEquipmentsResult">
|
||||
<include refid="selectFateEquipmentsVo"/>
|
||||
<where>
|
||||
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
|
||||
<if test="typeId != null "> and type_id = #{typeId}</if>
|
||||
<if test="qualityId != null "> and quality_id = #{qualityId}</if>
|
||||
<if test="requiredLevel != null "> and required_level = #{requiredLevel}</if>
|
||||
<if test="baseHpMin != null "> and base_hp_min = #{baseHpMin}</if>
|
||||
<if test="baseHpMax != null "> and base_hp_max = #{baseHpMax}</if>
|
||||
<if test="baseAtkMin != null "> and base_atk_min = #{baseAtkMin}</if>
|
||||
<if test="baseAtkMax != null "> and base_atk_max = #{baseAtkMax}</if>
|
||||
<if test="baseDefMin != null "> and base_def_min = #{baseDefMin}</if>
|
||||
<if test="baseDefMax != null "> and base_def_max = #{baseDefMax}</if>
|
||||
<if test="baseResMin != null "> and base_res_min = #{baseResMin}</if>
|
||||
<if test="baseResMax != null "> and base_res_max = #{baseResMax}</if>
|
||||
<if test="baseSpdMin != null "> and base_spd_min = #{baseSpdMin}</if>
|
||||
<if test="baseSpdMax != null "> and base_spd_max = #{baseSpdMax}</if>
|
||||
<if test="baseCritRate != null "> and base_crit_rate = #{baseCritRate}</if>
|
||||
<if test="baseCritDamage != null "> and base_crit_damage = #{baseCritDamage}</if>
|
||||
<if test="baseDodgeRate != null "> and base_dodge_rate = #{baseDodgeRate}</if>
|
||||
<if test="weaponType != null and weaponType != ''"> and weapon_type = #{weaponType}</if>
|
||||
<if test="isTwoHanded != null "> and is_two_handed = #{isTwoHanded}</if>
|
||||
<if test="weight != null "> and weight = #{weight}</if>
|
||||
<if test="durability != null "> and durability = #{durability}</if>
|
||||
<if test="sellPrice != null "> and sell_price = #{sellPrice}</if>
|
||||
<if test="description != null and description != ''"> and description = #{description}</if>
|
||||
<if test="iconUrl != null and iconUrl != ''"> and icon_url = #{iconUrl}</if>
|
||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectFateEquipmentsByEquipmentId" parameterType="Long" resultMap="FateEquipmentsResult">
|
||||
<include refid="selectFateEquipmentsVo"/>
|
||||
where equipment_id = #{equipmentId}
|
||||
</select>
|
||||
|
||||
<insert id="insertFateEquipments" parameterType="FateEquipments" useGeneratedKeys="true" keyProperty="equipmentId">
|
||||
insert into fate_equipments
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="name != null and name != ''">name,</if>
|
||||
<if test="typeId != null">type_id,</if>
|
||||
<if test="qualityId != null">quality_id,</if>
|
||||
<if test="requiredLevel != null">required_level,</if>
|
||||
<if test="baseHpMin != null">base_hp_min,</if>
|
||||
<if test="baseHpMax != null">base_hp_max,</if>
|
||||
<if test="baseAtkMin != null">base_atk_min,</if>
|
||||
<if test="baseAtkMax != null">base_atk_max,</if>
|
||||
<if test="baseDefMin != null">base_def_min,</if>
|
||||
<if test="baseDefMax != null">base_def_max,</if>
|
||||
<if test="baseResMin != null">base_res_min,</if>
|
||||
<if test="baseResMax != null">base_res_max,</if>
|
||||
<if test="baseSpdMin != null">base_spd_min,</if>
|
||||
<if test="baseSpdMax != null">base_spd_max,</if>
|
||||
<if test="baseCritRate != null">base_crit_rate,</if>
|
||||
<if test="baseCritDamage != null">base_crit_damage,</if>
|
||||
<if test="baseDodgeRate != null">base_dodge_rate,</if>
|
||||
<if test="weaponType != null">weapon_type,</if>
|
||||
<if test="isTwoHanded != null">is_two_handed,</if>
|
||||
<if test="weight != null">weight,</if>
|
||||
<if test="durability != null">durability,</if>
|
||||
<if test="sellPrice != null">sell_price,</if>
|
||||
<if test="description != null">description,</if>
|
||||
<if test="iconUrl != null">icon_url,</if>
|
||||
<if test="createdAt != null">created_at,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="name != null and name != ''">#{name},</if>
|
||||
<if test="typeId != null">#{typeId},</if>
|
||||
<if test="qualityId != null">#{qualityId},</if>
|
||||
<if test="requiredLevel != null">#{requiredLevel},</if>
|
||||
<if test="baseHpMin != null">#{baseHpMin},</if>
|
||||
<if test="baseHpMax != null">#{baseHpMax},</if>
|
||||
<if test="baseAtkMin != null">#{baseAtkMin},</if>
|
||||
<if test="baseAtkMax != null">#{baseAtkMax},</if>
|
||||
<if test="baseDefMin != null">#{baseDefMin},</if>
|
||||
<if test="baseDefMax != null">#{baseDefMax},</if>
|
||||
<if test="baseResMin != null">#{baseResMin},</if>
|
||||
<if test="baseResMax != null">#{baseResMax},</if>
|
||||
<if test="baseSpdMin != null">#{baseSpdMin},</if>
|
||||
<if test="baseSpdMax != null">#{baseSpdMax},</if>
|
||||
<if test="baseCritRate != null">#{baseCritRate},</if>
|
||||
<if test="baseCritDamage != null">#{baseCritDamage},</if>
|
||||
<if test="baseDodgeRate != null">#{baseDodgeRate},</if>
|
||||
<if test="weaponType != null">#{weaponType},</if>
|
||||
<if test="isTwoHanded != null">#{isTwoHanded},</if>
|
||||
<if test="weight != null">#{weight},</if>
|
||||
<if test="durability != null">#{durability},</if>
|
||||
<if test="sellPrice != null">#{sellPrice},</if>
|
||||
<if test="description != null">#{description},</if>
|
||||
<if test="iconUrl != null">#{iconUrl},</if>
|
||||
<if test="createdAt != null">#{createdAt},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateFateEquipments" parameterType="FateEquipments">
|
||||
update fate_equipments
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="name != null and name != ''">name = #{name},</if>
|
||||
<if test="typeId != null">type_id = #{typeId},</if>
|
||||
<if test="qualityId != null">quality_id = #{qualityId},</if>
|
||||
<if test="requiredLevel != null">required_level = #{requiredLevel},</if>
|
||||
<if test="baseHpMin != null">base_hp_min = #{baseHpMin},</if>
|
||||
<if test="baseHpMax != null">base_hp_max = #{baseHpMax},</if>
|
||||
<if test="baseAtkMin != null">base_atk_min = #{baseAtkMin},</if>
|
||||
<if test="baseAtkMax != null">base_atk_max = #{baseAtkMax},</if>
|
||||
<if test="baseDefMin != null">base_def_min = #{baseDefMin},</if>
|
||||
<if test="baseDefMax != null">base_def_max = #{baseDefMax},</if>
|
||||
<if test="baseResMin != null">base_res_min = #{baseResMin},</if>
|
||||
<if test="baseResMax != null">base_res_max = #{baseResMax},</if>
|
||||
<if test="baseSpdMin != null">base_spd_min = #{baseSpdMin},</if>
|
||||
<if test="baseSpdMax != null">base_spd_max = #{baseSpdMax},</if>
|
||||
<if test="baseCritRate != null">base_crit_rate = #{baseCritRate},</if>
|
||||
<if test="baseCritDamage != null">base_crit_damage = #{baseCritDamage},</if>
|
||||
<if test="baseDodgeRate != null">base_dodge_rate = #{baseDodgeRate},</if>
|
||||
<if test="weaponType != null">weapon_type = #{weaponType},</if>
|
||||
<if test="isTwoHanded != null">is_two_handed = #{isTwoHanded},</if>
|
||||
<if test="weight != null">weight = #{weight},</if>
|
||||
<if test="durability != null">durability = #{durability},</if>
|
||||
<if test="sellPrice != null">sell_price = #{sellPrice},</if>
|
||||
<if test="description != null">description = #{description},</if>
|
||||
<if test="iconUrl != null">icon_url = #{iconUrl},</if>
|
||||
<if test="createdAt != null">created_at = #{createdAt},</if>
|
||||
</trim>
|
||||
where equipment_id = #{equipmentId}
|
||||
</update>
|
||||
|
||||
<delete id="deleteFateEquipmentsByEquipmentId" parameterType="Long">
|
||||
delete from fate_equipments where equipment_id = #{equipmentId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteFateEquipmentsByEquipmentIds" parameterType="String">
|
||||
delete from fate_equipments where equipment_id in
|
||||
<foreach item="equipmentId" collection="array" open="(" separator="," close=")">
|
||||
#{equipmentId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@ -0,0 +1,91 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.FateJobLevelBonusMapper">
|
||||
|
||||
<resultMap type="FateJobLevelBonus" id="FateJobLevelBonusResult">
|
||||
<result property="bonusId" column="bonus_id" />
|
||||
<result property="jobId" column="job_id" />
|
||||
<result property="level" column="level" />
|
||||
<result property="hpBonus" column="hp_bonus" />
|
||||
<result property="atkBonus" column="atk_bonus" />
|
||||
<result property="defBonus" column="def_bonus" />
|
||||
<result property="resBonus" column="res_bonus" />
|
||||
<result property="spdBonus" column="spd_bonus" />
|
||||
<result property="createdAt" column="created_at" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectFateJobLevelBonusVo">
|
||||
select bonus_id, job_id, level, hp_bonus, atk_bonus, def_bonus, res_bonus, spd_bonus, created_at from fate_job_level_bonus
|
||||
</sql>
|
||||
|
||||
<select id="selectFateJobLevelBonusList" parameterType="FateJobLevelBonus" resultMap="FateJobLevelBonusResult">
|
||||
<include refid="selectFateJobLevelBonusVo"/>
|
||||
<where>
|
||||
<if test="jobId != null "> and job_id = #{jobId}</if>
|
||||
<if test="level != null "> and level = #{level}</if>
|
||||
<if test="hpBonus != null "> and hp_bonus = #{hpBonus}</if>
|
||||
<if test="atkBonus != null "> and atk_bonus = #{atkBonus}</if>
|
||||
<if test="defBonus != null "> and def_bonus = #{defBonus}</if>
|
||||
<if test="resBonus != null "> and res_bonus = #{resBonus}</if>
|
||||
<if test="spdBonus != null "> and spd_bonus = #{spdBonus}</if>
|
||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectFateJobLevelBonusByBonusId" parameterType="Long" resultMap="FateJobLevelBonusResult">
|
||||
<include refid="selectFateJobLevelBonusVo"/>
|
||||
where bonus_id = #{bonusId}
|
||||
</select>
|
||||
|
||||
<insert id="insertFateJobLevelBonus" parameterType="FateJobLevelBonus" useGeneratedKeys="true" keyProperty="bonusId">
|
||||
insert into fate_job_level_bonus
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="jobId != null">job_id,</if>
|
||||
<if test="level != null">level,</if>
|
||||
<if test="hpBonus != null">hp_bonus,</if>
|
||||
<if test="atkBonus != null">atk_bonus,</if>
|
||||
<if test="defBonus != null">def_bonus,</if>
|
||||
<if test="resBonus != null">res_bonus,</if>
|
||||
<if test="spdBonus != null">spd_bonus,</if>
|
||||
<if test="createdAt != null">created_at,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="jobId != null">#{jobId},</if>
|
||||
<if test="level != null">#{level},</if>
|
||||
<if test="hpBonus != null">#{hpBonus},</if>
|
||||
<if test="atkBonus != null">#{atkBonus},</if>
|
||||
<if test="defBonus != null">#{defBonus},</if>
|
||||
<if test="resBonus != null">#{resBonus},</if>
|
||||
<if test="spdBonus != null">#{spdBonus},</if>
|
||||
<if test="createdAt != null">#{createdAt},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateFateJobLevelBonus" parameterType="FateJobLevelBonus">
|
||||
update fate_job_level_bonus
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="jobId != null">job_id = #{jobId},</if>
|
||||
<if test="level != null">level = #{level},</if>
|
||||
<if test="hpBonus != null">hp_bonus = #{hpBonus},</if>
|
||||
<if test="atkBonus != null">atk_bonus = #{atkBonus},</if>
|
||||
<if test="defBonus != null">def_bonus = #{defBonus},</if>
|
||||
<if test="resBonus != null">res_bonus = #{resBonus},</if>
|
||||
<if test="spdBonus != null">spd_bonus = #{spdBonus},</if>
|
||||
<if test="createdAt != null">created_at = #{createdAt},</if>
|
||||
</trim>
|
||||
where bonus_id = #{bonusId}
|
||||
</update>
|
||||
|
||||
<delete id="deleteFateJobLevelBonusByBonusId" parameterType="Long">
|
||||
delete from fate_job_level_bonus where bonus_id = #{bonusId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteFateJobLevelBonusByBonusIds" parameterType="String">
|
||||
delete from fate_job_level_bonus where bonus_id in
|
||||
<foreach item="bonusId" collection="array" open="(" separator="," close=")">
|
||||
#{bonusId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@ -0,0 +1,91 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.FateJobPromotionsMapper">
|
||||
|
||||
<resultMap type="FateJobPromotions" id="FateJobPromotionsResult">
|
||||
<result property="promotionId" column="promotion_id" />
|
||||
<result property="fromJobId" column="from_job_id" />
|
||||
<result property="toJobId" column="to_job_id" />
|
||||
<result property="requiredLevel" column="required_level" />
|
||||
<result property="requiredItems" column="required_items" />
|
||||
<result property="requiredSkills" column="required_skills" />
|
||||
<result property="successRate" column="success_rate" />
|
||||
<result property="description" column="description" />
|
||||
<result property="createdAt" column="created_at" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectFateJobPromotionsVo">
|
||||
select promotion_id, from_job_id, to_job_id, required_level, required_items, required_skills, success_rate, description, created_at from fate_job_promotions
|
||||
</sql>
|
||||
|
||||
<select id="selectFateJobPromotionsList" parameterType="FateJobPromotions" resultMap="FateJobPromotionsResult">
|
||||
<include refid="selectFateJobPromotionsVo"/>
|
||||
<where>
|
||||
<if test="fromJobId != null "> and from_job_id = #{fromJobId}</if>
|
||||
<if test="toJobId != null "> and to_job_id = #{toJobId}</if>
|
||||
<if test="requiredLevel != null "> and required_level = #{requiredLevel}</if>
|
||||
<if test="requiredItems != null and requiredItems != ''"> and required_items = #{requiredItems}</if>
|
||||
<if test="requiredSkills != null and requiredSkills != ''"> and required_skills = #{requiredSkills}</if>
|
||||
<if test="successRate != null "> and success_rate = #{successRate}</if>
|
||||
<if test="description != null and description != ''"> and description = #{description}</if>
|
||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectFateJobPromotionsByPromotionId" parameterType="Long" resultMap="FateJobPromotionsResult">
|
||||
<include refid="selectFateJobPromotionsVo"/>
|
||||
where promotion_id = #{promotionId}
|
||||
</select>
|
||||
|
||||
<insert id="insertFateJobPromotions" parameterType="FateJobPromotions" useGeneratedKeys="true" keyProperty="promotionId">
|
||||
insert into fate_job_promotions
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="fromJobId != null">from_job_id,</if>
|
||||
<if test="toJobId != null">to_job_id,</if>
|
||||
<if test="requiredLevel != null">required_level,</if>
|
||||
<if test="requiredItems != null">required_items,</if>
|
||||
<if test="requiredSkills != null">required_skills,</if>
|
||||
<if test="successRate != null">success_rate,</if>
|
||||
<if test="description != null">description,</if>
|
||||
<if test="createdAt != null">created_at,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="fromJobId != null">#{fromJobId},</if>
|
||||
<if test="toJobId != null">#{toJobId},</if>
|
||||
<if test="requiredLevel != null">#{requiredLevel},</if>
|
||||
<if test="requiredItems != null">#{requiredItems},</if>
|
||||
<if test="requiredSkills != null">#{requiredSkills},</if>
|
||||
<if test="successRate != null">#{successRate},</if>
|
||||
<if test="description != null">#{description},</if>
|
||||
<if test="createdAt != null">#{createdAt},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateFateJobPromotions" parameterType="FateJobPromotions">
|
||||
update fate_job_promotions
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="fromJobId != null">from_job_id = #{fromJobId},</if>
|
||||
<if test="toJobId != null">to_job_id = #{toJobId},</if>
|
||||
<if test="requiredLevel != null">required_level = #{requiredLevel},</if>
|
||||
<if test="requiredItems != null">required_items = #{requiredItems},</if>
|
||||
<if test="requiredSkills != null">required_skills = #{requiredSkills},</if>
|
||||
<if test="successRate != null">success_rate = #{successRate},</if>
|
||||
<if test="description != null">description = #{description},</if>
|
||||
<if test="createdAt != null">created_at = #{createdAt},</if>
|
||||
</trim>
|
||||
where promotion_id = #{promotionId}
|
||||
</update>
|
||||
|
||||
<delete id="deleteFateJobPromotionsByPromotionId" parameterType="Long">
|
||||
delete from fate_job_promotions where promotion_id = #{promotionId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteFateJobPromotionsByPromotionIds" parameterType="String">
|
||||
delete from fate_job_promotions where promotion_id in
|
||||
<foreach item="promotionId" collection="array" open="(" separator="," close=")">
|
||||
#{promotionId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.FateJobSkillsMapper">
|
||||
|
||||
<resultMap type="FateJobSkills" id="FateJobSkillsResult">
|
||||
<result property="jobSkillId" column="job_skill_id" />
|
||||
<result property="jobId" column="job_id" />
|
||||
<result property="skillId" column="skill_id" />
|
||||
<result property="learnLevel" column="learn_level" />
|
||||
<result property="isExclusive" column="is_exclusive" />
|
||||
<result property="description" column="description" />
|
||||
<result property="createdAt" column="created_at" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectFateJobSkillsVo">
|
||||
select job_skill_id, job_id, skill_id, learn_level, is_exclusive, description, created_at from fate_job_skills
|
||||
</sql>
|
||||
|
||||
<select id="selectFateJobSkillsList" parameterType="FateJobSkills" resultMap="FateJobSkillsResult">
|
||||
<include refid="selectFateJobSkillsVo"/>
|
||||
<where>
|
||||
<if test="jobId != null "> and job_id = #{jobId}</if>
|
||||
<if test="skillId != null "> and skill_id = #{skillId}</if>
|
||||
<if test="learnLevel != null "> and learn_level = #{learnLevel}</if>
|
||||
<if test="isExclusive != null "> and is_exclusive = #{isExclusive}</if>
|
||||
<if test="description != null and description != ''"> and description = #{description}</if>
|
||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectFateJobSkillsByJobSkillId" parameterType="Long" resultMap="FateJobSkillsResult">
|
||||
<include refid="selectFateJobSkillsVo"/>
|
||||
where job_skill_id = #{jobSkillId}
|
||||
</select>
|
||||
|
||||
<insert id="insertFateJobSkills" parameterType="FateJobSkills" useGeneratedKeys="true" keyProperty="jobSkillId">
|
||||
insert into fate_job_skills
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="jobId != null">job_id,</if>
|
||||
<if test="skillId != null">skill_id,</if>
|
||||
<if test="learnLevel != null">learn_level,</if>
|
||||
<if test="isExclusive != null">is_exclusive,</if>
|
||||
<if test="description != null">description,</if>
|
||||
<if test="createdAt != null">created_at,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="jobId != null">#{jobId},</if>
|
||||
<if test="skillId != null">#{skillId},</if>
|
||||
<if test="learnLevel != null">#{learnLevel},</if>
|
||||
<if test="isExclusive != null">#{isExclusive},</if>
|
||||
<if test="description != null">#{description},</if>
|
||||
<if test="createdAt != null">#{createdAt},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateFateJobSkills" parameterType="FateJobSkills">
|
||||
update fate_job_skills
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="jobId != null">job_id = #{jobId},</if>
|
||||
<if test="skillId != null">skill_id = #{skillId},</if>
|
||||
<if test="learnLevel != null">learn_level = #{learnLevel},</if>
|
||||
<if test="isExclusive != null">is_exclusive = #{isExclusive},</if>
|
||||
<if test="description != null">description = #{description},</if>
|
||||
<if test="createdAt != null">created_at = #{createdAt},</if>
|
||||
</trim>
|
||||
where job_skill_id = #{jobSkillId}
|
||||
</update>
|
||||
|
||||
<delete id="deleteFateJobSkillsByJobSkillId" parameterType="Long">
|
||||
delete from fate_job_skills where job_skill_id = #{jobSkillId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteFateJobSkillsByJobSkillIds" parameterType="String">
|
||||
delete from fate_job_skills where job_skill_id in
|
||||
<foreach item="jobSkillId" collection="array" open="(" separator="," close=")">
|
||||
#{jobSkillId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
146
ruoyi-system/src/main/resources/mapper/system/FateJobsMapper.xml
Normal file
146
ruoyi-system/src/main/resources/mapper/system/FateJobsMapper.xml
Normal file
@ -0,0 +1,146 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.FateJobsMapper">
|
||||
|
||||
<resultMap type="FateJobs" id="FateJobsResult">
|
||||
<result property="jobId" column="job_id" />
|
||||
<result property="jobName" column="job_name" />
|
||||
<result property="jobTier" column="job_tier" />
|
||||
<result property="baseHpBonus" column="base_hp_bonus" />
|
||||
<result property="baseAtkBonus" column="base_atk_bonus" />
|
||||
<result property="baseDefBonus" column="base_def_bonus" />
|
||||
<result property="baseResBonus" column="base_res_bonus" />
|
||||
<result property="baseSpdBonus" column="base_spd_bonus" />
|
||||
<result property="growthHpBonus" column="growth_hp_bonus" />
|
||||
<result property="growthAtkBonus" column="growth_atk_bonus" />
|
||||
<result property="growthDefBonus" column="growth_def_bonus" />
|
||||
<result property="growthResBonus" column="growth_res_bonus" />
|
||||
<result property="growthSpdBonus" column="growth_spd_bonus" />
|
||||
<result property="moveType" column="move_type" />
|
||||
<result property="weaponProficiencies" column="weapon_proficiencies" />
|
||||
<result property="maxLevel" column="max_level" />
|
||||
<result property="requiredLevel" column="required_level" />
|
||||
<result property="description" column="description" />
|
||||
<result property="iconUrl" column="icon_url" />
|
||||
<result property="createdAt" column="created_at" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectFateJobsVo">
|
||||
select job_id, job_name, job_tier, base_hp_bonus, base_atk_bonus, base_def_bonus, base_res_bonus, base_spd_bonus, growth_hp_bonus, growth_atk_bonus, growth_def_bonus, growth_res_bonus, growth_spd_bonus, move_type, weapon_proficiencies, max_level, required_level, description, icon_url, created_at from fate_jobs
|
||||
</sql>
|
||||
|
||||
<select id="selectFateJobsList" parameterType="FateJobs" resultMap="FateJobsResult">
|
||||
<include refid="selectFateJobsVo"/>
|
||||
<where>
|
||||
<if test="jobName != null and jobName != ''"> and job_name like concat('%', #{jobName}, '%')</if>
|
||||
<if test="jobTier != null "> and job_tier = #{jobTier}</if>
|
||||
<if test="baseHpBonus != null "> and base_hp_bonus = #{baseHpBonus}</if>
|
||||
<if test="baseAtkBonus != null "> and base_atk_bonus = #{baseAtkBonus}</if>
|
||||
<if test="baseDefBonus != null "> and base_def_bonus = #{baseDefBonus}</if>
|
||||
<if test="baseResBonus != null "> and base_res_bonus = #{baseResBonus}</if>
|
||||
<if test="baseSpdBonus != null "> and base_spd_bonus = #{baseSpdBonus}</if>
|
||||
<if test="growthHpBonus != null "> and growth_hp_bonus = #{growthHpBonus}</if>
|
||||
<if test="growthAtkBonus != null "> and growth_atk_bonus = #{growthAtkBonus}</if>
|
||||
<if test="growthDefBonus != null "> and growth_def_bonus = #{growthDefBonus}</if>
|
||||
<if test="growthResBonus != null "> and growth_res_bonus = #{growthResBonus}</if>
|
||||
<if test="growthSpdBonus != null "> and growth_spd_bonus = #{growthSpdBonus}</if>
|
||||
<if test="moveType != null and moveType != ''"> and move_type = #{moveType}</if>
|
||||
<if test="weaponProficiencies != null and weaponProficiencies != ''"> and weapon_proficiencies = #{weaponProficiencies}</if>
|
||||
<if test="maxLevel != null "> and max_level = #{maxLevel}</if>
|
||||
<if test="requiredLevel != null "> and required_level = #{requiredLevel}</if>
|
||||
<if test="description != null and description != ''"> and description = #{description}</if>
|
||||
<if test="iconUrl != null and iconUrl != ''"> and icon_url = #{iconUrl}</if>
|
||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectFateJobsByJobId" parameterType="Long" resultMap="FateJobsResult">
|
||||
<include refid="selectFateJobsVo"/>
|
||||
where job_id = #{jobId}
|
||||
</select>
|
||||
|
||||
<insert id="insertFateJobs" parameterType="FateJobs" useGeneratedKeys="true" keyProperty="jobId">
|
||||
insert into fate_jobs
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="jobName != null and jobName != ''">job_name,</if>
|
||||
<if test="jobTier != null">job_tier,</if>
|
||||
<if test="baseHpBonus != null">base_hp_bonus,</if>
|
||||
<if test="baseAtkBonus != null">base_atk_bonus,</if>
|
||||
<if test="baseDefBonus != null">base_def_bonus,</if>
|
||||
<if test="baseResBonus != null">base_res_bonus,</if>
|
||||
<if test="baseSpdBonus != null">base_spd_bonus,</if>
|
||||
<if test="growthHpBonus != null">growth_hp_bonus,</if>
|
||||
<if test="growthAtkBonus != null">growth_atk_bonus,</if>
|
||||
<if test="growthDefBonus != null">growth_def_bonus,</if>
|
||||
<if test="growthResBonus != null">growth_res_bonus,</if>
|
||||
<if test="growthSpdBonus != null">growth_spd_bonus,</if>
|
||||
<if test="moveType != null">move_type,</if>
|
||||
<if test="weaponProficiencies != null">weapon_proficiencies,</if>
|
||||
<if test="maxLevel != null">max_level,</if>
|
||||
<if test="requiredLevel != null">required_level,</if>
|
||||
<if test="description != null">description,</if>
|
||||
<if test="iconUrl != null">icon_url,</if>
|
||||
<if test="createdAt != null">created_at,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="jobName != null and jobName != ''">#{jobName},</if>
|
||||
<if test="jobTier != null">#{jobTier},</if>
|
||||
<if test="baseHpBonus != null">#{baseHpBonus},</if>
|
||||
<if test="baseAtkBonus != null">#{baseAtkBonus},</if>
|
||||
<if test="baseDefBonus != null">#{baseDefBonus},</if>
|
||||
<if test="baseResBonus != null">#{baseResBonus},</if>
|
||||
<if test="baseSpdBonus != null">#{baseSpdBonus},</if>
|
||||
<if test="growthHpBonus != null">#{growthHpBonus},</if>
|
||||
<if test="growthAtkBonus != null">#{growthAtkBonus},</if>
|
||||
<if test="growthDefBonus != null">#{growthDefBonus},</if>
|
||||
<if test="growthResBonus != null">#{growthResBonus},</if>
|
||||
<if test="growthSpdBonus != null">#{growthSpdBonus},</if>
|
||||
<if test="moveType != null">#{moveType},</if>
|
||||
<if test="weaponProficiencies != null">#{weaponProficiencies},</if>
|
||||
<if test="maxLevel != null">#{maxLevel},</if>
|
||||
<if test="requiredLevel != null">#{requiredLevel},</if>
|
||||
<if test="description != null">#{description},</if>
|
||||
<if test="iconUrl != null">#{iconUrl},</if>
|
||||
<if test="createdAt != null">#{createdAt},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateFateJobs" parameterType="FateJobs">
|
||||
update fate_jobs
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="jobName != null and jobName != ''">job_name = #{jobName},</if>
|
||||
<if test="jobTier != null">job_tier = #{jobTier},</if>
|
||||
<if test="baseHpBonus != null">base_hp_bonus = #{baseHpBonus},</if>
|
||||
<if test="baseAtkBonus != null">base_atk_bonus = #{baseAtkBonus},</if>
|
||||
<if test="baseDefBonus != null">base_def_bonus = #{baseDefBonus},</if>
|
||||
<if test="baseResBonus != null">base_res_bonus = #{baseResBonus},</if>
|
||||
<if test="baseSpdBonus != null">base_spd_bonus = #{baseSpdBonus},</if>
|
||||
<if test="growthHpBonus != null">growth_hp_bonus = #{growthHpBonus},</if>
|
||||
<if test="growthAtkBonus != null">growth_atk_bonus = #{growthAtkBonus},</if>
|
||||
<if test="growthDefBonus != null">growth_def_bonus = #{growthDefBonus},</if>
|
||||
<if test="growthResBonus != null">growth_res_bonus = #{growthResBonus},</if>
|
||||
<if test="growthSpdBonus != null">growth_spd_bonus = #{growthSpdBonus},</if>
|
||||
<if test="moveType != null">move_type = #{moveType},</if>
|
||||
<if test="weaponProficiencies != null">weapon_proficiencies = #{weaponProficiencies},</if>
|
||||
<if test="maxLevel != null">max_level = #{maxLevel},</if>
|
||||
<if test="requiredLevel != null">required_level = #{requiredLevel},</if>
|
||||
<if test="description != null">description = #{description},</if>
|
||||
<if test="iconUrl != null">icon_url = #{iconUrl},</if>
|
||||
<if test="createdAt != null">created_at = #{createdAt},</if>
|
||||
</trim>
|
||||
where job_id = #{jobId}
|
||||
</update>
|
||||
|
||||
<delete id="deleteFateJobsByJobId" parameterType="Long">
|
||||
delete from fate_jobs where job_id = #{jobId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteFateJobsByJobIds" parameterType="String">
|
||||
delete from fate_jobs where job_id in
|
||||
<foreach item="jobId" collection="array" open="(" separator="," close=")">
|
||||
#{jobId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@ -0,0 +1,161 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.FateUserCharacterMapper">
|
||||
|
||||
<resultMap type="FateUserCharacter" id="FateUserCharacterResult">
|
||||
<result property="userCharacterId" column="user_character_id" />
|
||||
<result property="userId" column="user_id" />
|
||||
<result property="characterId" column="character_id" />
|
||||
<result property="actualHp" column="actual_hp" />
|
||||
<result property="actualAtk" column="actual_atk" />
|
||||
<result property="actualDef" column="actual_def" />
|
||||
<result property="actualRes" column="actual_res" />
|
||||
<result property="actualSpd" column="actual_spd" />
|
||||
<result property="ivHp" column="iv_hp" />
|
||||
<result property="ivAtk" column="iv_atk" />
|
||||
<result property="ivDef" column="iv_def" />
|
||||
<result property="ivRes" column="iv_res" />
|
||||
<result property="ivSpd" column="iv_spd" />
|
||||
<result property="evHp" column="ev_hp" />
|
||||
<result property="evAtk" column="ev_atk" />
|
||||
<result property="evDef" column="ev_def" />
|
||||
<result property="evRes" column="ev_res" />
|
||||
<result property="evSpd" column="ev_spd" />
|
||||
<result property="level" column="level" />
|
||||
<result property="experience" column="experience" />
|
||||
<result property="favorability" column="favorability" />
|
||||
<result property="createdAt" column="created_at" />
|
||||
<result property="updatedAt" column="updated_at" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectFateUserCharacterVo">
|
||||
select user_character_id, user_id, character_id, actual_hp, actual_atk, actual_def, actual_res, actual_spd, iv_hp, iv_atk, iv_def, iv_res, iv_spd, ev_hp, ev_atk, ev_def, ev_res, ev_spd, level, experience, favorability, created_at, updated_at from fate_user_character
|
||||
</sql>
|
||||
|
||||
<select id="selectFateUserCharacterList" parameterType="FateUserCharacter" resultMap="FateUserCharacterResult">
|
||||
<include refid="selectFateUserCharacterVo"/>
|
||||
<where>
|
||||
<if test="userId != null "> and user_id = #{userId}</if>
|
||||
<if test="characterId != null "> and character_id = #{characterId}</if>
|
||||
<if test="actualHp != null "> and actual_hp = #{actualHp}</if>
|
||||
<if test="actualAtk != null "> and actual_atk = #{actualAtk}</if>
|
||||
<if test="actualDef != null "> and actual_def = #{actualDef}</if>
|
||||
<if test="actualRes != null "> and actual_res = #{actualRes}</if>
|
||||
<if test="actualSpd != null "> and actual_spd = #{actualSpd}</if>
|
||||
<if test="ivHp != null "> and iv_hp = #{ivHp}</if>
|
||||
<if test="ivAtk != null "> and iv_atk = #{ivAtk}</if>
|
||||
<if test="ivDef != null "> and iv_def = #{ivDef}</if>
|
||||
<if test="ivRes != null "> and iv_res = #{ivRes}</if>
|
||||
<if test="ivSpd != null "> and iv_spd = #{ivSpd}</if>
|
||||
<if test="evHp != null "> and ev_hp = #{evHp}</if>
|
||||
<if test="evAtk != null "> and ev_atk = #{evAtk}</if>
|
||||
<if test="evDef != null "> and ev_def = #{evDef}</if>
|
||||
<if test="evRes != null "> and ev_res = #{evRes}</if>
|
||||
<if test="evSpd != null "> and ev_spd = #{evSpd}</if>
|
||||
<if test="level != null "> and level = #{level}</if>
|
||||
<if test="experience != null "> and experience = #{experience}</if>
|
||||
<if test="favorability != null "> and favorability = #{favorability}</if>
|
||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectFateUserCharacterByUserCharacterId" parameterType="Long" resultMap="FateUserCharacterResult">
|
||||
<include refid="selectFateUserCharacterVo"/>
|
||||
where user_character_id = #{userCharacterId}
|
||||
</select>
|
||||
|
||||
<insert id="insertFateUserCharacter" parameterType="FateUserCharacter" useGeneratedKeys="true" keyProperty="userCharacterId">
|
||||
insert into fate_user_character
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="userId != null">user_id,</if>
|
||||
<if test="characterId != null">character_id,</if>
|
||||
<if test="actualHp != null">actual_hp,</if>
|
||||
<if test="actualAtk != null">actual_atk,</if>
|
||||
<if test="actualDef != null">actual_def,</if>
|
||||
<if test="actualRes != null">actual_res,</if>
|
||||
<if test="actualSpd != null">actual_spd,</if>
|
||||
<if test="ivHp != null">iv_hp,</if>
|
||||
<if test="ivAtk != null">iv_atk,</if>
|
||||
<if test="ivDef != null">iv_def,</if>
|
||||
<if test="ivRes != null">iv_res,</if>
|
||||
<if test="ivSpd != null">iv_spd,</if>
|
||||
<if test="evHp != null">ev_hp,</if>
|
||||
<if test="evAtk != null">ev_atk,</if>
|
||||
<if test="evDef != null">ev_def,</if>
|
||||
<if test="evRes != null">ev_res,</if>
|
||||
<if test="evSpd != null">ev_spd,</if>
|
||||
<if test="level != null">level,</if>
|
||||
<if test="experience != null">experience,</if>
|
||||
<if test="favorability != null">favorability,</if>
|
||||
<if test="createdAt != null">created_at,</if>
|
||||
<if test="updatedAt != null">updated_at,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="userId != null">#{userId},</if>
|
||||
<if test="characterId != null">#{characterId},</if>
|
||||
<if test="actualHp != null">#{actualHp},</if>
|
||||
<if test="actualAtk != null">#{actualAtk},</if>
|
||||
<if test="actualDef != null">#{actualDef},</if>
|
||||
<if test="actualRes != null">#{actualRes},</if>
|
||||
<if test="actualSpd != null">#{actualSpd},</if>
|
||||
<if test="ivHp != null">#{ivHp},</if>
|
||||
<if test="ivAtk != null">#{ivAtk},</if>
|
||||
<if test="ivDef != null">#{ivDef},</if>
|
||||
<if test="ivRes != null">#{ivRes},</if>
|
||||
<if test="ivSpd != null">#{ivSpd},</if>
|
||||
<if test="evHp != null">#{evHp},</if>
|
||||
<if test="evAtk != null">#{evAtk},</if>
|
||||
<if test="evDef != null">#{evDef},</if>
|
||||
<if test="evRes != null">#{evRes},</if>
|
||||
<if test="evSpd != null">#{evSpd},</if>
|
||||
<if test="level != null">#{level},</if>
|
||||
<if test="experience != null">#{experience},</if>
|
||||
<if test="favorability != null">#{favorability},</if>
|
||||
<if test="createdAt != null">#{createdAt},</if>
|
||||
<if test="updatedAt != null">#{updatedAt},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateFateUserCharacter" parameterType="FateUserCharacter">
|
||||
update fate_user_character
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="userId != null">user_id = #{userId},</if>
|
||||
<if test="characterId != null">character_id = #{characterId},</if>
|
||||
<if test="actualHp != null">actual_hp = #{actualHp},</if>
|
||||
<if test="actualAtk != null">actual_atk = #{actualAtk},</if>
|
||||
<if test="actualDef != null">actual_def = #{actualDef},</if>
|
||||
<if test="actualRes != null">actual_res = #{actualRes},</if>
|
||||
<if test="actualSpd != null">actual_spd = #{actualSpd},</if>
|
||||
<if test="ivHp != null">iv_hp = #{ivHp},</if>
|
||||
<if test="ivAtk != null">iv_atk = #{ivAtk},</if>
|
||||
<if test="ivDef != null">iv_def = #{ivDef},</if>
|
||||
<if test="ivRes != null">iv_res = #{ivRes},</if>
|
||||
<if test="ivSpd != null">iv_spd = #{ivSpd},</if>
|
||||
<if test="evHp != null">ev_hp = #{evHp},</if>
|
||||
<if test="evAtk != null">ev_atk = #{evAtk},</if>
|
||||
<if test="evDef != null">ev_def = #{evDef},</if>
|
||||
<if test="evRes != null">ev_res = #{evRes},</if>
|
||||
<if test="evSpd != null">ev_spd = #{evSpd},</if>
|
||||
<if test="level != null">level = #{level},</if>
|
||||
<if test="experience != null">experience = #{experience},</if>
|
||||
<if test="favorability != null">favorability = #{favorability},</if>
|
||||
<if test="createdAt != null">created_at = #{createdAt},</if>
|
||||
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
|
||||
</trim>
|
||||
where user_character_id = #{userCharacterId}
|
||||
</update>
|
||||
|
||||
<delete id="deleteFateUserCharacterByUserCharacterId" parameterType="Long">
|
||||
delete from fate_user_character where user_character_id = #{userCharacterId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteFateUserCharacterByUserCharacterIds" parameterType="String">
|
||||
delete from fate_user_character where user_character_id in
|
||||
<foreach item="userCharacterId" collection="array" open="(" separator="," close=")">
|
||||
#{userCharacterId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@ -0,0 +1,121 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.FateUserEquipmentsMapper">
|
||||
|
||||
<resultMap type="FateUserEquipments" id="FateUserEquipmentsResult">
|
||||
<result property="userEquipmentId" column="user_equipment_id" />
|
||||
<result property="userId" column="user_id" />
|
||||
<result property="equipmentId" column="equipment_id" />
|
||||
<result property="level" column="level" />
|
||||
<result property="experience" column="experience" />
|
||||
<result property="currentHp" column="current_hp" />
|
||||
<result property="currentAtk" column="current_atk" />
|
||||
<result property="currentDef" column="current_def" />
|
||||
<result property="currentRes" column="current_res" />
|
||||
<result property="currentSpd" column="current_spd" />
|
||||
<result property="currentDurability" column="current_durability" />
|
||||
<result property="isEquipped" column="is_equipped" />
|
||||
<result property="equippedCharacterId" column="equipped_character_id" />
|
||||
<result property="createdAt" column="created_at" />
|
||||
<result property="updatedAt" column="updated_at" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectFateUserEquipmentsVo">
|
||||
select user_equipment_id, user_id, equipment_id, level, experience, current_hp, current_atk, current_def, current_res, current_spd, current_durability, is_equipped, equipped_character_id, created_at, updated_at from fate_user_equipments
|
||||
</sql>
|
||||
|
||||
<select id="selectFateUserEquipmentsList" parameterType="FateUserEquipments" resultMap="FateUserEquipmentsResult">
|
||||
<include refid="selectFateUserEquipmentsVo"/>
|
||||
<where>
|
||||
<if test="userId != null "> and user_id = #{userId}</if>
|
||||
<if test="equipmentId != null "> and equipment_id = #{equipmentId}</if>
|
||||
<if test="level != null "> and level = #{level}</if>
|
||||
<if test="experience != null "> and experience = #{experience}</if>
|
||||
<if test="currentHp != null "> and current_hp = #{currentHp}</if>
|
||||
<if test="currentAtk != null "> and current_atk = #{currentAtk}</if>
|
||||
<if test="currentDef != null "> and current_def = #{currentDef}</if>
|
||||
<if test="currentRes != null "> and current_res = #{currentRes}</if>
|
||||
<if test="currentSpd != null "> and current_spd = #{currentSpd}</if>
|
||||
<if test="currentDurability != null "> and current_durability = #{currentDurability}</if>
|
||||
<if test="isEquipped != null "> and is_equipped = #{isEquipped}</if>
|
||||
<if test="equippedCharacterId != null "> and equipped_character_id = #{equippedCharacterId}</if>
|
||||
<if test="createdAt != null "> and created_at = #{createdAt}</if>
|
||||
<if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectFateUserEquipmentsByUserEquipmentId" parameterType="Long" resultMap="FateUserEquipmentsResult">
|
||||
<include refid="selectFateUserEquipmentsVo"/>
|
||||
where user_equipment_id = #{userEquipmentId}
|
||||
</select>
|
||||
|
||||
<insert id="insertFateUserEquipments" parameterType="FateUserEquipments" useGeneratedKeys="true" keyProperty="userEquipmentId">
|
||||
insert into fate_user_equipments
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="userId != null">user_id,</if>
|
||||
<if test="equipmentId != null">equipment_id,</if>
|
||||
<if test="level != null">level,</if>
|
||||
<if test="experience != null">experience,</if>
|
||||
<if test="currentHp != null">current_hp,</if>
|
||||
<if test="currentAtk != null">current_atk,</if>
|
||||
<if test="currentDef != null">current_def,</if>
|
||||
<if test="currentRes != null">current_res,</if>
|
||||
<if test="currentSpd != null">current_spd,</if>
|
||||
<if test="currentDurability != null">current_durability,</if>
|
||||
<if test="isEquipped != null">is_equipped,</if>
|
||||
<if test="equippedCharacterId != null">equipped_character_id,</if>
|
||||
<if test="createdAt != null">created_at,</if>
|
||||
<if test="updatedAt != null">updated_at,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="userId != null">#{userId},</if>
|
||||
<if test="equipmentId != null">#{equipmentId},</if>
|
||||
<if test="level != null">#{level},</if>
|
||||
<if test="experience != null">#{experience},</if>
|
||||
<if test="currentHp != null">#{currentHp},</if>
|
||||
<if test="currentAtk != null">#{currentAtk},</if>
|
||||
<if test="currentDef != null">#{currentDef},</if>
|
||||
<if test="currentRes != null">#{currentRes},</if>
|
||||
<if test="currentSpd != null">#{currentSpd},</if>
|
||||
<if test="currentDurability != null">#{currentDurability},</if>
|
||||
<if test="isEquipped != null">#{isEquipped},</if>
|
||||
<if test="equippedCharacterId != null">#{equippedCharacterId},</if>
|
||||
<if test="createdAt != null">#{createdAt},</if>
|
||||
<if test="updatedAt != null">#{updatedAt},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateFateUserEquipments" parameterType="FateUserEquipments">
|
||||
update fate_user_equipments
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="userId != null">user_id = #{userId},</if>
|
||||
<if test="equipmentId != null">equipment_id = #{equipmentId},</if>
|
||||
<if test="level != null">level = #{level},</if>
|
||||
<if test="experience != null">experience = #{experience},</if>
|
||||
<if test="currentHp != null">current_hp = #{currentHp},</if>
|
||||
<if test="currentAtk != null">current_atk = #{currentAtk},</if>
|
||||
<if test="currentDef != null">current_def = #{currentDef},</if>
|
||||
<if test="currentRes != null">current_res = #{currentRes},</if>
|
||||
<if test="currentSpd != null">current_spd = #{currentSpd},</if>
|
||||
<if test="currentDurability != null">current_durability = #{currentDurability},</if>
|
||||
<if test="isEquipped != null">is_equipped = #{isEquipped},</if>
|
||||
<if test="equippedCharacterId != null">equipped_character_id = #{equippedCharacterId},</if>
|
||||
<if test="createdAt != null">created_at = #{createdAt},</if>
|
||||
<if test="updatedAt != null">updated_at = #{updatedAt},</if>
|
||||
</trim>
|
||||
where user_equipment_id = #{userEquipmentId}
|
||||
</update>
|
||||
|
||||
<delete id="deleteFateUserEquipmentsByUserEquipmentId" parameterType="Long">
|
||||
delete from fate_user_equipments where user_equipment_id = #{userEquipmentId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteFateUserEquipmentsByUserEquipmentIds" parameterType="String">
|
||||
delete from fate_user_equipments where user_equipment_id in
|
||||
<foreach item="userEquipmentId" collection="array" open="(" separator="," close=")">
|
||||
#{userEquipmentId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user