“djh”
2026-02-06 88717f3e96fb853f3dbc3d6e6b3de0ba4ce1f3c5
multi-system/src/main/resources/mapper/system/InternalAuditCheckMapper.xml
@@ -13,7 +13,7 @@
            iac.`dept_id`,
            sd.dept_name,
            iac.`person_id`,
            es.`name` as person_name,
            IFNULL(GROUP_CONCAT(DISTINCT es.`name` SEPARATOR ','), '') AS person_name,
            iac.`check_time`,
            iac.`start_time`,
            iac.`end_time`,
@@ -26,12 +26,13 @@
        FROM
            `internal_audit_check` iac
                LEFT JOIN sys_dept sd ON iac.dept_id = sd.dept_id
                LEFT JOIN ex_student es on iac.person_id = es.id
                LEFT JOIN ex_student es ON FIND_IN_SET(es.`id`, iac.`person_id`)
        WHERE
            iac.del_flag = 0
        <if test="companyId!=null">
            and iac.company_id = #{companyId}
        </if>
        GROUP BY iac.`id`
        ORDER BY
            iac.create_time DESC
    </select>