diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/TdLeave.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/TdLeave.java index a37ac0c..fc791df 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/TdLeave.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/TdLeave.java @@ -89,19 +89,19 @@ public class TdLeave extends BaseEntity this.id = id; } - public Long getId() - { - return id; + public String getUserId() { + return userId; } - public void setUserId(String userId) - { - this.userId = userId; + + public void setUserId(String userId) { + this.userId = userId; } - public String getUserId() + public Long getId() { - return userId; + return id; } + public void setCountry(String country) { this.country = country; diff --git a/ruoyi-system/src/main/resources/mapper/system/TdLeaveMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TdLeaveMapper.xml index 3f8fab3..514778b 100644 --- a/ruoyi-system/src/main/resources/mapper/system/TdLeaveMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/TdLeaveMapper.xml @@ -21,14 +21,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - select id, userName,userId, country, areaname, leavereason, depart, leavedate, workstate, leavestate, examinename, examinedate, examinestate from td_leave + select id, userId, userName, country, areaname, leavereason, depart, leavedate, workstate, leavestate, examinename, examinedate, examinestate from td_leave