“djh”
9 天以前 f84f28a824fde14acd2bd91cff054de44beafbb7
multi-system/src/main/resources/mapper/system/CompanyBasicMapper.xml
@@ -55,30 +55,31 @@
    <select id="selectCompanyBasicList" resultType="com.gkhy.exam.system.domain.CompanyBasic">
        SELECT
            `id`,
            `company_id`,
            `company_name`,
            `basic`,
            `introduce`,
            `target`,
            `quality`,
            `activity`,
            `audit`,
            `epiboly`,
            `resource`,
            `del_flag`,
            `create_by`,
            `create_time`,
            `update_by`,
            `update_time`
            cb.`id`,
            cb.`company_id`,
            sc.`name` as company_name,
            cb.`basic`,
            cb.`introduce`,
            cb.`target`,
            cb.`quality`,
            cb.`activity`,
            cb.`audit`,
            cb.`epiboly`,
            cb.`resource`,
            cb.`del_flag`,
            cb.`create_by`,
            cb.`create_time`,
            cb.`update_by`,
            cb.`update_time`
        FROM
            company_basic
            company_basic cb
        left join sys_company sc on cb.company_id = sc.id
        WHERE
            del_flag = 1
            cb.del_flag = 1
        <if test="companyId!=null and companyId != ''">
            and company_id = #{companyId}
            and cb.company_id = #{companyId}
        </if>
        ORDER BY
            create_time DESC
            cb.create_time DESC
    </select>
</mapper>