INSERT INTO sys_company ( create_by, create_time, update_by, update_time, com_id, com_name, com_boss, com_business_scope, com_address, com_boss_tel, com_tel, com_web_url, com_email, com_introduction, com_register_time, com_bank_account, com_organization_code, com_type, com_register_capotal, com_age, com_create_time, com_register_code, com_logo, com_valid, com_functions, com_plats ) VALUES ( #{createBy}, now(), #{updateBy}, now(), #{comId}, #{comName}, #{comBoss}, #{comBusinessScope}, #{comAddress}, #{comBossTel}, #{comTel}, #{comWebUrl}, #{comEmail}, #{comIntroduction}, #{comRegisterTime}, #{comBankAccount}, #{comOrganizationCode}, #{comType}, #{comRegisterCapotal}, #{comAge}, #{comCreateTime}, #{comRegisterCode}, #{comLogo}, #{comValid}, #{comFunctions}, #{comPlats} ) INSERT INTO sys_company ( create_by, create_time, update_by, update_time, com_id, com_name, com_boss, com_business_scope, com_address, com_boss_tel, com_tel, com_web_url, com_email, com_introduction, com_register_time, com_bank_account, com_organization_code, com_type, com_register_capotal, com_age, com_create_time, com_register_code, com_logo, com_valid, com_functions, com_plats ) VALUES ( #{item.createBy}, now(), #{item.updateBy}, now(), #{item.comId}, #{item.comName}, #{item.comBoss}, #{item.comBusinessScope}, #{item.comAddress}, #{item.comBossTel}, #{item.comTel}, #{item.comWebUrl}, #{item.comEmail}, #{item.comIntroduction}, #{item.comRegisterTime}, #{item.comBankAccount}, #{item.comOrganizationCode}, #{item.comType}, #{item.comRegisterCapotal}, #{item.comAge}, #{item.comCreateTime}, #{item.comRegisterCode}, #{item.comLogo}, #{item.comValid}, #{item.comFunctions}, #{item.comPlats} ) UPDATE sys_company update_time=now(), update_by=#{updateBy}, com_name = #{comName}, com_boss = #{comBoss}, com_business_scope = #{comBusinessScope}, com_address = #{comAddress}, com_boss_tel = #{comBossTel}, com_tel = #{comTel}, com_web_url = #{comWebUrl}, com_email = #{comEmail}, com_introduction = #{comIntroduction}, com_register_time = #{comRegisterTime}, com_bank_account = #{comBankAccount}, com_organization_code = #{comOrganizationCode}, com_type = #{comType}, com_register_capotal = #{comRegisterCapotal}, com_age = #{comAge}, com_create_time = #{comCreateTime}, com_register_code = #{comRegisterCode}, com_logo = #{comLogo}, com_valid = #{comValid}, com_functions = #{comFunctions}, com_plats = #{comPlats}, com_code = #{comCode}, WHERE com_id=#{comId} UPDATE sys_company update_time=now(), update_by = #{btnKey}, com_name = #{comName}, com_boss = #{comBoss}, com_business_scope = #{comBusinessScope}, com_address = #{comAddress}, com_boss_tel = #{comBossTel}, com_tel = #{comTel}, com_web_url = #{comWebUrl}, com_email = #{comEmail}, com_introduction = #{comIntroduction}, com_register_time = #{comRegisterTime}, com_bank_account = #{comBankAccount}, com_organization_code = #{comOrganizationCode}, com_type = #{comType}, com_register_capotal = #{comRegisterCapotal}, com_age = #{comAge}, com_create_time = #{comCreateTime}, com_register_code = #{comRegisterCode}, com_logo = #{comLogo}, com_valid = #{comValid}, com_functions = #{comFunctions}, com_plats = #{comPlats}, WHERE com_id=#{comId} delete from sys_company where com_id in #{item} DELETE FROM sys_company where com_id=#{comId} DELETE FROM sys_company and com_id = #{record.comId} and com_name = #{record.comName} and com_boss = #{record.comBoss} and com_business_scope = #{record.comBusinessScope} and com_address = #{record.comAddress} and com_boss_tel = #{record.comBossTel} and com_tel = #{record.comTel} and com_web_url = #{record.comWebUrl} and com_email = #{record.comEmail} and com_introduction = #{record.comIntroduction} and com_register_time = #{record.comRegisterTime} and com_bank_account = #{record.comBankAccount} and com_organization_code = #{record.comOrganizationCode} and com_type = #{record.comType} and com_register_capotal = #{record.comRegisterCapotal} and com_age = #{record.comAge} and com_create_time = #{record.comCreateTime} and com_register_code = #{record.comRegisterCode} and com_logo = #{record.comLogo} and com_valid = #{record.comValid} and com_functions = #{record.comFunctions} and com_plats = #{record.comPlats}