From b77dadeb98ee23206cbebcc25281093cb32fdc71 Mon Sep 17 00:00:00 2001
From: 20918 <2091823062@qq.com>
Date: Wed, 17 Apr 2024 11:20:34 +0800
Subject: [PATCH] userleave
---
.../java/com/ruoyi/system/domain/TdLeave.java | 16 ++++++++--------
.../resources/mapper/system/TdLeaveMapper.xml | 4 ++--
2 files changed, 10 insertions(+), 10 deletions(-)
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