|
|
@@ -101,61 +101,66 @@
|
|
|
delete from organization_identity
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</delete>
|
|
|
- <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.OrganizationIdentity" useGeneratedKeys="true">
|
|
|
- insert into organization_identity (`uid`, contacts, contact_mobile,
|
|
|
- fixed_tel, qq, postal_address,
|
|
|
- postcode, unit_name, registered_capital,
|
|
|
- licence_number, licence_province, licence_city,
|
|
|
- licence_area, licence_scanning_url, org_code,
|
|
|
- org_code_url, bank_account, banks,
|
|
|
- bank_branch, bank_card_number, validation_amount,
|
|
|
- identity_type, location_province, location_city,
|
|
|
- location_area, legal_person, legal_person_id_card,
|
|
|
- last_year_tax_report_url, audit_status, `process`,
|
|
|
- wrong_count, payment_date, listed,
|
|
|
- listed_date, listed_type, stock_code,
|
|
|
- certificate_number, issuing_date, cog_contacts,
|
|
|
- tech_principal, contacts_fixed_tel, contacts_fax,
|
|
|
- legal_person_tel, legal_person_fax, legal_person_email,
|
|
|
- registration_time, ratepay_code, industry,
|
|
|
- enterprise_scale, register_type, foreign_investment,
|
|
|
- field, tax_authority, ratepay_method,
|
|
|
- high_tech_zone, risk_investment, business_scope,
|
|
|
- high_tech_name, patent_prory_statement_url,
|
|
|
- international, review_instructions, investment,
|
|
|
- year_sales_amount, last_year_research_amount,
|
|
|
- assets, qualification, cooperation_situation,
|
|
|
- honor_picture, sales_target, intended_project,
|
|
|
- contacts_dep, contacts_position)
|
|
|
- values (#{uid,jdbcType=VARCHAR}, #{contacts,jdbcType=VARCHAR}, #{contactMobile,jdbcType=VARCHAR},
|
|
|
- #{fixedTel,jdbcType=VARCHAR}, #{qq,jdbcType=VARCHAR}, #{postalAddress,jdbcType=VARCHAR},
|
|
|
- #{postcode,jdbcType=VARCHAR}, #{unitName,jdbcType=VARCHAR}, #{registeredCapital,jdbcType=DECIMAL},
|
|
|
- #{licenceNumber,jdbcType=VARCHAR}, #{licenceProvince,jdbcType=INTEGER}, #{licenceCity,jdbcType=INTEGER},
|
|
|
- #{licenceArea,jdbcType=INTEGER}, #{licenceScanningUrl,jdbcType=VARCHAR}, #{orgCode,jdbcType=VARCHAR},
|
|
|
- #{orgCodeUrl,jdbcType=VARCHAR}, #{bankAccount,jdbcType=VARCHAR}, #{banks,jdbcType=VARCHAR},
|
|
|
- #{bankBranch,jdbcType=VARCHAR}, #{bankCardNumber,jdbcType=VARCHAR}, #{validationAmount,jdbcType=DECIMAL},
|
|
|
- #{identityType,jdbcType=INTEGER}, #{locationProvince,jdbcType=INTEGER}, #{locationCity,jdbcType=INTEGER},
|
|
|
- #{locationArea,jdbcType=INTEGER}, #{legalPerson,jdbcType=VARCHAR}, #{legalPersonIdCard,jdbcType=VARCHAR},
|
|
|
- #{lastYearTaxReportUrl,jdbcType=VARCHAR}, #{auditStatus,jdbcType=INTEGER}, #{process,jdbcType=INTEGER},
|
|
|
- #{wrongCount,jdbcType=INTEGER}, #{paymentDate,jdbcType=TIMESTAMP}, #{listed,jdbcType=INTEGER},
|
|
|
- #{listedDate,jdbcType=TIMESTAMP}, #{listedType,jdbcType=INTEGER}, #{stockCode,jdbcType=VARCHAR},
|
|
|
- #{certificateNumber,jdbcType=VARCHAR}, #{issuingDate,jdbcType=TIMESTAMP}, #{cogContacts,jdbcType=INTEGER},
|
|
|
- #{techPrincipal,jdbcType=VARCHAR}, #{contactsFixedTel,jdbcType=VARCHAR}, #{contactsFax,jdbcType=VARCHAR},
|
|
|
- #{legalPersonTel,jdbcType=VARCHAR}, #{legalPersonFax,jdbcType=VARCHAR}, #{legalPersonEmail,jdbcType=VARCHAR},
|
|
|
- #{registrationTime,jdbcType=TIMESTAMP}, #{ratepayCode,jdbcType=VARCHAR}, #{industry,jdbcType=INTEGER},
|
|
|
- #{enterpriseScale,jdbcType=VARCHAR}, #{registerType,jdbcType=VARCHAR}, #{foreignInvestment,jdbcType=VARCHAR},
|
|
|
- #{field,jdbcType=VARCHAR}, #{taxAuthority,jdbcType=INTEGER}, #{ratepayMethod,jdbcType=INTEGER},
|
|
|
- #{highTechZone,jdbcType=INTEGER}, #{riskInvestment,jdbcType=INTEGER}, #{businessScope,jdbcType=VARCHAR},
|
|
|
- #{highTechName,jdbcType=VARCHAR}, #{patentProryStatementUrl,jdbcType=VARCHAR},
|
|
|
- #{international,jdbcType=INTEGER}, #{reviewInstructions,jdbcType=VARCHAR}, #{investment,jdbcType=INTEGER},
|
|
|
- #{yearSalesAmount,jdbcType=DECIMAL}, #{lastYearResearchAmount,jdbcType=DECIMAL},
|
|
|
- #{assets,jdbcType=DECIMAL}, #{qualification,jdbcType=VARCHAR}, #{cooperationSituation,jdbcType=VARCHAR},
|
|
|
- #{honorPicture,jdbcType=VARCHAR}, #{salesTarget,jdbcType=VARCHAR}, #{intendedProject,jdbcType=VARCHAR},
|
|
|
- #{contactsDep,jdbcType=VARCHAR}, #{contactsPosition,jdbcType=VARCHAR})
|
|
|
+ <insert id="insert" parameterType="com.goafanti.common.model.OrganizationIdentity">
|
|
|
+ insert into organization_identity (id, `uid`, contacts,
|
|
|
+ contact_mobile, fixed_tel, qq,
|
|
|
+ postal_address, postcode, unit_name,
|
|
|
+ registered_capital, licence_number, licence_province,
|
|
|
+ licence_city, licence_area, licence_scanning_url,
|
|
|
+ org_code, org_code_url, bank_account,
|
|
|
+ banks, bank_branch, bank_card_number,
|
|
|
+ validation_amount, identity_type, location_province,
|
|
|
+ location_city, location_area, legal_person,
|
|
|
+ legal_person_id_card, last_year_tax_report_url,
|
|
|
+ audit_status, `process`, wrong_count,
|
|
|
+ payment_date, listed, listed_date,
|
|
|
+ listed_type, stock_code, certificate_number,
|
|
|
+ issuing_date, cog_contacts, tech_principal,
|
|
|
+ contacts_fixed_tel, contacts_fax, legal_person_tel,
|
|
|
+ legal_person_fax, legal_person_email, registration_time,
|
|
|
+ ratepay_code, industry, enterprise_scale,
|
|
|
+ register_type, foreign_investment, field,
|
|
|
+ tax_authority, ratepay_method, high_tech_zone,
|
|
|
+ risk_investment, business_scope, high_tech_name,
|
|
|
+ patent_prory_statement_url, international,
|
|
|
+ review_instructions, investment, year_sales_amount,
|
|
|
+ last_year_research_amount, assets, qualification,
|
|
|
+ cooperation_situation, honor_picture, sales_target,
|
|
|
+ intended_project, contacts_dep, contacts_position
|
|
|
+ )
|
|
|
+ values (#{id,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{contacts,jdbcType=VARCHAR},
|
|
|
+ #{contactMobile,jdbcType=VARCHAR}, #{fixedTel,jdbcType=VARCHAR}, #{qq,jdbcType=VARCHAR},
|
|
|
+ #{postalAddress,jdbcType=VARCHAR}, #{postcode,jdbcType=VARCHAR}, #{unitName,jdbcType=VARCHAR},
|
|
|
+ #{registeredCapital,jdbcType=DECIMAL}, #{licenceNumber,jdbcType=VARCHAR}, #{licenceProvince,jdbcType=INTEGER},
|
|
|
+ #{licenceCity,jdbcType=INTEGER}, #{licenceArea,jdbcType=INTEGER}, #{licenceScanningUrl,jdbcType=VARCHAR},
|
|
|
+ #{orgCode,jdbcType=VARCHAR}, #{orgCodeUrl,jdbcType=VARCHAR}, #{bankAccount,jdbcType=VARCHAR},
|
|
|
+ #{banks,jdbcType=VARCHAR}, #{bankBranch,jdbcType=VARCHAR}, #{bankCardNumber,jdbcType=VARCHAR},
|
|
|
+ #{validationAmount,jdbcType=DECIMAL}, #{identityType,jdbcType=INTEGER}, #{locationProvince,jdbcType=INTEGER},
|
|
|
+ #{locationCity,jdbcType=INTEGER}, #{locationArea,jdbcType=INTEGER}, #{legalPerson,jdbcType=VARCHAR},
|
|
|
+ #{legalPersonIdCard,jdbcType=VARCHAR}, #{lastYearTaxReportUrl,jdbcType=VARCHAR},
|
|
|
+ #{auditStatus,jdbcType=INTEGER}, #{process,jdbcType=INTEGER}, #{wrongCount,jdbcType=INTEGER},
|
|
|
+ #{paymentDate,jdbcType=TIMESTAMP}, #{listed,jdbcType=INTEGER}, #{listedDate,jdbcType=TIMESTAMP},
|
|
|
+ #{listedType,jdbcType=INTEGER}, #{stockCode,jdbcType=VARCHAR}, #{certificateNumber,jdbcType=VARCHAR},
|
|
|
+ #{issuingDate,jdbcType=TIMESTAMP}, #{cogContacts,jdbcType=INTEGER}, #{techPrincipal,jdbcType=VARCHAR},
|
|
|
+ #{contactsFixedTel,jdbcType=VARCHAR}, #{contactsFax,jdbcType=VARCHAR}, #{legalPersonTel,jdbcType=VARCHAR},
|
|
|
+ #{legalPersonFax,jdbcType=VARCHAR}, #{legalPersonEmail,jdbcType=VARCHAR}, #{registrationTime,jdbcType=TIMESTAMP},
|
|
|
+ #{ratepayCode,jdbcType=VARCHAR}, #{industry,jdbcType=INTEGER}, #{enterpriseScale,jdbcType=VARCHAR},
|
|
|
+ #{registerType,jdbcType=VARCHAR}, #{foreignInvestment,jdbcType=VARCHAR}, #{field,jdbcType=VARCHAR},
|
|
|
+ #{taxAuthority,jdbcType=INTEGER}, #{ratepayMethod,jdbcType=INTEGER}, #{highTechZone,jdbcType=INTEGER},
|
|
|
+ #{riskInvestment,jdbcType=INTEGER}, #{businessScope,jdbcType=VARCHAR}, #{highTechName,jdbcType=VARCHAR},
|
|
|
+ #{patentProryStatementUrl,jdbcType=VARCHAR}, #{international,jdbcType=INTEGER},
|
|
|
+ #{reviewInstructions,jdbcType=VARCHAR}, #{investment,jdbcType=INTEGER}, #{yearSalesAmount,jdbcType=DECIMAL},
|
|
|
+ #{lastYearResearchAmount,jdbcType=DECIMAL}, #{assets,jdbcType=DECIMAL}, #{qualification,jdbcType=VARCHAR},
|
|
|
+ #{cooperationSituation,jdbcType=VARCHAR}, #{honorPicture,jdbcType=VARCHAR}, #{salesTarget,jdbcType=VARCHAR},
|
|
|
+ #{intendedProject,jdbcType=VARCHAR}, #{contactsDep,jdbcType=VARCHAR}, #{contactsPosition,jdbcType=VARCHAR}
|
|
|
+ )
|
|
|
</insert>
|
|
|
- <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.OrganizationIdentity" useGeneratedKeys="true">
|
|
|
+ <insert id="insertSelective" parameterType="com.goafanti.common.model.OrganizationIdentity">
|
|
|
insert into organization_identity
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
+ id,
|
|
|
+ </if>
|
|
|
<if test="uid != null">
|
|
|
`uid`,
|
|
|
</if>
|
|
|
@@ -374,6 +379,9 @@
|
|
|
</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
+ #{id,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="uid != null">
|
|
|
#{uid,jdbcType=VARCHAR},
|
|
|
</if>
|