From 6be17495cd29ba8b28af35da7ba171cbc0d61c21 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期五, 12 六月 2026 14:18:49 +0800
Subject: [PATCH] 根据单个员工计算工资
---
src/main/resources/mapper/system/SysUserDeptMapper.xml | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/mapper/system/SysUserDeptMapper.xml b/src/main/resources/mapper/system/SysUserDeptMapper.xml
index 34d669f..1d6cf69 100644
--- a/src/main/resources/mapper/system/SysUserDeptMapper.xml
+++ b/src/main/resources/mapper/system/SysUserDeptMapper.xml
@@ -10,7 +10,8 @@
T1.staff_name as staffName,
T2.dept_id as deptId,
T2.dept_name as deptName,
- T1.staff_state as staffState
+ T1.staff_state as staffState,
+ T1.nation as nation
FROM
staff_on_job T1
LEFT JOIN sys_dept T2 ON T1.sys_dept_id = T2.dept_id
@@ -41,4 +42,4 @@
</if>
</where>
</select>
-</mapper>
\ No newline at end of file
+</mapper>
--
Gitblit v1.9.3