yubo
2026-03-11 97816a0fa698c71e7c75033bd6ba5ad3172a17f2
febs-server/febs-server-hr/src/main/java/cc/mrbird/febs/server/hr/mapper/EmpAccessoryMapper.xml
@@ -13,9 +13,10 @@
FROM t_label label where label.delFlag = 0 order by label.sort)) as querySql
    </select>
    <select id="selectPageVo" resultType="java.util.Map">
        select a.delFlag,a.empName,a.empStatus,a.empId,a.empNumb,a.age,a.archivesStatus,a.sex,a.insuranceType,a.politics,a.education,a.entryDate,a.certificateNumb,
               (select dept_Name from t_dept as dept where dept.dept_Id= a.deptId) as deptName,a.jobName from t_emp_baseinfo a
        select a.delFlag,a.empName,a.empStatus,a.empId,a.certificateNumb,a.empNumb,
               (select allDeptName from t_dept as dept where dept.dept_Id= a.deptId) as deptName,a.jobName from t_emp_baseinfo a
              inner join t_dept c on a.deptId = c.DEPT_ID
              left join t_emp_accessory acc on acc.empId = a.empId
                ${ew.customSqlSegment}
    </select>