<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.tanpu.fund.mapper.generator.FundCompanyInfoMapper"> <resultMap id="BaseResultMap" type="com.tanpu.fund.entity.generator.FundCompanyInfo"> <!--@mbg.generated--> <!--@Table fund_company_info--> <id column="company_id" jdbcType="VARCHAR" property="companyId" /> <result column="p_company_i" jdbcType="VARCHAR" property="pCompanyI" /> <result column="company_name" jdbcType="VARCHAR" property="companyName" /> <result column="company_sho" jdbcType="VARCHAR" property="companySho" /> <result column="company_eng" jdbcType="VARCHAR" property="companyEng" /> <result column="company_typ" jdbcType="INTEGER" property="companyTyp" /> <result column="establish_d" jdbcType="DATE" property="establishD" /> <result column="organizatio" jdbcType="VARCHAR" property="organizatio" /> <result column="credit_code" jdbcType="VARCHAR" property="creditCode" /> <result column="has_consult" jdbcType="INTEGER" property="hasConsult" /> <result column="domicile_id" jdbcType="INTEGER" property="domicileId" /> <result column="company_add" jdbcType="VARCHAR" property="companyAdd" /> <result column="company_add1" jdbcType="VARCHAR" property="companyAdd1" /> <result column="city" jdbcType="VARCHAR" property="city" /> <result column="province" jdbcType="VARCHAR" property="province" /> <result column="country" jdbcType="VARCHAR" property="country" /> <result column="reg_city" jdbcType="VARCHAR" property="regCity" /> <result column="reg_provinc" jdbcType="VARCHAR" property="regProvinc" /> <result column="reg_country" jdbcType="VARCHAR" property="regCountry" /> <result column="contact_pho" jdbcType="VARCHAR" property="contactPho" /> <result column="post_code" jdbcType="VARCHAR" property="postCode" /> <result column="fax" jdbcType="VARCHAR" property="fax" /> <result column="email" jdbcType="VARCHAR" property="email" /> <result column="website" jdbcType="VARCHAR" property="website" /> <result column="registered_" jdbcType="DOUBLE" property="registered" /> <result column="offshore_fu" jdbcType="INTEGER" property="offshoreFu" /> <result column="company_sta" jdbcType="INTEGER" property="companySta" /> <result column="base_curren" jdbcType="INTEGER" property="baseCurren" /> <result column="register_nu" jdbcType="VARCHAR" property="registerNu" /> <result column="register_st" jdbcType="INTEGER" property="registerSt" /> <result column="register_da" jdbcType="DATE" property="registerDa" /> <result column="is_member" jdbcType="INTEGER" property="isMember" /> <result column="join_date" jdbcType="DATE" property="joinDate" /> <result column="member_type" jdbcType="INTEGER" property="memberType" /> <result column="fund_catego" jdbcType="VARCHAR" property="fundCatego" /> <result column="business_ty" jdbcType="VARCHAR" property="businessTy" /> <result column="nature_busi" jdbcType="INTEGER" property="natureBusi" /> <result column="capital_pai" jdbcType="DOUBLE" property="capitalPai" /> <result column="register_nu1" jdbcType="VARCHAR" property="registerNu1" /> <result column="logo" jdbcType="VARCHAR" property="logo" /> <result column="isvisible" jdbcType="INTEGER" property="isvisible" /> <result column="isvalid" jdbcType="INTEGER" property="isvalid" /> <result column="updatetime" jdbcType="DATE" property="updatetime" /> <result column="paid_capita" jdbcType="DOUBLE" property="paidCapita" /> <result column="company_ass" jdbcType="INTEGER" property="companyAss" /> <result column="fundscale" jdbcType="DOUBLE" property="fundscale" /> <result column="legal_repre" jdbcType="VARCHAR" property="legalRepre" /> <result column="is_qualify" jdbcType="VARCHAR" property="isQualify" /> <result column="get_qualify" jdbcType="VARCHAR" property="getQualify" /> <result column="employee_cn" jdbcType="INTEGER" property="employeeCn" /> <result column="integrity_i" jdbcType="VARCHAR" property="integrityI" /> <result column="special_tip" jdbcType="VARCHAR" property="specialTip" /> <result column="amac_link" jdbcType="VARCHAR" property="amacLink" /> <result column="createtime" jdbcType="DATE" property="createtime" /> <result column="legal_opini" jdbcType="VARCHAR" property="legalOpini" /> </resultMap> <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.tanpu.fund.entity.generator.FundCompanyInfo"> <!--@mbg.generated--> <!--@Table fund_company_info--> <result column="company_pro" jdbcType="LONGVARCHAR" property="companyPro" /> <result column="philosopy" jdbcType="LONGVARCHAR" property="philosopy" /> <result column="representat" jdbcType="LONGVARCHAR" property="representat" /> </resultMap> <sql id="Example_Where_Clause"> <!--@mbg.generated--> <where> <foreach collection="oredCriteria" item="criteria" separator="or"> <if test="criteria.valid"> <trim prefix="(" prefixOverrides="and" suffix=")"> <foreach collection="criteria.criteria" item="criterion"> <choose> <when test="criterion.noValue"> and ${criterion.condition} </when> <when test="criterion.singleValue"> and ${criterion.condition} #{criterion.value} </when> <when test="criterion.betweenValue"> and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} </when> <when test="criterion.listValue"> and ${criterion.condition} <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> #{listItem} </foreach> </when> </choose> </foreach> </trim> </if> </foreach> </where> </sql> <sql id="Update_By_Example_Where_Clause"> <!--@mbg.generated--> <where> <foreach collection="example.oredCriteria" item="criteria" separator="or"> <if test="criteria.valid"> <trim prefix="(" prefixOverrides="and" suffix=")"> <foreach collection="criteria.criteria" item="criterion"> <choose> <when test="criterion.noValue"> and ${criterion.condition} </when> <when test="criterion.singleValue"> and ${criterion.condition} #{criterion.value} </when> <when test="criterion.betweenValue"> and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} </when> <when test="criterion.listValue"> and ${criterion.condition} <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> #{listItem} </foreach> </when> </choose> </foreach> </trim> </if> </foreach> </where> </sql> <sql id="Base_Column_List"> <!--@mbg.generated--> company_id, p_company_i, company_name, company_sho, company_eng, company_typ, establish_d, organizatio, credit_code, has_consult, domicile_id, company_add, company_add1, city, province, country, reg_city, reg_provinc, reg_country, contact_pho, post_code, fax, email, website, registered_, offshore_fu, company_sta, base_curren, register_nu, register_st, register_da, is_member, join_date, member_type, fund_catego, business_ty, nature_busi, capital_pai, register_nu1, logo, isvisible, isvalid, updatetime, paid_capita, company_ass, fundscale, legal_repre, is_qualify, get_qualify, employee_cn, integrity_i, special_tip, amac_link, createtime, legal_opini </sql> <sql id="Blob_Column_List"> <!--@mbg.generated--> company_pro, philosopy, representat </sql> <select id="selectByExampleWithBLOBs" parameterType="com.tanpu.fund.entity.generator.FundCompanyInfoExample" resultMap="ResultMapWithBLOBs"> <!--@mbg.generated--> select <if test="distinct"> distinct </if> <include refid="Base_Column_List" /> , <include refid="Blob_Column_List" /> from fund_company_info <if test="_parameter != null"> <include refid="Example_Where_Clause" /> </if> <if test="orderByClause != null"> order by ${orderByClause} </if> </select> <select id="selectByExample" parameterType="com.tanpu.fund.entity.generator.FundCompanyInfoExample" resultMap="BaseResultMap"> <!--@mbg.generated--> select <if test="distinct"> distinct </if> <include refid="Base_Column_List" /> from fund_company_info <if test="_parameter != null"> <include refid="Example_Where_Clause" /> </if> <if test="orderByClause != null"> order by ${orderByClause} </if> </select> <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs"> <!--@mbg.generated--> select <include refid="Base_Column_List" /> , <include refid="Blob_Column_List" /> from fund_company_info where company_id = #{companyId,jdbcType=VARCHAR} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> <!--@mbg.generated--> delete from fund_company_info where company_id = #{companyId,jdbcType=VARCHAR} </delete> <delete id="deleteByExample" parameterType="com.tanpu.fund.entity.generator.FundCompanyInfoExample"> <!--@mbg.generated--> delete from fund_company_info <if test="_parameter != null"> <include refid="Example_Where_Clause" /> </if> </delete> <insert id="insert" parameterType="com.tanpu.fund.entity.generator.FundCompanyInfo"> <!--@mbg.generated--> insert into fund_company_info (company_id, p_company_i, company_name, company_sho, company_eng, company_typ, establish_d, organizatio, credit_code, has_consult, domicile_id, company_add, company_add1, city, province, country, reg_city, reg_provinc, reg_country, contact_pho, post_code, fax, email, website, registered_, offshore_fu, company_sta, base_curren, register_nu, register_st, register_da, is_member, join_date, member_type, fund_catego, business_ty, nature_busi, capital_pai, register_nu1, logo, isvisible, isvalid, updatetime, paid_capita, company_ass, fundscale, legal_repre, is_qualify, get_qualify, employee_cn, integrity_i, special_tip, amac_link, createtime, legal_opini, company_pro, philosopy, representat) values (#{companyId,jdbcType=VARCHAR}, #{pCompanyI,jdbcType=VARCHAR}, #{companyName,jdbcType=VARCHAR}, #{companySho,jdbcType=VARCHAR}, #{companyEng,jdbcType=VARCHAR}, #{companyTyp,jdbcType=INTEGER}, #{establishD,jdbcType=DATE}, #{organizatio,jdbcType=VARCHAR}, #{creditCode,jdbcType=VARCHAR}, #{hasConsult,jdbcType=INTEGER}, #{domicileId,jdbcType=INTEGER}, #{companyAdd,jdbcType=VARCHAR}, #{companyAdd1,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, #{country,jdbcType=VARCHAR}, #{regCity,jdbcType=VARCHAR}, #{regProvinc,jdbcType=VARCHAR}, #{regCountry,jdbcType=VARCHAR}, #{contactPho,jdbcType=VARCHAR}, #{postCode,jdbcType=VARCHAR}, #{fax,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{website,jdbcType=VARCHAR}, #{registered,jdbcType=DOUBLE}, #{offshoreFu,jdbcType=INTEGER}, #{companySta,jdbcType=INTEGER}, #{baseCurren,jdbcType=INTEGER}, #{registerNu,jdbcType=VARCHAR}, #{registerSt,jdbcType=INTEGER}, #{registerDa,jdbcType=DATE}, #{isMember,jdbcType=INTEGER}, #{joinDate,jdbcType=DATE}, #{memberType,jdbcType=INTEGER}, #{fundCatego,jdbcType=VARCHAR}, #{businessTy,jdbcType=VARCHAR}, #{natureBusi,jdbcType=INTEGER}, #{capitalPai,jdbcType=DOUBLE}, #{registerNu1,jdbcType=VARCHAR}, #{logo,jdbcType=VARCHAR}, #{isvisible,jdbcType=INTEGER}, #{isvalid,jdbcType=INTEGER}, #{updatetime,jdbcType=DATE}, #{paidCapita,jdbcType=DOUBLE}, #{companyAss,jdbcType=INTEGER}, #{fundscale,jdbcType=DOUBLE}, #{legalRepre,jdbcType=VARCHAR}, #{isQualify,jdbcType=VARCHAR}, #{getQualify,jdbcType=VARCHAR}, #{employeeCn,jdbcType=INTEGER}, #{integrityI,jdbcType=VARCHAR}, #{specialTip,jdbcType=VARCHAR}, #{amacLink,jdbcType=VARCHAR}, #{createtime,jdbcType=DATE}, #{legalOpini,jdbcType=VARCHAR}, #{companyPro,jdbcType=LONGVARCHAR}, #{philosopy,jdbcType=LONGVARCHAR}, #{representat,jdbcType=LONGVARCHAR}) </insert> <insert id="insertSelective" parameterType="com.tanpu.fund.entity.generator.FundCompanyInfo"> <!--@mbg.generated--> insert into fund_company_info <trim prefix="(" suffix=")" suffixOverrides=","> <if test="companyId != null"> company_id, </if> <if test="pCompanyI != null"> p_company_i, </if> <if test="companyName != null"> company_name, </if> <if test="companySho != null"> company_sho, </if> <if test="companyEng != null"> company_eng, </if> <if test="companyTyp != null"> company_typ, </if> <if test="establishD != null"> establish_d, </if> <if test="organizatio != null"> organizatio, </if> <if test="creditCode != null"> credit_code, </if> <if test="hasConsult != null"> has_consult, </if> <if test="domicileId != null"> domicile_id, </if> <if test="companyAdd != null"> company_add, </if> <if test="companyAdd1 != null"> company_add1, </if> <if test="city != null"> city, </if> <if test="province != null"> province, </if> <if test="country != null"> country, </if> <if test="regCity != null"> reg_city, </if> <if test="regProvinc != null"> reg_provinc, </if> <if test="regCountry != null"> reg_country, </if> <if test="contactPho != null"> contact_pho, </if> <if test="postCode != null"> post_code, </if> <if test="fax != null"> fax, </if> <if test="email != null"> email, </if> <if test="website != null"> website, </if> <if test="registered != null"> registered_, </if> <if test="offshoreFu != null"> offshore_fu, </if> <if test="companySta != null"> company_sta, </if> <if test="baseCurren != null"> base_curren, </if> <if test="registerNu != null"> register_nu, </if> <if test="registerSt != null"> register_st, </if> <if test="registerDa != null"> register_da, </if> <if test="isMember != null"> is_member, </if> <if test="joinDate != null"> join_date, </if> <if test="memberType != null"> member_type, </if> <if test="fundCatego != null"> fund_catego, </if> <if test="businessTy != null"> business_ty, </if> <if test="natureBusi != null"> nature_busi, </if> <if test="capitalPai != null"> capital_pai, </if> <if test="registerNu1 != null"> register_nu1, </if> <if test="logo != null"> logo, </if> <if test="isvisible != null"> isvisible, </if> <if test="isvalid != null"> isvalid, </if> <if test="updatetime != null"> updatetime, </if> <if test="paidCapita != null"> paid_capita, </if> <if test="companyAss != null"> company_ass, </if> <if test="fundscale != null"> fundscale, </if> <if test="legalRepre != null"> legal_repre, </if> <if test="isQualify != null"> is_qualify, </if> <if test="getQualify != null"> get_qualify, </if> <if test="employeeCn != null"> employee_cn, </if> <if test="integrityI != null"> integrity_i, </if> <if test="specialTip != null"> special_tip, </if> <if test="amacLink != null"> amac_link, </if> <if test="createtime != null"> createtime, </if> <if test="legalOpini != null"> legal_opini, </if> <if test="companyPro != null"> company_pro, </if> <if test="philosopy != null"> philosopy, </if> <if test="representat != null"> representat, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="companyId != null"> #{companyId,jdbcType=VARCHAR}, </if> <if test="pCompanyI != null"> #{pCompanyI,jdbcType=VARCHAR}, </if> <if test="companyName != null"> #{companyName,jdbcType=VARCHAR}, </if> <if test="companySho != null"> #{companySho,jdbcType=VARCHAR}, </if> <if test="companyEng != null"> #{companyEng,jdbcType=VARCHAR}, </if> <if test="companyTyp != null"> #{companyTyp,jdbcType=INTEGER}, </if> <if test="establishD != null"> #{establishD,jdbcType=DATE}, </if> <if test="organizatio != null"> #{organizatio,jdbcType=VARCHAR}, </if> <if test="creditCode != null"> #{creditCode,jdbcType=VARCHAR}, </if> <if test="hasConsult != null"> #{hasConsult,jdbcType=INTEGER}, </if> <if test="domicileId != null"> #{domicileId,jdbcType=INTEGER}, </if> <if test="companyAdd != null"> #{companyAdd,jdbcType=VARCHAR}, </if> <if test="companyAdd1 != null"> #{companyAdd1,jdbcType=VARCHAR}, </if> <if test="city != null"> #{city,jdbcType=VARCHAR}, </if> <if test="province != null"> #{province,jdbcType=VARCHAR}, </if> <if test="country != null"> #{country,jdbcType=VARCHAR}, </if> <if test="regCity != null"> #{regCity,jdbcType=VARCHAR}, </if> <if test="regProvinc != null"> #{regProvinc,jdbcType=VARCHAR}, </if> <if test="regCountry != null"> #{regCountry,jdbcType=VARCHAR}, </if> <if test="contactPho != null"> #{contactPho,jdbcType=VARCHAR}, </if> <if test="postCode != null"> #{postCode,jdbcType=VARCHAR}, </if> <if test="fax != null"> #{fax,jdbcType=VARCHAR}, </if> <if test="email != null"> #{email,jdbcType=VARCHAR}, </if> <if test="website != null"> #{website,jdbcType=VARCHAR}, </if> <if test="registered != null"> #{registered,jdbcType=DOUBLE}, </if> <if test="offshoreFu != null"> #{offshoreFu,jdbcType=INTEGER}, </if> <if test="companySta != null"> #{companySta,jdbcType=INTEGER}, </if> <if test="baseCurren != null"> #{baseCurren,jdbcType=INTEGER}, </if> <if test="registerNu != null"> #{registerNu,jdbcType=VARCHAR}, </if> <if test="registerSt != null"> #{registerSt,jdbcType=INTEGER}, </if> <if test="registerDa != null"> #{registerDa,jdbcType=DATE}, </if> <if test="isMember != null"> #{isMember,jdbcType=INTEGER}, </if> <if test="joinDate != null"> #{joinDate,jdbcType=DATE}, </if> <if test="memberType != null"> #{memberType,jdbcType=INTEGER}, </if> <if test="fundCatego != null"> #{fundCatego,jdbcType=VARCHAR}, </if> <if test="businessTy != null"> #{businessTy,jdbcType=VARCHAR}, </if> <if test="natureBusi != null"> #{natureBusi,jdbcType=INTEGER}, </if> <if test="capitalPai != null"> #{capitalPai,jdbcType=DOUBLE}, </if> <if test="registerNu1 != null"> #{registerNu1,jdbcType=VARCHAR}, </if> <if test="logo != null"> #{logo,jdbcType=VARCHAR}, </if> <if test="isvisible != null"> #{isvisible,jdbcType=INTEGER}, </if> <if test="isvalid != null"> #{isvalid,jdbcType=INTEGER}, </if> <if test="updatetime != null"> #{updatetime,jdbcType=DATE}, </if> <if test="paidCapita != null"> #{paidCapita,jdbcType=DOUBLE}, </if> <if test="companyAss != null"> #{companyAss,jdbcType=INTEGER}, </if> <if test="fundscale != null"> #{fundscale,jdbcType=DOUBLE}, </if> <if test="legalRepre != null"> #{legalRepre,jdbcType=VARCHAR}, </if> <if test="isQualify != null"> #{isQualify,jdbcType=VARCHAR}, </if> <if test="getQualify != null"> #{getQualify,jdbcType=VARCHAR}, </if> <if test="employeeCn != null"> #{employeeCn,jdbcType=INTEGER}, </if> <if test="integrityI != null"> #{integrityI,jdbcType=VARCHAR}, </if> <if test="specialTip != null"> #{specialTip,jdbcType=VARCHAR}, </if> <if test="amacLink != null"> #{amacLink,jdbcType=VARCHAR}, </if> <if test="createtime != null"> #{createtime,jdbcType=DATE}, </if> <if test="legalOpini != null"> #{legalOpini,jdbcType=VARCHAR}, </if> <if test="companyPro != null"> #{companyPro,jdbcType=LONGVARCHAR}, </if> <if test="philosopy != null"> #{philosopy,jdbcType=LONGVARCHAR}, </if> <if test="representat != null"> #{representat,jdbcType=LONGVARCHAR}, </if> </trim> </insert> <select id="countByExample" parameterType="com.tanpu.fund.entity.generator.FundCompanyInfoExample" resultType="java.lang.Long"> <!--@mbg.generated--> select count(*) from fund_company_info <if test="_parameter != null"> <include refid="Example_Where_Clause" /> </if> </select> <update id="updateByExampleSelective" parameterType="map"> <!--@mbg.generated--> update fund_company_info <set> <if test="record.companyId != null"> company_id = #{record.companyId,jdbcType=VARCHAR}, </if> <if test="record.pCompanyI != null"> p_company_i = #{record.pCompanyI,jdbcType=VARCHAR}, </if> <if test="record.companyName != null"> company_name = #{record.companyName,jdbcType=VARCHAR}, </if> <if test="record.companySho != null"> company_sho = #{record.companySho,jdbcType=VARCHAR}, </if> <if test="record.companyEng != null"> company_eng = #{record.companyEng,jdbcType=VARCHAR}, </if> <if test="record.companyTyp != null"> company_typ = #{record.companyTyp,jdbcType=INTEGER}, </if> <if test="record.establishD != null"> establish_d = #{record.establishD,jdbcType=DATE}, </if> <if test="record.organizatio != null"> organizatio = #{record.organizatio,jdbcType=VARCHAR}, </if> <if test="record.creditCode != null"> credit_code = #{record.creditCode,jdbcType=VARCHAR}, </if> <if test="record.hasConsult != null"> has_consult = #{record.hasConsult,jdbcType=INTEGER}, </if> <if test="record.domicileId != null"> domicile_id = #{record.domicileId,jdbcType=INTEGER}, </if> <if test="record.companyAdd != null"> company_add = #{record.companyAdd,jdbcType=VARCHAR}, </if> <if test="record.companyAdd1 != null"> company_add1 = #{record.companyAdd1,jdbcType=VARCHAR}, </if> <if test="record.city != null"> city = #{record.city,jdbcType=VARCHAR}, </if> <if test="record.province != null"> province = #{record.province,jdbcType=VARCHAR}, </if> <if test="record.country != null"> country = #{record.country,jdbcType=VARCHAR}, </if> <if test="record.regCity != null"> reg_city = #{record.regCity,jdbcType=VARCHAR}, </if> <if test="record.regProvinc != null"> reg_provinc = #{record.regProvinc,jdbcType=VARCHAR}, </if> <if test="record.regCountry != null"> reg_country = #{record.regCountry,jdbcType=VARCHAR}, </if> <if test="record.contactPho != null"> contact_pho = #{record.contactPho,jdbcType=VARCHAR}, </if> <if test="record.postCode != null"> post_code = #{record.postCode,jdbcType=VARCHAR}, </if> <if test="record.fax != null"> fax = #{record.fax,jdbcType=VARCHAR}, </if> <if test="record.email != null"> email = #{record.email,jdbcType=VARCHAR}, </if> <if test="record.website != null"> website = #{record.website,jdbcType=VARCHAR}, </if> <if test="record.registered != null"> registered_ = #{record.registered,jdbcType=DOUBLE}, </if> <if test="record.offshoreFu != null"> offshore_fu = #{record.offshoreFu,jdbcType=INTEGER}, </if> <if test="record.companySta != null"> company_sta = #{record.companySta,jdbcType=INTEGER}, </if> <if test="record.baseCurren != null"> base_curren = #{record.baseCurren,jdbcType=INTEGER}, </if> <if test="record.registerNu != null"> register_nu = #{record.registerNu,jdbcType=VARCHAR}, </if> <if test="record.registerSt != null"> register_st = #{record.registerSt,jdbcType=INTEGER}, </if> <if test="record.registerDa != null"> register_da = #{record.registerDa,jdbcType=DATE}, </if> <if test="record.isMember != null"> is_member = #{record.isMember,jdbcType=INTEGER}, </if> <if test="record.joinDate != null"> join_date = #{record.joinDate,jdbcType=DATE}, </if> <if test="record.memberType != null"> member_type = #{record.memberType,jdbcType=INTEGER}, </if> <if test="record.fundCatego != null"> fund_catego = #{record.fundCatego,jdbcType=VARCHAR}, </if> <if test="record.businessTy != null"> business_ty = #{record.businessTy,jdbcType=VARCHAR}, </if> <if test="record.natureBusi != null"> nature_busi = #{record.natureBusi,jdbcType=INTEGER}, </if> <if test="record.capitalPai != null"> capital_pai = #{record.capitalPai,jdbcType=DOUBLE}, </if> <if test="record.registerNu1 != null"> register_nu1 = #{record.registerNu1,jdbcType=VARCHAR}, </if> <if test="record.logo != null"> logo = #{record.logo,jdbcType=VARCHAR}, </if> <if test="record.isvisible != null"> isvisible = #{record.isvisible,jdbcType=INTEGER}, </if> <if test="record.isvalid != null"> isvalid = #{record.isvalid,jdbcType=INTEGER}, </if> <if test="record.updatetime != null"> updatetime = #{record.updatetime,jdbcType=DATE}, </if> <if test="record.paidCapita != null"> paid_capita = #{record.paidCapita,jdbcType=DOUBLE}, </if> <if test="record.companyAss != null"> company_ass = #{record.companyAss,jdbcType=INTEGER}, </if> <if test="record.fundscale != null"> fundscale = #{record.fundscale,jdbcType=DOUBLE}, </if> <if test="record.legalRepre != null"> legal_repre = #{record.legalRepre,jdbcType=VARCHAR}, </if> <if test="record.isQualify != null"> is_qualify = #{record.isQualify,jdbcType=VARCHAR}, </if> <if test="record.getQualify != null"> get_qualify = #{record.getQualify,jdbcType=VARCHAR}, </if> <if test="record.employeeCn != null"> employee_cn = #{record.employeeCn,jdbcType=INTEGER}, </if> <if test="record.integrityI != null"> integrity_i = #{record.integrityI,jdbcType=VARCHAR}, </if> <if test="record.specialTip != null"> special_tip = #{record.specialTip,jdbcType=VARCHAR}, </if> <if test="record.amacLink != null"> amac_link = #{record.amacLink,jdbcType=VARCHAR}, </if> <if test="record.createtime != null"> createtime = #{record.createtime,jdbcType=DATE}, </if> <if test="record.legalOpini != null"> legal_opini = #{record.legalOpini,jdbcType=VARCHAR}, </if> <if test="record.companyPro != null"> company_pro = #{record.companyPro,jdbcType=LONGVARCHAR}, </if> <if test="record.philosopy != null"> philosopy = #{record.philosopy,jdbcType=LONGVARCHAR}, </if> <if test="record.representat != null"> representat = #{record.representat,jdbcType=LONGVARCHAR}, </if> </set> <if test="_parameter != null"> <include refid="Update_By_Example_Where_Clause" /> </if> </update> <update id="updateByExampleWithBLOBs" parameterType="map"> <!--@mbg.generated--> update fund_company_info set company_id = #{record.companyId,jdbcType=VARCHAR}, p_company_i = #{record.pCompanyI,jdbcType=VARCHAR}, company_name = #{record.companyName,jdbcType=VARCHAR}, company_sho = #{record.companySho,jdbcType=VARCHAR}, company_eng = #{record.companyEng,jdbcType=VARCHAR}, company_typ = #{record.companyTyp,jdbcType=INTEGER}, establish_d = #{record.establishD,jdbcType=DATE}, organizatio = #{record.organizatio,jdbcType=VARCHAR}, credit_code = #{record.creditCode,jdbcType=VARCHAR}, has_consult = #{record.hasConsult,jdbcType=INTEGER}, domicile_id = #{record.domicileId,jdbcType=INTEGER}, company_add = #{record.companyAdd,jdbcType=VARCHAR}, company_add1 = #{record.companyAdd1,jdbcType=VARCHAR}, city = #{record.city,jdbcType=VARCHAR}, province = #{record.province,jdbcType=VARCHAR}, country = #{record.country,jdbcType=VARCHAR}, reg_city = #{record.regCity,jdbcType=VARCHAR}, reg_provinc = #{record.regProvinc,jdbcType=VARCHAR}, reg_country = #{record.regCountry,jdbcType=VARCHAR}, contact_pho = #{record.contactPho,jdbcType=VARCHAR}, post_code = #{record.postCode,jdbcType=VARCHAR}, fax = #{record.fax,jdbcType=VARCHAR}, email = #{record.email,jdbcType=VARCHAR}, website = #{record.website,jdbcType=VARCHAR}, registered_ = #{record.registered,jdbcType=DOUBLE}, offshore_fu = #{record.offshoreFu,jdbcType=INTEGER}, company_sta = #{record.companySta,jdbcType=INTEGER}, base_curren = #{record.baseCurren,jdbcType=INTEGER}, register_nu = #{record.registerNu,jdbcType=VARCHAR}, register_st = #{record.registerSt,jdbcType=INTEGER}, register_da = #{record.registerDa,jdbcType=DATE}, is_member = #{record.isMember,jdbcType=INTEGER}, join_date = #{record.joinDate,jdbcType=DATE}, member_type = #{record.memberType,jdbcType=INTEGER}, fund_catego = #{record.fundCatego,jdbcType=VARCHAR}, business_ty = #{record.businessTy,jdbcType=VARCHAR}, nature_busi = #{record.natureBusi,jdbcType=INTEGER}, capital_pai = #{record.capitalPai,jdbcType=DOUBLE}, register_nu1 = #{record.registerNu1,jdbcType=VARCHAR}, logo = #{record.logo,jdbcType=VARCHAR}, isvisible = #{record.isvisible,jdbcType=INTEGER}, isvalid = #{record.isvalid,jdbcType=INTEGER}, updatetime = #{record.updatetime,jdbcType=DATE}, paid_capita = #{record.paidCapita,jdbcType=DOUBLE}, company_ass = #{record.companyAss,jdbcType=INTEGER}, fundscale = #{record.fundscale,jdbcType=DOUBLE}, legal_repre = #{record.legalRepre,jdbcType=VARCHAR}, is_qualify = #{record.isQualify,jdbcType=VARCHAR}, get_qualify = #{record.getQualify,jdbcType=VARCHAR}, employee_cn = #{record.employeeCn,jdbcType=INTEGER}, integrity_i = #{record.integrityI,jdbcType=VARCHAR}, special_tip = #{record.specialTip,jdbcType=VARCHAR}, amac_link = #{record.amacLink,jdbcType=VARCHAR}, createtime = #{record.createtime,jdbcType=DATE}, legal_opini = #{record.legalOpini,jdbcType=VARCHAR}, company_pro = #{record.companyPro,jdbcType=LONGVARCHAR}, philosopy = #{record.philosopy,jdbcType=LONGVARCHAR}, representat = #{record.representat,jdbcType=LONGVARCHAR} <if test="_parameter != null"> <include refid="Update_By_Example_Where_Clause" /> </if> </update> <update id="updateByExample" parameterType="map"> <!--@mbg.generated--> update fund_company_info set company_id = #{record.companyId,jdbcType=VARCHAR}, p_company_i = #{record.pCompanyI,jdbcType=VARCHAR}, company_name = #{record.companyName,jdbcType=VARCHAR}, company_sho = #{record.companySho,jdbcType=VARCHAR}, company_eng = #{record.companyEng,jdbcType=VARCHAR}, company_typ = #{record.companyTyp,jdbcType=INTEGER}, establish_d = #{record.establishD,jdbcType=DATE}, organizatio = #{record.organizatio,jdbcType=VARCHAR}, credit_code = #{record.creditCode,jdbcType=VARCHAR}, has_consult = #{record.hasConsult,jdbcType=INTEGER}, domicile_id = #{record.domicileId,jdbcType=INTEGER}, company_add = #{record.companyAdd,jdbcType=VARCHAR}, company_add1 = #{record.companyAdd1,jdbcType=VARCHAR}, city = #{record.city,jdbcType=VARCHAR}, province = #{record.province,jdbcType=VARCHAR}, country = #{record.country,jdbcType=VARCHAR}, reg_city = #{record.regCity,jdbcType=VARCHAR}, reg_provinc = #{record.regProvinc,jdbcType=VARCHAR}, reg_country = #{record.regCountry,jdbcType=VARCHAR}, contact_pho = #{record.contactPho,jdbcType=VARCHAR}, post_code = #{record.postCode,jdbcType=VARCHAR}, fax = #{record.fax,jdbcType=VARCHAR}, email = #{record.email,jdbcType=VARCHAR}, website = #{record.website,jdbcType=VARCHAR}, registered_ = #{record.registered,jdbcType=DOUBLE}, offshore_fu = #{record.offshoreFu,jdbcType=INTEGER}, company_sta = #{record.companySta,jdbcType=INTEGER}, base_curren = #{record.baseCurren,jdbcType=INTEGER}, register_nu = #{record.registerNu,jdbcType=VARCHAR}, register_st = #{record.registerSt,jdbcType=INTEGER}, register_da = #{record.registerDa,jdbcType=DATE}, is_member = #{record.isMember,jdbcType=INTEGER}, join_date = #{record.joinDate,jdbcType=DATE}, member_type = #{record.memberType,jdbcType=INTEGER}, fund_catego = #{record.fundCatego,jdbcType=VARCHAR}, business_ty = #{record.businessTy,jdbcType=VARCHAR}, nature_busi = #{record.natureBusi,jdbcType=INTEGER}, capital_pai = #{record.capitalPai,jdbcType=DOUBLE}, register_nu1 = #{record.registerNu1,jdbcType=VARCHAR}, logo = #{record.logo,jdbcType=VARCHAR}, isvisible = #{record.isvisible,jdbcType=INTEGER}, isvalid = #{record.isvalid,jdbcType=INTEGER}, updatetime = #{record.updatetime,jdbcType=DATE}, paid_capita = #{record.paidCapita,jdbcType=DOUBLE}, company_ass = #{record.companyAss,jdbcType=INTEGER}, fundscale = #{record.fundscale,jdbcType=DOUBLE}, legal_repre = #{record.legalRepre,jdbcType=VARCHAR}, is_qualify = #{record.isQualify,jdbcType=VARCHAR}, get_qualify = #{record.getQualify,jdbcType=VARCHAR}, employee_cn = #{record.employeeCn,jdbcType=INTEGER}, integrity_i = #{record.integrityI,jdbcType=VARCHAR}, special_tip = #{record.specialTip,jdbcType=VARCHAR}, amac_link = #{record.amacLink,jdbcType=VARCHAR}, createtime = #{record.createtime,jdbcType=DATE}, legal_opini = #{record.legalOpini,jdbcType=VARCHAR} <if test="_parameter != null"> <include refid="Update_By_Example_Where_Clause" /> </if> </update> <update id="updateByPrimaryKeySelective" parameterType="com.tanpu.fund.entity.generator.FundCompanyInfo"> <!--@mbg.generated--> update fund_company_info <set> <if test="pCompanyI != null"> p_company_i = #{pCompanyI,jdbcType=VARCHAR}, </if> <if test="companyName != null"> company_name = #{companyName,jdbcType=VARCHAR}, </if> <if test="companySho != null"> company_sho = #{companySho,jdbcType=VARCHAR}, </if> <if test="companyEng != null"> company_eng = #{companyEng,jdbcType=VARCHAR}, </if> <if test="companyTyp != null"> company_typ = #{companyTyp,jdbcType=INTEGER}, </if> <if test="establishD != null"> establish_d = #{establishD,jdbcType=DATE}, </if> <if test="organizatio != null"> organizatio = #{organizatio,jdbcType=VARCHAR}, </if> <if test="creditCode != null"> credit_code = #{creditCode,jdbcType=VARCHAR}, </if> <if test="hasConsult != null"> has_consult = #{hasConsult,jdbcType=INTEGER}, </if> <if test="domicileId != null"> domicile_id = #{domicileId,jdbcType=INTEGER}, </if> <if test="companyAdd != null"> company_add = #{companyAdd,jdbcType=VARCHAR}, </if> <if test="companyAdd1 != null"> company_add1 = #{companyAdd1,jdbcType=VARCHAR}, </if> <if test="city != null"> city = #{city,jdbcType=VARCHAR}, </if> <if test="province != null"> province = #{province,jdbcType=VARCHAR}, </if> <if test="country != null"> country = #{country,jdbcType=VARCHAR}, </if> <if test="regCity != null"> reg_city = #{regCity,jdbcType=VARCHAR}, </if> <if test="regProvinc != null"> reg_provinc = #{regProvinc,jdbcType=VARCHAR}, </if> <if test="regCountry != null"> reg_country = #{regCountry,jdbcType=VARCHAR}, </if> <if test="contactPho != null"> contact_pho = #{contactPho,jdbcType=VARCHAR}, </if> <if test="postCode != null"> post_code = #{postCode,jdbcType=VARCHAR}, </if> <if test="fax != null"> fax = #{fax,jdbcType=VARCHAR}, </if> <if test="email != null"> email = #{email,jdbcType=VARCHAR}, </if> <if test="website != null"> website = #{website,jdbcType=VARCHAR}, </if> <if test="registered != null"> registered_ = #{registered,jdbcType=DOUBLE}, </if> <if test="offshoreFu != null"> offshore_fu = #{offshoreFu,jdbcType=INTEGER}, </if> <if test="companySta != null"> company_sta = #{companySta,jdbcType=INTEGER}, </if> <if test="baseCurren != null"> base_curren = #{baseCurren,jdbcType=INTEGER}, </if> <if test="registerNu != null"> register_nu = #{registerNu,jdbcType=VARCHAR}, </if> <if test="registerSt != null"> register_st = #{registerSt,jdbcType=INTEGER}, </if> <if test="registerDa != null"> register_da = #{registerDa,jdbcType=DATE}, </if> <if test="isMember != null"> is_member = #{isMember,jdbcType=INTEGER}, </if> <if test="joinDate != null"> join_date = #{joinDate,jdbcType=DATE}, </if> <if test="memberType != null"> member_type = #{memberType,jdbcType=INTEGER}, </if> <if test="fundCatego != null"> fund_catego = #{fundCatego,jdbcType=VARCHAR}, </if> <if test="businessTy != null"> business_ty = #{businessTy,jdbcType=VARCHAR}, </if> <if test="natureBusi != null"> nature_busi = #{natureBusi,jdbcType=INTEGER}, </if> <if test="capitalPai != null"> capital_pai = #{capitalPai,jdbcType=DOUBLE}, </if> <if test="registerNu1 != null"> register_nu1 = #{registerNu1,jdbcType=VARCHAR}, </if> <if test="logo != null"> logo = #{logo,jdbcType=VARCHAR}, </if> <if test="isvisible != null"> isvisible = #{isvisible,jdbcType=INTEGER}, </if> <if test="isvalid != null"> isvalid = #{isvalid,jdbcType=INTEGER}, </if> <if test="updatetime != null"> updatetime = #{updatetime,jdbcType=DATE}, </if> <if test="paidCapita != null"> paid_capita = #{paidCapita,jdbcType=DOUBLE}, </if> <if test="companyAss != null"> company_ass = #{companyAss,jdbcType=INTEGER}, </if> <if test="fundscale != null"> fundscale = #{fundscale,jdbcType=DOUBLE}, </if> <if test="legalRepre != null"> legal_repre = #{legalRepre,jdbcType=VARCHAR}, </if> <if test="isQualify != null"> is_qualify = #{isQualify,jdbcType=VARCHAR}, </if> <if test="getQualify != null"> get_qualify = #{getQualify,jdbcType=VARCHAR}, </if> <if test="employeeCn != null"> employee_cn = #{employeeCn,jdbcType=INTEGER}, </if> <if test="integrityI != null"> integrity_i = #{integrityI,jdbcType=VARCHAR}, </if> <if test="specialTip != null"> special_tip = #{specialTip,jdbcType=VARCHAR}, </if> <if test="amacLink != null"> amac_link = #{amacLink,jdbcType=VARCHAR}, </if> <if test="createtime != null"> createtime = #{createtime,jdbcType=DATE}, </if> <if test="legalOpini != null"> legal_opini = #{legalOpini,jdbcType=VARCHAR}, </if> <if test="companyPro != null"> company_pro = #{companyPro,jdbcType=LONGVARCHAR}, </if> <if test="philosopy != null"> philosopy = #{philosopy,jdbcType=LONGVARCHAR}, </if> <if test="representat != null"> representat = #{representat,jdbcType=LONGVARCHAR}, </if> </set> where company_id = #{companyId,jdbcType=VARCHAR} </update> <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.tanpu.fund.entity.generator.FundCompanyInfo"> <!--@mbg.generated--> update fund_company_info set p_company_i = #{pCompanyI,jdbcType=VARCHAR}, company_name = #{companyName,jdbcType=VARCHAR}, company_sho = #{companySho,jdbcType=VARCHAR}, company_eng = #{companyEng,jdbcType=VARCHAR}, company_typ = #{companyTyp,jdbcType=INTEGER}, establish_d = #{establishD,jdbcType=DATE}, organizatio = #{organizatio,jdbcType=VARCHAR}, credit_code = #{creditCode,jdbcType=VARCHAR}, has_consult = #{hasConsult,jdbcType=INTEGER}, domicile_id = #{domicileId,jdbcType=INTEGER}, company_add = #{companyAdd,jdbcType=VARCHAR}, company_add1 = #{companyAdd1,jdbcType=VARCHAR}, city = #{city,jdbcType=VARCHAR}, province = #{province,jdbcType=VARCHAR}, country = #{country,jdbcType=VARCHAR}, reg_city = #{regCity,jdbcType=VARCHAR}, reg_provinc = #{regProvinc,jdbcType=VARCHAR}, reg_country = #{regCountry,jdbcType=VARCHAR}, contact_pho = #{contactPho,jdbcType=VARCHAR}, post_code = #{postCode,jdbcType=VARCHAR}, fax = #{fax,jdbcType=VARCHAR}, email = #{email,jdbcType=VARCHAR}, website = #{website,jdbcType=VARCHAR}, registered_ = #{registered,jdbcType=DOUBLE}, offshore_fu = #{offshoreFu,jdbcType=INTEGER}, company_sta = #{companySta,jdbcType=INTEGER}, base_curren = #{baseCurren,jdbcType=INTEGER}, register_nu = #{registerNu,jdbcType=VARCHAR}, register_st = #{registerSt,jdbcType=INTEGER}, register_da = #{registerDa,jdbcType=DATE}, is_member = #{isMember,jdbcType=INTEGER}, join_date = #{joinDate,jdbcType=DATE}, member_type = #{memberType,jdbcType=INTEGER}, fund_catego = #{fundCatego,jdbcType=VARCHAR}, business_ty = #{businessTy,jdbcType=VARCHAR}, nature_busi = #{natureBusi,jdbcType=INTEGER}, capital_pai = #{capitalPai,jdbcType=DOUBLE}, register_nu1 = #{registerNu1,jdbcType=VARCHAR}, logo = #{logo,jdbcType=VARCHAR}, isvisible = #{isvisible,jdbcType=INTEGER}, isvalid = #{isvalid,jdbcType=INTEGER}, updatetime = #{updatetime,jdbcType=DATE}, paid_capita = #{paidCapita,jdbcType=DOUBLE}, company_ass = #{companyAss,jdbcType=INTEGER}, fundscale = #{fundscale,jdbcType=DOUBLE}, legal_repre = #{legalRepre,jdbcType=VARCHAR}, is_qualify = #{isQualify,jdbcType=VARCHAR}, get_qualify = #{getQualify,jdbcType=VARCHAR}, employee_cn = #{employeeCn,jdbcType=INTEGER}, integrity_i = #{integrityI,jdbcType=VARCHAR}, special_tip = #{specialTip,jdbcType=VARCHAR}, amac_link = #{amacLink,jdbcType=VARCHAR}, createtime = #{createtime,jdbcType=DATE}, legal_opini = #{legalOpini,jdbcType=VARCHAR}, company_pro = #{companyPro,jdbcType=LONGVARCHAR}, philosopy = #{philosopy,jdbcType=LONGVARCHAR}, representat = #{representat,jdbcType=LONGVARCHAR} where company_id = #{companyId,jdbcType=VARCHAR} </update> <update id="updateByPrimaryKey" parameterType="com.tanpu.fund.entity.generator.FundCompanyInfo"> <!--@mbg.generated--> update fund_company_info set p_company_i = #{pCompanyI,jdbcType=VARCHAR}, company_name = #{companyName,jdbcType=VARCHAR}, company_sho = #{companySho,jdbcType=VARCHAR}, company_eng = #{companyEng,jdbcType=VARCHAR}, company_typ = #{companyTyp,jdbcType=INTEGER}, establish_d = #{establishD,jdbcType=DATE}, organizatio = #{organizatio,jdbcType=VARCHAR}, credit_code = #{creditCode,jdbcType=VARCHAR}, has_consult = #{hasConsult,jdbcType=INTEGER}, domicile_id = #{domicileId,jdbcType=INTEGER}, company_add = #{companyAdd,jdbcType=VARCHAR}, company_add1 = #{companyAdd1,jdbcType=VARCHAR}, city = #{city,jdbcType=VARCHAR}, province = #{province,jdbcType=VARCHAR}, country = #{country,jdbcType=VARCHAR}, reg_city = #{regCity,jdbcType=VARCHAR}, reg_provinc = #{regProvinc,jdbcType=VARCHAR}, reg_country = #{regCountry,jdbcType=VARCHAR}, contact_pho = #{contactPho,jdbcType=VARCHAR}, post_code = #{postCode,jdbcType=VARCHAR}, fax = #{fax,jdbcType=VARCHAR}, email = #{email,jdbcType=VARCHAR}, website = #{website,jdbcType=VARCHAR}, registered_ = #{registered,jdbcType=DOUBLE}, offshore_fu = #{offshoreFu,jdbcType=INTEGER}, company_sta = #{companySta,jdbcType=INTEGER}, base_curren = #{baseCurren,jdbcType=INTEGER}, register_nu = #{registerNu,jdbcType=VARCHAR}, register_st = #{registerSt,jdbcType=INTEGER}, register_da = #{registerDa,jdbcType=DATE}, is_member = #{isMember,jdbcType=INTEGER}, join_date = #{joinDate,jdbcType=DATE}, member_type = #{memberType,jdbcType=INTEGER}, fund_catego = #{fundCatego,jdbcType=VARCHAR}, business_ty = #{businessTy,jdbcType=VARCHAR}, nature_busi = #{natureBusi,jdbcType=INTEGER}, capital_pai = #{capitalPai,jdbcType=DOUBLE}, register_nu1 = #{registerNu1,jdbcType=VARCHAR}, logo = #{logo,jdbcType=VARCHAR}, isvisible = #{isvisible,jdbcType=INTEGER}, isvalid = #{isvalid,jdbcType=INTEGER}, updatetime = #{updatetime,jdbcType=DATE}, paid_capita = #{paidCapita,jdbcType=DOUBLE}, company_ass = #{companyAss,jdbcType=INTEGER}, fundscale = #{fundscale,jdbcType=DOUBLE}, legal_repre = #{legalRepre,jdbcType=VARCHAR}, is_qualify = #{isQualify,jdbcType=VARCHAR}, get_qualify = #{getQualify,jdbcType=VARCHAR}, employee_cn = #{employeeCn,jdbcType=INTEGER}, integrity_i = #{integrityI,jdbcType=VARCHAR}, special_tip = #{specialTip,jdbcType=VARCHAR}, amac_link = #{amacLink,jdbcType=VARCHAR}, createtime = #{createtime,jdbcType=DATE}, legal_opini = #{legalOpini,jdbcType=VARCHAR} where company_id = #{companyId,jdbcType=VARCHAR} </update> <update id="updateBatch" parameterType="java.util.List"> <!--@mbg.generated--> update fund_company_info <trim prefix="set" suffixOverrides=","> <trim prefix="p_company_i = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.pCompanyI,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="company_name = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.companyName,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="company_sho = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.companySho,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="company_eng = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.companyEng,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="company_typ = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.companyTyp,jdbcType=INTEGER} </foreach> </trim> <trim prefix="establish_d = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.establishD,jdbcType=DATE} </foreach> </trim> <trim prefix="organizatio = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.organizatio,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="credit_code = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.creditCode,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="has_consult = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.hasConsult,jdbcType=INTEGER} </foreach> </trim> <trim prefix="domicile_id = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.domicileId,jdbcType=INTEGER} </foreach> </trim> <trim prefix="company_add = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.companyAdd,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="company_add1 = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.companyAdd1,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="city = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.city,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="province = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.province,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="country = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.country,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="reg_city = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.regCity,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="reg_provinc = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.regProvinc,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="reg_country = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.regCountry,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="contact_pho = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.contactPho,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="post_code = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.postCode,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="fax = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.fax,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="email = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.email,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="website = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.website,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="registered_ = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.registered,jdbcType=DOUBLE} </foreach> </trim> <trim prefix="offshore_fu = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.offshoreFu,jdbcType=INTEGER} </foreach> </trim> <trim prefix="company_sta = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.companySta,jdbcType=INTEGER} </foreach> </trim> <trim prefix="base_curren = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.baseCurren,jdbcType=INTEGER} </foreach> </trim> <trim prefix="register_nu = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.registerNu,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="register_st = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.registerSt,jdbcType=INTEGER} </foreach> </trim> <trim prefix="register_da = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.registerDa,jdbcType=DATE} </foreach> </trim> <trim prefix="is_member = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.isMember,jdbcType=INTEGER} </foreach> </trim> <trim prefix="join_date = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.joinDate,jdbcType=DATE} </foreach> </trim> <trim prefix="member_type = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.memberType,jdbcType=INTEGER} </foreach> </trim> <trim prefix="fund_catego = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.fundCatego,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="business_ty = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.businessTy,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="nature_busi = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.natureBusi,jdbcType=INTEGER} </foreach> </trim> <trim prefix="capital_pai = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.capitalPai,jdbcType=DOUBLE} </foreach> </trim> <trim prefix="register_nu1 = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.registerNu1,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="logo = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.logo,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="isvisible = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.isvisible,jdbcType=INTEGER} </foreach> </trim> <trim prefix="isvalid = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.isvalid,jdbcType=INTEGER} </foreach> </trim> <trim prefix="updatetime = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.updatetime,jdbcType=DATE} </foreach> </trim> <trim prefix="paid_capita = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.paidCapita,jdbcType=DOUBLE} </foreach> </trim> <trim prefix="company_ass = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.companyAss,jdbcType=INTEGER} </foreach> </trim> <trim prefix="fundscale = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.fundscale,jdbcType=DOUBLE} </foreach> </trim> <trim prefix="legal_repre = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.legalRepre,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="is_qualify = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.isQualify,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="get_qualify = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.getQualify,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="employee_cn = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.employeeCn,jdbcType=INTEGER} </foreach> </trim> <trim prefix="integrity_i = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.integrityI,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="special_tip = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.specialTip,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="amac_link = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.amacLink,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="createtime = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.createtime,jdbcType=DATE} </foreach> </trim> <trim prefix="legal_opini = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.legalOpini,jdbcType=VARCHAR} </foreach> </trim> <trim prefix="company_pro = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.companyPro,jdbcType=LONGVARCHAR} </foreach> </trim> <trim prefix="philosopy = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.philosopy,jdbcType=LONGVARCHAR} </foreach> </trim> <trim prefix="representat = case" suffix="end,"> <foreach collection="list" index="index" item="item"> when company_id = #{item.companyId,jdbcType=VARCHAR} then #{item.representat,jdbcType=LONGVARCHAR} </foreach> </trim> </trim> where company_id in <foreach close=")" collection="list" item="item" open="(" separator=", "> #{item.companyId,jdbcType=VARCHAR} </foreach> </update> <insert id="batchInsert" parameterType="map"> <!--@mbg.generated--> insert into fund_company_info (company_id, p_company_i, company_name, company_sho, company_eng, company_typ, establish_d, organizatio, credit_code, has_consult, domicile_id, company_add, company_add1, city, province, country, reg_city, reg_provinc, reg_country, contact_pho, post_code, fax, email, website, registered_, offshore_fu, company_sta, base_curren, register_nu, register_st, register_da, is_member, join_date, member_type, fund_catego, business_ty, nature_busi, capital_pai, register_nu1, logo, isvisible, isvalid, updatetime, paid_capita, company_ass, fundscale, legal_repre, is_qualify, get_qualify, employee_cn, integrity_i, special_tip, amac_link, createtime, legal_opini, company_pro, philosopy, representat ) values <foreach collection="list" item="item" separator=","> (#{item.companyId,jdbcType=VARCHAR}, #{item.pCompanyI,jdbcType=VARCHAR}, #{item.companyName,jdbcType=VARCHAR}, #{item.companySho,jdbcType=VARCHAR}, #{item.companyEng,jdbcType=VARCHAR}, #{item.companyTyp,jdbcType=INTEGER}, #{item.establishD,jdbcType=DATE}, #{item.organizatio,jdbcType=VARCHAR}, #{item.creditCode,jdbcType=VARCHAR}, #{item.hasConsult,jdbcType=INTEGER}, #{item.domicileId,jdbcType=INTEGER}, #{item.companyAdd,jdbcType=VARCHAR}, #{item.companyAdd1,jdbcType=VARCHAR}, #{item.city,jdbcType=VARCHAR}, #{item.province,jdbcType=VARCHAR}, #{item.country,jdbcType=VARCHAR}, #{item.regCity,jdbcType=VARCHAR}, #{item.regProvinc,jdbcType=VARCHAR}, #{item.regCountry,jdbcType=VARCHAR}, #{item.contactPho,jdbcType=VARCHAR}, #{item.postCode,jdbcType=VARCHAR}, #{item.fax,jdbcType=VARCHAR}, #{item.email,jdbcType=VARCHAR}, #{item.website,jdbcType=VARCHAR}, #{item.registered,jdbcType=DOUBLE}, #{item.offshoreFu,jdbcType=INTEGER}, #{item.companySta,jdbcType=INTEGER}, #{item.baseCurren,jdbcType=INTEGER}, #{item.registerNu,jdbcType=VARCHAR}, #{item.registerSt,jdbcType=INTEGER}, #{item.registerDa,jdbcType=DATE}, #{item.isMember,jdbcType=INTEGER}, #{item.joinDate,jdbcType=DATE}, #{item.memberType,jdbcType=INTEGER}, #{item.fundCatego,jdbcType=VARCHAR}, #{item.businessTy,jdbcType=VARCHAR}, #{item.natureBusi,jdbcType=INTEGER}, #{item.capitalPai,jdbcType=DOUBLE}, #{item.registerNu1,jdbcType=VARCHAR}, #{item.logo,jdbcType=VARCHAR}, #{item.isvisible,jdbcType=INTEGER}, #{item.isvalid,jdbcType=INTEGER}, #{item.updatetime,jdbcType=DATE}, #{item.paidCapita,jdbcType=DOUBLE}, #{item.companyAss,jdbcType=INTEGER}, #{item.fundscale,jdbcType=DOUBLE}, #{item.legalRepre,jdbcType=VARCHAR}, #{item.isQualify,jdbcType=VARCHAR}, #{item.getQualify,jdbcType=VARCHAR}, #{item.employeeCn,jdbcType=INTEGER}, #{item.integrityI,jdbcType=VARCHAR}, #{item.specialTip,jdbcType=VARCHAR}, #{item.amacLink,jdbcType=VARCHAR}, #{item.createtime,jdbcType=DATE}, #{item.legalOpini,jdbcType=VARCHAR}, #{item.companyPro,jdbcType=LONGVARCHAR}, #{item.philosopy,jdbcType=LONGVARCHAR}, #{item.representat,jdbcType=LONGVARCHAR}) </foreach> </insert> <insert id="insertOrUpdate" parameterType="com.tanpu.fund.entity.generator.FundCompanyInfo"> <!--@mbg.generated--> insert into fund_company_info (company_id, p_company_i, company_name, company_sho, company_eng, company_typ, establish_d, organizatio, credit_code, has_consult, domicile_id, company_add, company_add1, city, province, country, reg_city, reg_provinc, reg_country, contact_pho, post_code, fax, email, website, registered_, offshore_fu, company_sta, base_curren, register_nu, register_st, register_da, is_member, join_date, member_type, fund_catego, business_ty, nature_busi, capital_pai, register_nu1, logo, isvisible, isvalid, updatetime, paid_capita, company_ass, fundscale, legal_repre, is_qualify, get_qualify, employee_cn, integrity_i, special_tip, amac_link, createtime, legal_opini) values (#{companyId,jdbcType=VARCHAR}, #{pCompanyI,jdbcType=VARCHAR}, #{companyName,jdbcType=VARCHAR}, #{companySho,jdbcType=VARCHAR}, #{companyEng,jdbcType=VARCHAR}, #{companyTyp,jdbcType=INTEGER}, #{establishD,jdbcType=DATE}, #{organizatio,jdbcType=VARCHAR}, #{creditCode,jdbcType=VARCHAR}, #{hasConsult,jdbcType=INTEGER}, #{domicileId,jdbcType=INTEGER}, #{companyAdd,jdbcType=VARCHAR}, #{companyAdd1,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, #{country,jdbcType=VARCHAR}, #{regCity,jdbcType=VARCHAR}, #{regProvinc,jdbcType=VARCHAR}, #{regCountry,jdbcType=VARCHAR}, #{contactPho,jdbcType=VARCHAR}, #{postCode,jdbcType=VARCHAR}, #{fax,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{website,jdbcType=VARCHAR}, #{registered,jdbcType=DOUBLE}, #{offshoreFu,jdbcType=INTEGER}, #{companySta,jdbcType=INTEGER}, #{baseCurren,jdbcType=INTEGER}, #{registerNu,jdbcType=VARCHAR}, #{registerSt,jdbcType=INTEGER}, #{registerDa,jdbcType=DATE}, #{isMember,jdbcType=INTEGER}, #{joinDate,jdbcType=DATE}, #{memberType,jdbcType=INTEGER}, #{fundCatego,jdbcType=VARCHAR}, #{businessTy,jdbcType=VARCHAR}, #{natureBusi,jdbcType=INTEGER}, #{capitalPai,jdbcType=DOUBLE}, #{registerNu1,jdbcType=VARCHAR}, #{logo,jdbcType=VARCHAR}, #{isvisible,jdbcType=INTEGER}, #{isvalid,jdbcType=INTEGER}, #{updatetime,jdbcType=DATE}, #{paidCapita,jdbcType=DOUBLE}, #{companyAss,jdbcType=INTEGER}, #{fundscale,jdbcType=DOUBLE}, #{legalRepre,jdbcType=VARCHAR}, #{isQualify,jdbcType=VARCHAR}, #{getQualify,jdbcType=VARCHAR}, #{employeeCn,jdbcType=INTEGER}, #{integrityI,jdbcType=VARCHAR}, #{specialTip,jdbcType=VARCHAR}, #{amacLink,jdbcType=VARCHAR}, #{createtime,jdbcType=DATE}, #{legalOpini,jdbcType=VARCHAR}) on duplicate key update company_id = #{companyId,jdbcType=VARCHAR}, p_company_i = #{pCompanyI,jdbcType=VARCHAR}, company_name = #{companyName,jdbcType=VARCHAR}, company_sho = #{companySho,jdbcType=VARCHAR}, company_eng = #{companyEng,jdbcType=VARCHAR}, company_typ = #{companyTyp,jdbcType=INTEGER}, establish_d = #{establishD,jdbcType=DATE}, organizatio = #{organizatio,jdbcType=VARCHAR}, credit_code = #{creditCode,jdbcType=VARCHAR}, has_consult = #{hasConsult,jdbcType=INTEGER}, domicile_id = #{domicileId,jdbcType=INTEGER}, company_add = #{companyAdd,jdbcType=VARCHAR}, company_add1 = #{companyAdd1,jdbcType=VARCHAR}, city = #{city,jdbcType=VARCHAR}, province = #{province,jdbcType=VARCHAR}, country = #{country,jdbcType=VARCHAR}, reg_city = #{regCity,jdbcType=VARCHAR}, reg_provinc = #{regProvinc,jdbcType=VARCHAR}, reg_country = #{regCountry,jdbcType=VARCHAR}, contact_pho = #{contactPho,jdbcType=VARCHAR}, post_code = #{postCode,jdbcType=VARCHAR}, fax = #{fax,jdbcType=VARCHAR}, email = #{email,jdbcType=VARCHAR}, website = #{website,jdbcType=VARCHAR}, registered_ = #{registered,jdbcType=DOUBLE}, offshore_fu = #{offshoreFu,jdbcType=INTEGER}, company_sta = #{companySta,jdbcType=INTEGER}, base_curren = #{baseCurren,jdbcType=INTEGER}, register_nu = #{registerNu,jdbcType=VARCHAR}, register_st = #{registerSt,jdbcType=INTEGER}, register_da = #{registerDa,jdbcType=DATE}, is_member = #{isMember,jdbcType=INTEGER}, join_date = #{joinDate,jdbcType=DATE}, member_type = #{memberType,jdbcType=INTEGER}, fund_catego = #{fundCatego,jdbcType=VARCHAR}, business_ty = #{businessTy,jdbcType=VARCHAR}, nature_busi = #{natureBusi,jdbcType=INTEGER}, capital_pai = #{capitalPai,jdbcType=DOUBLE}, register_nu1 = #{registerNu1,jdbcType=VARCHAR}, logo = #{logo,jdbcType=VARCHAR}, isvisible = #{isvisible,jdbcType=INTEGER}, isvalid = #{isvalid,jdbcType=INTEGER}, updatetime = #{updatetime,jdbcType=DATE}, paid_capita = #{paidCapita,jdbcType=DOUBLE}, company_ass = #{companyAss,jdbcType=INTEGER}, fundscale = #{fundscale,jdbcType=DOUBLE}, legal_repre = #{legalRepre,jdbcType=VARCHAR}, is_qualify = #{isQualify,jdbcType=VARCHAR}, get_qualify = #{getQualify,jdbcType=VARCHAR}, employee_cn = #{employeeCn,jdbcType=INTEGER}, integrity_i = #{integrityI,jdbcType=VARCHAR}, special_tip = #{specialTip,jdbcType=VARCHAR}, amac_link = #{amacLink,jdbcType=VARCHAR}, createtime = #{createtime,jdbcType=DATE}, legal_opini = #{legalOpini,jdbcType=VARCHAR} </insert> <insert id="insertOrUpdateWithBLOBs" parameterType="com.tanpu.fund.entity.generator.FundCompanyInfo"> <!--@mbg.generated--> insert into fund_company_info (company_id, p_company_i, company_name, company_sho, company_eng, company_typ, establish_d, organizatio, credit_code, has_consult, domicile_id, company_add, company_add1, city, province, country, reg_city, reg_provinc, reg_country, contact_pho, post_code, fax, email, website, registered_, offshore_fu, company_sta, base_curren, register_nu, register_st, register_da, is_member, join_date, member_type, fund_catego, business_ty, nature_busi, capital_pai, register_nu1, logo, isvisible, isvalid, updatetime, paid_capita, company_ass, fundscale, legal_repre, is_qualify, get_qualify, employee_cn, integrity_i, special_tip, amac_link, createtime, legal_opini, company_pro, philosopy, representat ) values (#{companyId,jdbcType=VARCHAR}, #{pCompanyI,jdbcType=VARCHAR}, #{companyName,jdbcType=VARCHAR}, #{companySho,jdbcType=VARCHAR}, #{companyEng,jdbcType=VARCHAR}, #{companyTyp,jdbcType=INTEGER}, #{establishD,jdbcType=DATE}, #{organizatio,jdbcType=VARCHAR}, #{creditCode,jdbcType=VARCHAR}, #{hasConsult,jdbcType=INTEGER}, #{domicileId,jdbcType=INTEGER}, #{companyAdd,jdbcType=VARCHAR}, #{companyAdd1,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, #{country,jdbcType=VARCHAR}, #{regCity,jdbcType=VARCHAR}, #{regProvinc,jdbcType=VARCHAR}, #{regCountry,jdbcType=VARCHAR}, #{contactPho,jdbcType=VARCHAR}, #{postCode,jdbcType=VARCHAR}, #{fax,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{website,jdbcType=VARCHAR}, #{registered,jdbcType=DOUBLE}, #{offshoreFu,jdbcType=INTEGER}, #{companySta,jdbcType=INTEGER}, #{baseCurren,jdbcType=INTEGER}, #{registerNu,jdbcType=VARCHAR}, #{registerSt,jdbcType=INTEGER}, #{registerDa,jdbcType=DATE}, #{isMember,jdbcType=INTEGER}, #{joinDate,jdbcType=DATE}, #{memberType,jdbcType=INTEGER}, #{fundCatego,jdbcType=VARCHAR}, #{businessTy,jdbcType=VARCHAR}, #{natureBusi,jdbcType=INTEGER}, #{capitalPai,jdbcType=DOUBLE}, #{registerNu1,jdbcType=VARCHAR}, #{logo,jdbcType=VARCHAR}, #{isvisible,jdbcType=INTEGER}, #{isvalid,jdbcType=INTEGER}, #{updatetime,jdbcType=DATE}, #{paidCapita,jdbcType=DOUBLE}, #{companyAss,jdbcType=INTEGER}, #{fundscale,jdbcType=DOUBLE}, #{legalRepre,jdbcType=VARCHAR}, #{isQualify,jdbcType=VARCHAR}, #{getQualify,jdbcType=VARCHAR}, #{employeeCn,jdbcType=INTEGER}, #{integrityI,jdbcType=VARCHAR}, #{specialTip,jdbcType=VARCHAR}, #{amacLink,jdbcType=VARCHAR}, #{createtime,jdbcType=DATE}, #{legalOpini,jdbcType=VARCHAR}, #{companyPro,jdbcType=LONGVARCHAR}, #{philosopy,jdbcType=LONGVARCHAR}, #{representat,jdbcType=LONGVARCHAR}) on duplicate key update company_id = #{companyId,jdbcType=VARCHAR}, p_company_i = #{pCompanyI,jdbcType=VARCHAR}, company_name = #{companyName,jdbcType=VARCHAR}, company_sho = #{companySho,jdbcType=VARCHAR}, company_eng = #{companyEng,jdbcType=VARCHAR}, company_typ = #{companyTyp,jdbcType=INTEGER}, establish_d = #{establishD,jdbcType=DATE}, organizatio = #{organizatio,jdbcType=VARCHAR}, credit_code = #{creditCode,jdbcType=VARCHAR}, has_consult = #{hasConsult,jdbcType=INTEGER}, domicile_id = #{domicileId,jdbcType=INTEGER}, company_add = #{companyAdd,jdbcType=VARCHAR}, company_add1 = #{companyAdd1,jdbcType=VARCHAR}, city = #{city,jdbcType=VARCHAR}, province = #{province,jdbcType=VARCHAR}, country = #{country,jdbcType=VARCHAR}, reg_city = #{regCity,jdbcType=VARCHAR}, reg_provinc = #{regProvinc,jdbcType=VARCHAR}, reg_country = #{regCountry,jdbcType=VARCHAR}, contact_pho = #{contactPho,jdbcType=VARCHAR}, post_code = #{postCode,jdbcType=VARCHAR}, fax = #{fax,jdbcType=VARCHAR}, email = #{email,jdbcType=VARCHAR}, website = #{website,jdbcType=VARCHAR}, registered_ = #{registered,jdbcType=DOUBLE}, offshore_fu = #{offshoreFu,jdbcType=INTEGER}, company_sta = #{companySta,jdbcType=INTEGER}, base_curren = #{baseCurren,jdbcType=INTEGER}, register_nu = #{registerNu,jdbcType=VARCHAR}, register_st = #{registerSt,jdbcType=INTEGER}, register_da = #{registerDa,jdbcType=DATE}, is_member = #{isMember,jdbcType=INTEGER}, join_date = #{joinDate,jdbcType=DATE}, member_type = #{memberType,jdbcType=INTEGER}, fund_catego = #{fundCatego,jdbcType=VARCHAR}, business_ty = #{businessTy,jdbcType=VARCHAR}, nature_busi = #{natureBusi,jdbcType=INTEGER}, capital_pai = #{capitalPai,jdbcType=DOUBLE}, register_nu1 = #{registerNu1,jdbcType=VARCHAR}, logo = #{logo,jdbcType=VARCHAR}, isvisible = #{isvisible,jdbcType=INTEGER}, isvalid = #{isvalid,jdbcType=INTEGER}, updatetime = #{updatetime,jdbcType=DATE}, paid_capita = #{paidCapita,jdbcType=DOUBLE}, company_ass = #{companyAss,jdbcType=INTEGER}, fundscale = #{fundscale,jdbcType=DOUBLE}, legal_repre = #{legalRepre,jdbcType=VARCHAR}, is_qualify = #{isQualify,jdbcType=VARCHAR}, get_qualify = #{getQualify,jdbcType=VARCHAR}, employee_cn = #{employeeCn,jdbcType=INTEGER}, integrity_i = #{integrityI,jdbcType=VARCHAR}, special_tip = #{specialTip,jdbcType=VARCHAR}, amac_link = #{amacLink,jdbcType=VARCHAR}, createtime = #{createtime,jdbcType=DATE}, legal_opini = #{legalOpini,jdbcType=VARCHAR}, company_pro = #{companyPro,jdbcType=LONGVARCHAR}, philosopy = #{philosopy,jdbcType=LONGVARCHAR}, representat = #{representat,jdbcType=LONGVARCHAR} </insert> <insert id="insertOrUpdateSelective" parameterType="com.tanpu.fund.entity.generator.FundCompanyInfo"> <!--@mbg.generated--> insert into fund_company_info <trim prefix="(" suffix=")" suffixOverrides=","> <if test="companyId != null"> company_id, </if> <if test="pCompanyI != null"> p_company_i, </if> <if test="companyName != null"> company_name, </if> <if test="companySho != null"> company_sho, </if> <if test="companyEng != null"> company_eng, </if> <if test="companyTyp != null"> company_typ, </if> <if test="establishD != null"> establish_d, </if> <if test="organizatio != null"> organizatio, </if> <if test="creditCode != null"> credit_code, </if> <if test="hasConsult != null"> has_consult, </if> <if test="domicileId != null"> domicile_id, </if> <if test="companyAdd != null"> company_add, </if> <if test="companyAdd1 != null"> company_add1, </if> <if test="city != null"> city, </if> <if test="province != null"> province, </if> <if test="country != null"> country, </if> <if test="regCity != null"> reg_city, </if> <if test="regProvinc != null"> reg_provinc, </if> <if test="regCountry != null"> reg_country, </if> <if test="contactPho != null"> contact_pho, </if> <if test="postCode != null"> post_code, </if> <if test="fax != null"> fax, </if> <if test="email != null"> email, </if> <if test="website != null"> website, </if> <if test="registered != null"> registered_, </if> <if test="offshoreFu != null"> offshore_fu, </if> <if test="companySta != null"> company_sta, </if> <if test="baseCurren != null"> base_curren, </if> <if test="registerNu != null"> register_nu, </if> <if test="registerSt != null"> register_st, </if> <if test="registerDa != null"> register_da, </if> <if test="isMember != null"> is_member, </if> <if test="joinDate != null"> join_date, </if> <if test="memberType != null"> member_type, </if> <if test="fundCatego != null"> fund_catego, </if> <if test="businessTy != null"> business_ty, </if> <if test="natureBusi != null"> nature_busi, </if> <if test="capitalPai != null"> capital_pai, </if> <if test="registerNu1 != null"> register_nu1, </if> <if test="logo != null"> logo, </if> <if test="isvisible != null"> isvisible, </if> <if test="isvalid != null"> isvalid, </if> <if test="updatetime != null"> updatetime, </if> <if test="paidCapita != null"> paid_capita, </if> <if test="companyAss != null"> company_ass, </if> <if test="fundscale != null"> fundscale, </if> <if test="legalRepre != null"> legal_repre, </if> <if test="isQualify != null"> is_qualify, </if> <if test="getQualify != null"> get_qualify, </if> <if test="employeeCn != null"> employee_cn, </if> <if test="integrityI != null"> integrity_i, </if> <if test="specialTip != null"> special_tip, </if> <if test="amacLink != null"> amac_link, </if> <if test="createtime != null"> createtime, </if> <if test="legalOpini != null"> legal_opini, </if> <if test="companyPro != null"> company_pro, </if> <if test="philosopy != null"> philosopy, </if> <if test="representat != null"> representat, </if> </trim> values <trim prefix="(" suffix=")" suffixOverrides=","> <if test="companyId != null"> #{companyId,jdbcType=VARCHAR}, </if> <if test="pCompanyI != null"> #{pCompanyI,jdbcType=VARCHAR}, </if> <if test="companyName != null"> #{companyName,jdbcType=VARCHAR}, </if> <if test="companySho != null"> #{companySho,jdbcType=VARCHAR}, </if> <if test="companyEng != null"> #{companyEng,jdbcType=VARCHAR}, </if> <if test="companyTyp != null"> #{companyTyp,jdbcType=INTEGER}, </if> <if test="establishD != null"> #{establishD,jdbcType=DATE}, </if> <if test="organizatio != null"> #{organizatio,jdbcType=VARCHAR}, </if> <if test="creditCode != null"> #{creditCode,jdbcType=VARCHAR}, </if> <if test="hasConsult != null"> #{hasConsult,jdbcType=INTEGER}, </if> <if test="domicileId != null"> #{domicileId,jdbcType=INTEGER}, </if> <if test="companyAdd != null"> #{companyAdd,jdbcType=VARCHAR}, </if> <if test="companyAdd1 != null"> #{companyAdd1,jdbcType=VARCHAR}, </if> <if test="city != null"> #{city,jdbcType=VARCHAR}, </if> <if test="province != null"> #{province,jdbcType=VARCHAR}, </if> <if test="country != null"> #{country,jdbcType=VARCHAR}, </if> <if test="regCity != null"> #{regCity,jdbcType=VARCHAR}, </if> <if test="regProvinc != null"> #{regProvinc,jdbcType=VARCHAR}, </if> <if test="regCountry != null"> #{regCountry,jdbcType=VARCHAR}, </if> <if test="contactPho != null"> #{contactPho,jdbcType=VARCHAR}, </if> <if test="postCode != null"> #{postCode,jdbcType=VARCHAR}, </if> <if test="fax != null"> #{fax,jdbcType=VARCHAR}, </if> <if test="email != null"> #{email,jdbcType=VARCHAR}, </if> <if test="website != null"> #{website,jdbcType=VARCHAR}, </if> <if test="registered != null"> #{registered,jdbcType=DOUBLE}, </if> <if test="offshoreFu != null"> #{offshoreFu,jdbcType=INTEGER}, </if> <if test="companySta != null"> #{companySta,jdbcType=INTEGER}, </if> <if test="baseCurren != null"> #{baseCurren,jdbcType=INTEGER}, </if> <if test="registerNu != null"> #{registerNu,jdbcType=VARCHAR}, </if> <if test="registerSt != null"> #{registerSt,jdbcType=INTEGER}, </if> <if test="registerDa != null"> #{registerDa,jdbcType=DATE}, </if> <if test="isMember != null"> #{isMember,jdbcType=INTEGER}, </if> <if test="joinDate != null"> #{joinDate,jdbcType=DATE}, </if> <if test="memberType != null"> #{memberType,jdbcType=INTEGER}, </if> <if test="fundCatego != null"> #{fundCatego,jdbcType=VARCHAR}, </if> <if test="businessTy != null"> #{businessTy,jdbcType=VARCHAR}, </if> <if test="natureBusi != null"> #{natureBusi,jdbcType=INTEGER}, </if> <if test="capitalPai != null"> #{capitalPai,jdbcType=DOUBLE}, </if> <if test="registerNu1 != null"> #{registerNu1,jdbcType=VARCHAR}, </if> <if test="logo != null"> #{logo,jdbcType=VARCHAR}, </if> <if test="isvisible != null"> #{isvisible,jdbcType=INTEGER}, </if> <if test="isvalid != null"> #{isvalid,jdbcType=INTEGER}, </if> <if test="updatetime != null"> #{updatetime,jdbcType=DATE}, </if> <if test="paidCapita != null"> #{paidCapita,jdbcType=DOUBLE}, </if> <if test="companyAss != null"> #{companyAss,jdbcType=INTEGER}, </if> <if test="fundscale != null"> #{fundscale,jdbcType=DOUBLE}, </if> <if test="legalRepre != null"> #{legalRepre,jdbcType=VARCHAR}, </if> <if test="isQualify != null"> #{isQualify,jdbcType=VARCHAR}, </if> <if test="getQualify != null"> #{getQualify,jdbcType=VARCHAR}, </if> <if test="employeeCn != null"> #{employeeCn,jdbcType=INTEGER}, </if> <if test="integrityI != null"> #{integrityI,jdbcType=VARCHAR}, </if> <if test="specialTip != null"> #{specialTip,jdbcType=VARCHAR}, </if> <if test="amacLink != null"> #{amacLink,jdbcType=VARCHAR}, </if> <if test="createtime != null"> #{createtime,jdbcType=DATE}, </if> <if test="legalOpini != null"> #{legalOpini,jdbcType=VARCHAR}, </if> <if test="companyPro != null"> #{companyPro,jdbcType=LONGVARCHAR}, </if> <if test="philosopy != null"> #{philosopy,jdbcType=LONGVARCHAR}, </if> <if test="representat != null"> #{representat,jdbcType=LONGVARCHAR}, </if> </trim> on duplicate key update <trim suffixOverrides=","> <if test="companyId != null"> company_id = #{companyId,jdbcType=VARCHAR}, </if> <if test="pCompanyI != null"> p_company_i = #{pCompanyI,jdbcType=VARCHAR}, </if> <if test="companyName != null"> company_name = #{companyName,jdbcType=VARCHAR}, </if> <if test="companySho != null"> company_sho = #{companySho,jdbcType=VARCHAR}, </if> <if test="companyEng != null"> company_eng = #{companyEng,jdbcType=VARCHAR}, </if> <if test="companyTyp != null"> company_typ = #{companyTyp,jdbcType=INTEGER}, </if> <if test="establishD != null"> establish_d = #{establishD,jdbcType=DATE}, </if> <if test="organizatio != null"> organizatio = #{organizatio,jdbcType=VARCHAR}, </if> <if test="creditCode != null"> credit_code = #{creditCode,jdbcType=VARCHAR}, </if> <if test="hasConsult != null"> has_consult = #{hasConsult,jdbcType=INTEGER}, </if> <if test="domicileId != null"> domicile_id = #{domicileId,jdbcType=INTEGER}, </if> <if test="companyAdd != null"> company_add = #{companyAdd,jdbcType=VARCHAR}, </if> <if test="companyAdd1 != null"> company_add1 = #{companyAdd1,jdbcType=VARCHAR}, </if> <if test="city != null"> city = #{city,jdbcType=VARCHAR}, </if> <if test="province != null"> province = #{province,jdbcType=VARCHAR}, </if> <if test="country != null"> country = #{country,jdbcType=VARCHAR}, </if> <if test="regCity != null"> reg_city = #{regCity,jdbcType=VARCHAR}, </if> <if test="regProvinc != null"> reg_provinc = #{regProvinc,jdbcType=VARCHAR}, </if> <if test="regCountry != null"> reg_country = #{regCountry,jdbcType=VARCHAR}, </if> <if test="contactPho != null"> contact_pho = #{contactPho,jdbcType=VARCHAR}, </if> <if test="postCode != null"> post_code = #{postCode,jdbcType=VARCHAR}, </if> <if test="fax != null"> fax = #{fax,jdbcType=VARCHAR}, </if> <if test="email != null"> email = #{email,jdbcType=VARCHAR}, </if> <if test="website != null"> website = #{website,jdbcType=VARCHAR}, </if> <if test="registered != null"> registered_ = #{registered,jdbcType=DOUBLE}, </if> <if test="offshoreFu != null"> offshore_fu = #{offshoreFu,jdbcType=INTEGER}, </if> <if test="companySta != null"> company_sta = #{companySta,jdbcType=INTEGER}, </if> <if test="baseCurren != null"> base_curren = #{baseCurren,jdbcType=INTEGER}, </if> <if test="registerNu != null"> register_nu = #{registerNu,jdbcType=VARCHAR}, </if> <if test="registerSt != null"> register_st = #{registerSt,jdbcType=INTEGER}, </if> <if test="registerDa != null"> register_da = #{registerDa,jdbcType=DATE}, </if> <if test="isMember != null"> is_member = #{isMember,jdbcType=INTEGER}, </if> <if test="joinDate != null"> join_date = #{joinDate,jdbcType=DATE}, </if> <if test="memberType != null"> member_type = #{memberType,jdbcType=INTEGER}, </if> <if test="fundCatego != null"> fund_catego = #{fundCatego,jdbcType=VARCHAR}, </if> <if test="businessTy != null"> business_ty = #{businessTy,jdbcType=VARCHAR}, </if> <if test="natureBusi != null"> nature_busi = #{natureBusi,jdbcType=INTEGER}, </if> <if test="capitalPai != null"> capital_pai = #{capitalPai,jdbcType=DOUBLE}, </if> <if test="registerNu1 != null"> register_nu1 = #{registerNu1,jdbcType=VARCHAR}, </if> <if test="logo != null"> logo = #{logo,jdbcType=VARCHAR}, </if> <if test="isvisible != null"> isvisible = #{isvisible,jdbcType=INTEGER}, </if> <if test="isvalid != null"> isvalid = #{isvalid,jdbcType=INTEGER}, </if> <if test="updatetime != null"> updatetime = #{updatetime,jdbcType=DATE}, </if> <if test="paidCapita != null"> paid_capita = #{paidCapita,jdbcType=DOUBLE}, </if> <if test="companyAss != null"> company_ass = #{companyAss,jdbcType=INTEGER}, </if> <if test="fundscale != null"> fundscale = #{fundscale,jdbcType=DOUBLE}, </if> <if test="legalRepre != null"> legal_repre = #{legalRepre,jdbcType=VARCHAR}, </if> <if test="isQualify != null"> is_qualify = #{isQualify,jdbcType=VARCHAR}, </if> <if test="getQualify != null"> get_qualify = #{getQualify,jdbcType=VARCHAR}, </if> <if test="employeeCn != null"> employee_cn = #{employeeCn,jdbcType=INTEGER}, </if> <if test="integrityI != null"> integrity_i = #{integrityI,jdbcType=VARCHAR}, </if> <if test="specialTip != null"> special_tip = #{specialTip,jdbcType=VARCHAR}, </if> <if test="amacLink != null"> amac_link = #{amacLink,jdbcType=VARCHAR}, </if> <if test="createtime != null"> createtime = #{createtime,jdbcType=DATE}, </if> <if test="legalOpini != null"> legal_opini = #{legalOpini,jdbcType=VARCHAR}, </if> <if test="companyPro != null"> company_pro = #{companyPro,jdbcType=LONGVARCHAR}, </if> <if test="philosopy != null"> philosopy = #{philosopy,jdbcType=LONGVARCHAR}, </if> <if test="representat != null"> representat = #{representat,jdbcType=LONGVARCHAR}, </if> </trim> </insert> </mapper>