“djh”
4 hours ago 2d9bf42ce507096c3b73a782da3ad16f29d2ccdc
multi-system/src/main/resources/mapper/system/InternalAuditPersonMapper.xml
@@ -6,6 +6,7 @@
        SELECT
            iap.`id`,
            iap.`company_id`,
            iap.`year`,
            sc.`name` as company_name,
            iap.`person_id`,
            es.`name` as person_name,
@@ -26,6 +27,9 @@
        <if test="companyId!=null and companyId!=''">
            and iap.company_id = #{companyId}
        </if>
        <if test="year !=null and year !=''">
            and iap.`year` = #{year}
        </if>
        ORDER BY iap.create_time ASC
    </select>
</mapper>