社保台账人员信息快照

This commit is contained in:
Harryxzy 2024-10-11 10:17:35 +08:00
parent 752de1fa8e
commit 8d8fc5c15d
2 changed files with 22 additions and 12 deletions

View File

@ -284,7 +284,7 @@
<select id="exportExtExcelAccount" resultType="com.engine.salary.entity.siexport.po.ExcelAccountExportPO">
SELECT
a.*,a.department_name AS fixedDepartmentName,a.status AS fixedUserStatus,
a.*,
e.username AS userName,e.mobile AS telephone,d.departmentname AS departmentName,e.status AS userStatus,e.workcode AS workcode
FROM(
SELECT * from hrsa_excel_bill_detail
@ -296,7 +296,7 @@
</select>
<select id="exportExtExcelAccount" resultType="com.engine.salary.entity.siexport.po.ExcelAccountExportPO" databaseId="oracle">
SELECT
a.*,a.department_name AS fixedDepartmentName,a.status AS fixedUserStatus,
a.*,
e.username AS userName,e.mobile AS telephone,d.departmentname AS departmentName,e.status AS userStatus,e.workcode AS workcode
FROM(
SELECT * from hrsa_excel_bill_detail
@ -308,7 +308,7 @@
</select>
<select id="exportExtExcelAccount" resultType="com.engine.salary.entity.siexport.po.ExcelAccountExportPO" databaseId="sqlserver">
SELECT
a.*,a.department_name AS fixedDepartmentName,a.status AS fixedUserStatus,
a.*,
e.username AS userName,e.mobile AS telephone,d.departmentname AS departmentName,e.status AS userStatus,e.workcode AS workcode
FROM(
SELECT * from hrsa_excel_bill_detail

View File

@ -49,6 +49,16 @@
<result column="update_time" property="updateTime"/>
<result column="tenant_key" property="tenantKey"/>
<result column="payment_organization" property="paymentOrganization"/>
<result column="subcompany_name" property="subcompanyName"/>
<result column="subcompany_id" property="subcompanyId"/>
<result column="department_name" property="departmentName"/>
<result column="department_id" property="departmentId"/>
<result column="jobtitle_name" property="jobtitleName"/>
<result column="jobtitle_id" property="jobtitleId"/>
<result column="jobcall" property="jobcall"/>
<result column="jobcall_id" property="jobcallId"/>
<result column="status" property="status"/>
</resultMap>
<!-- 表字段 -->
@ -103,15 +113,15 @@
, t.update_time
, t.tenant_key
, t.payment_organization
, t.subcompany_name as subcompanyName
, t.subcompany_id as subcompanyId
, t.department_name as departmentName
, t.department_id as departmentId
, t.jobtitle_name as jobtitleName
, t.jobtitle_id as jobtitleId
, t.jobcall as jobcall
, t.jobcall_id as jobcallId
, t.status as status
, t.subcompany_name
, t.subcompany_id
, t.department_name
, t.department_id
, t.jobtitle_name
, t.jobtitle_id
, t.jobcall
, t.jobcall_id
, t.status
</sql>
<sql id="baseColumnsNoJoin">
t