diff --git a/ruoyi-bussiness/src/main/resources/mapper/app/CompanyMapper.xml b/ruoyi-bussiness/src/main/resources/mapper/app/CompanyMapper.xml index 2a28ea3..89f9e11 100644 --- a/ruoyi-bussiness/src/main/resources/mapper/app/CompanyMapper.xml +++ b/ruoyi-bussiness/src/main/resources/mapper/app/CompanyMapper.xml @@ -37,22 +37,25 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + + - select company_id, name, location, industry, scale, del_flag, create_by, create_time, update_by, update_time, remark,code,description,nature,total_recruitment,registered_address,contact_person,contact_person_phone,is_abnormal,not_pass_reason,status,case when status='2' then update_time else null end reject_time,is_imp_company,imp_company_type,enterprise_type,legal_person,legal_id_card,legal_phone from company + select company_id, name, location, industry, scale, del_flag, create_by, create_time, update_by, update_time, remark,code,description,nature,total_recruitment,registered_address,contact_person,contact_person_phone,is_abnormal,not_pass_reason,status,case when status='2' then update_time else null end reject_time,is_imp_company,imp_company_type,enterprise_type,legal_person,legal_id_card,legal_phone,region_code,region_name from company INSERT INTO company ( name, location, industry, scale, code, description, nature, - create_by, create_time, del_flag + create_by, create_time, del_flag,region_name,region_code ) VALUES ( #{company.name}, #{company.location}, #{company.industry}, #{company.scale}, #{company.code}, #{company.description}, #{company.nature}, - #{company.createBy}, #{company.createTime}, #{company.delFlag} + #{company.createBy}, #{company.createTime}, #{company.delFlag},#{company.regionName}, + #{company.regionCode} ) @@ -76,6 +79,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and code = #{code} and status = #{status} and company_id = #{companyId} + and region_code = #{regionCode}