Commit a7633065 authored by hongguangwu's avatar hongguangwu

离职库DISTINCT

parent d20ec582
...@@ -544,8 +544,8 @@ ...@@ -544,8 +544,8 @@
<select id="getTEmployeeLeaveExportList" resultMap="tEmployeeExportMap"> <select id="getTEmployeeLeaveExportList" resultMap="tEmployeeExportMap">
SELECT SELECT
<include refid="Base_Export_List"/> <include refid="Base_Export_List"/>
,GROUP_CONCAT(b.unit_name) UNIT_NAME ,GROUP_CONCAT(DISTINCT b.unit_name) UNIT_NAME
,GROUP_CONCAT(b.unit_no) UNIT_NO ,GROUP_CONCAT(DISTINCT b.unit_no) UNIT_NO
,a.LEAVE_TIME ,a.LEAVE_TIME
,a.LEAVE_USER ,a.LEAVE_USER
,a.LEAVE_REASON ,a.LEAVE_REASON
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment