|
|
@@ -5,7 +5,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed Jun 06 10:26:09 CST 2018.
|
|
|
+ This element was generated on Mon Jan 04 17:27:08 CST 2021.
|
|
|
-->
|
|
|
<id column="id" jdbcType="VARCHAR" property="id" />
|
|
|
<result column="uid" jdbcType="VARCHAR" property="uid" />
|
|
|
@@ -75,121 +75,53 @@
|
|
|
<result column="assets" jdbcType="DECIMAL" property="assets" />
|
|
|
<result column="qualification" jdbcType="VARCHAR" property="qualification" />
|
|
|
<result column="cooperation_situation" jdbcType="VARCHAR" property="cooperationSituation" />
|
|
|
+ <result column="sales_target" jdbcType="VARCHAR" property="salesTarget" />
|
|
|
</resultMap>
|
|
|
- <sql id="Example_Where_Clause">
|
|
|
+ <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.goafanti.common.model.OrganizationIdentity">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed Jun 06 10:26:09 CST 2018.
|
|
|
+ This element was generated on Mon Jan 04 17:27:08 CST 2021.
|
|
|
-->
|
|
|
- <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">
|
|
|
- <!--
|
|
|
- WARNING - @mbg.generated
|
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed Jun 06 10:26:09 CST 2018.
|
|
|
- -->
|
|
|
- <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>
|
|
|
+ <result column="honor_picture" jdbcType="LONGVARCHAR" property="honorPicture" />
|
|
|
+ </resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed Jun 06 10:26:09 CST 2018.
|
|
|
+ This element was generated on Mon Jan 04 17:27:08 CST 2021.
|
|
|
-->
|
|
|
- id, uid, contacts, contact_mobile, fixed_tel, qq, postal_address, postcode, unit_name,
|
|
|
+ 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,
|
|
|
+ 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
|
|
|
+ assets, qualification, cooperation_situation, sales_target
|
|
|
</sql>
|
|
|
- <select id="selectByExample" parameterType="com.goafanti.common.model.OrganizationIdentityExample" resultMap="BaseResultMap">
|
|
|
+ <sql id="Blob_Column_List">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed Jun 06 10:26:09 CST 2018.
|
|
|
+ This element was generated on Mon Jan 04 17:27:08 CST 2021.
|
|
|
-->
|
|
|
- select
|
|
|
- <if test="distinct">
|
|
|
- distinct
|
|
|
- </if>
|
|
|
- <include refid="Base_Column_List" />
|
|
|
- from organization_identity
|
|
|
- <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="BaseResultMap">
|
|
|
+ honor_picture
|
|
|
+ </sql>
|
|
|
+ <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed Jun 06 10:26:09 CST 2018.
|
|
|
+ This element was generated on Mon Jan 04 17:27:08 CST 2021.
|
|
|
-->
|
|
|
select
|
|
|
<include refid="Base_Column_List" />
|
|
|
+ ,
|
|
|
+ <include refid="Blob_Column_List" />
|
|
|
from organization_identity
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
@@ -197,29 +129,18 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed Jun 06 10:26:09 CST 2018.
|
|
|
+ This element was generated on Mon Jan 04 17:27:08 CST 2021.
|
|
|
-->
|
|
|
delete from organization_identity
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</delete>
|
|
|
- <delete id="deleteByExample" parameterType="com.goafanti.common.model.OrganizationIdentityExample">
|
|
|
- <!--
|
|
|
- WARNING - @mbg.generated
|
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed Jun 06 10:26:09 CST 2018.
|
|
|
- -->
|
|
|
- delete from organization_identity
|
|
|
- <if test="_parameter != null">
|
|
|
- <include refid="Example_Where_Clause" />
|
|
|
- </if>
|
|
|
- </delete>
|
|
|
<insert id="insert" parameterType="com.goafanti.common.model.OrganizationIdentity">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed Jun 06 10:26:09 CST 2018.
|
|
|
+ This element was generated on Mon Jan 04 17:27:08 CST 2021.
|
|
|
-->
|
|
|
- insert into organization_identity (id, uid, contacts,
|
|
|
+ insert into organization_identity (id, `uid`, contacts,
|
|
|
contact_mobile, fixed_tel, qq,
|
|
|
postal_address, postcode, unit_name,
|
|
|
registered_capital, licence_number, licence_province,
|
|
|
@@ -229,7 +150,7 @@
|
|
|
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,
|
|
|
+ audit_status, `process`, wrong_count,
|
|
|
payment_date, listed, listed_date,
|
|
|
listed_type, stock_code, certificate_number,
|
|
|
issuing_date, cog_contacts, tech_principal,
|
|
|
@@ -242,7 +163,8 @@
|
|
|
patent_prory_statement_url, international,
|
|
|
review_instructions, investment, year_sales_amount,
|
|
|
last_year_research_amount, assets, qualification,
|
|
|
- cooperation_situation)
|
|
|
+ cooperation_situation, sales_target, honor_picture
|
|
|
+ )
|
|
|
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},
|
|
|
@@ -266,13 +188,14 @@
|
|
|
#{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})
|
|
|
+ #{cooperationSituation,jdbcType=VARCHAR}, #{salesTarget,jdbcType=VARCHAR}, #{honorPicture,jdbcType=LONGVARCHAR}
|
|
|
+ )
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.goafanti.common.model.OrganizationIdentity">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed Jun 06 10:26:09 CST 2018.
|
|
|
+ This element was generated on Mon Jan 04 17:27:08 CST 2021.
|
|
|
-->
|
|
|
insert into organization_identity
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
@@ -280,7 +203,7 @@
|
|
|
id,
|
|
|
</if>
|
|
|
<if test="uid != null">
|
|
|
- uid,
|
|
|
+ `uid`,
|
|
|
</if>
|
|
|
<if test="contacts != null">
|
|
|
contacts,
|
|
|
@@ -367,7 +290,7 @@
|
|
|
audit_status,
|
|
|
</if>
|
|
|
<if test="process != null">
|
|
|
- process,
|
|
|
+ `process`,
|
|
|
</if>
|
|
|
<if test="wrongCount != null">
|
|
|
wrong_count,
|
|
|
@@ -480,6 +403,12 @@
|
|
|
<if test="cooperationSituation != null">
|
|
|
cooperation_situation,
|
|
|
</if>
|
|
|
+ <if test="salesTarget != null">
|
|
|
+ sales_target,
|
|
|
+ </if>
|
|
|
+ <if test="honorPicture != null">
|
|
|
+ honor_picture,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
|
@@ -686,325 +615,24 @@
|
|
|
<if test="cooperationSituation != null">
|
|
|
#{cooperationSituation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- </trim>
|
|
|
- </insert>
|
|
|
- <select id="countByExample" parameterType="com.goafanti.common.model.OrganizationIdentityExample" resultType="java.lang.Long">
|
|
|
- <!--
|
|
|
- WARNING - @mbg.generated
|
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed Jun 06 10:26:09 CST 2018.
|
|
|
- -->
|
|
|
- select count(*) from organization_identity
|
|
|
- <if test="_parameter != null">
|
|
|
- <include refid="Example_Where_Clause" />
|
|
|
- </if>
|
|
|
- </select>
|
|
|
- <update id="updateByExampleSelective" parameterType="map">
|
|
|
- <!--
|
|
|
- WARNING - @mbg.generated
|
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed Jun 06 10:26:09 CST 2018.
|
|
|
- -->
|
|
|
- update organization_identity
|
|
|
- <set>
|
|
|
- <if test="record.id != null">
|
|
|
- id = #{record.id,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.uid != null">
|
|
|
- uid = #{record.uid,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.contacts != null">
|
|
|
- contacts = #{record.contacts,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.contactMobile != null">
|
|
|
- contact_mobile = #{record.contactMobile,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.fixedTel != null">
|
|
|
- fixed_tel = #{record.fixedTel,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.qq != null">
|
|
|
- qq = #{record.qq,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.postalAddress != null">
|
|
|
- postal_address = #{record.postalAddress,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.postcode != null">
|
|
|
- postcode = #{record.postcode,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.unitName != null">
|
|
|
- unit_name = #{record.unitName,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.registeredCapital != null">
|
|
|
- registered_capital = #{record.registeredCapital,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="record.licenceNumber != null">
|
|
|
- licence_number = #{record.licenceNumber,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.licenceProvince != null">
|
|
|
- licence_province = #{record.licenceProvince,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.licenceCity != null">
|
|
|
- licence_city = #{record.licenceCity,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.licenceArea != null">
|
|
|
- licence_area = #{record.licenceArea,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.licenceScanningUrl != null">
|
|
|
- licence_scanning_url = #{record.licenceScanningUrl,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.orgCode != null">
|
|
|
- org_code = #{record.orgCode,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.orgCodeUrl != null">
|
|
|
- org_code_url = #{record.orgCodeUrl,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.bankAccount != null">
|
|
|
- bank_account = #{record.bankAccount,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.banks != null">
|
|
|
- banks = #{record.banks,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.bankBranch != null">
|
|
|
- bank_branch = #{record.bankBranch,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.bankCardNumber != null">
|
|
|
- bank_card_number = #{record.bankCardNumber,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.validationAmount != null">
|
|
|
- validation_amount = #{record.validationAmount,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="record.identityType != null">
|
|
|
- identity_type = #{record.identityType,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.locationProvince != null">
|
|
|
- location_province = #{record.locationProvince,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.locationCity != null">
|
|
|
- location_city = #{record.locationCity,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.locationArea != null">
|
|
|
- location_area = #{record.locationArea,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.legalPerson != null">
|
|
|
- legal_person = #{record.legalPerson,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.legalPersonIdCard != null">
|
|
|
- legal_person_id_card = #{record.legalPersonIdCard,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.lastYearTaxReportUrl != null">
|
|
|
- last_year_tax_report_url = #{record.lastYearTaxReportUrl,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.auditStatus != null">
|
|
|
- audit_status = #{record.auditStatus,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.process != null">
|
|
|
- process = #{record.process,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.wrongCount != null">
|
|
|
- wrong_count = #{record.wrongCount,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.paymentDate != null">
|
|
|
- payment_date = #{record.paymentDate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="record.listed != null">
|
|
|
- listed = #{record.listed,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.listedDate != null">
|
|
|
- listed_date = #{record.listedDate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="record.listedType != null">
|
|
|
- listed_type = #{record.listedType,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.stockCode != null">
|
|
|
- stock_code = #{record.stockCode,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.certificateNumber != null">
|
|
|
- certificate_number = #{record.certificateNumber,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.issuingDate != null">
|
|
|
- issuing_date = #{record.issuingDate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="record.cogContacts != null">
|
|
|
- cog_contacts = #{record.cogContacts,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.techPrincipal != null">
|
|
|
- tech_principal = #{record.techPrincipal,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.contactsFixedTel != null">
|
|
|
- contacts_fixed_tel = #{record.contactsFixedTel,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.contactsFax != null">
|
|
|
- contacts_fax = #{record.contactsFax,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.legalPersonTel != null">
|
|
|
- legal_person_tel = #{record.legalPersonTel,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.legalPersonFax != null">
|
|
|
- legal_person_fax = #{record.legalPersonFax,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.legalPersonEmail != null">
|
|
|
- legal_person_email = #{record.legalPersonEmail,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.registrationTime != null">
|
|
|
- registration_time = #{record.registrationTime,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="record.ratepayCode != null">
|
|
|
- ratepay_code = #{record.ratepayCode,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.industry != null">
|
|
|
- industry = #{record.industry,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.enterpriseScale != null">
|
|
|
- enterprise_scale = #{record.enterpriseScale,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.registerType != null">
|
|
|
- register_type = #{record.registerType,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.foreignInvestment != null">
|
|
|
- foreign_investment = #{record.foreignInvestment,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.field != null">
|
|
|
- field = #{record.field,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.taxAuthority != null">
|
|
|
- tax_authority = #{record.taxAuthority,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.ratepayMethod != null">
|
|
|
- ratepay_method = #{record.ratepayMethod,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.highTechZone != null">
|
|
|
- high_tech_zone = #{record.highTechZone,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.riskInvestment != null">
|
|
|
- risk_investment = #{record.riskInvestment,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.businessScope != null">
|
|
|
- business_scope = #{record.businessScope,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.highTechName != null">
|
|
|
- high_tech_name = #{record.highTechName,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.patentProryStatementUrl != null">
|
|
|
- patent_prory_statement_url = #{record.patentProryStatementUrl,jdbcType=VARCHAR},
|
|
|
+ <if test="salesTarget != null">
|
|
|
+ #{salesTarget,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.international != null">
|
|
|
- international = #{record.international,jdbcType=INTEGER},
|
|
|
+ <if test="honorPicture != null">
|
|
|
+ #{honorPicture,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.reviewInstructions != null">
|
|
|
- review_instructions = #{record.reviewInstructions,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.investment != null">
|
|
|
- investment = #{record.investment,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.yearSalesAmount != null">
|
|
|
- year_sales_amount = #{record.yearSalesAmount,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="record.lastYearResearchAmount != null">
|
|
|
- last_year_research_amount = #{record.lastYearResearchAmount,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="record.assets != null">
|
|
|
- assets = #{record.assets,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="record.qualification != null">
|
|
|
- qualification = #{record.qualification,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.cooperationSituation != null">
|
|
|
- cooperation_situation = #{record.cooperationSituation,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- </set>
|
|
|
- <if test="_parameter != null">
|
|
|
- <include refid="Update_By_Example_Where_Clause" />
|
|
|
- </if>
|
|
|
- </update>
|
|
|
- <update id="updateByExample" parameterType="map">
|
|
|
- <!--
|
|
|
- WARNING - @mbg.generated
|
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed Jun 06 10:26:09 CST 2018.
|
|
|
- -->
|
|
|
- update organization_identity
|
|
|
- set id = #{record.id,jdbcType=VARCHAR},
|
|
|
- uid = #{record.uid,jdbcType=VARCHAR},
|
|
|
- contacts = #{record.contacts,jdbcType=VARCHAR},
|
|
|
- contact_mobile = #{record.contactMobile,jdbcType=VARCHAR},
|
|
|
- fixed_tel = #{record.fixedTel,jdbcType=VARCHAR},
|
|
|
- qq = #{record.qq,jdbcType=VARCHAR},
|
|
|
- postal_address = #{record.postalAddress,jdbcType=VARCHAR},
|
|
|
- postcode = #{record.postcode,jdbcType=VARCHAR},
|
|
|
- unit_name = #{record.unitName,jdbcType=VARCHAR},
|
|
|
- registered_capital = #{record.registeredCapital,jdbcType=DECIMAL},
|
|
|
- licence_number = #{record.licenceNumber,jdbcType=VARCHAR},
|
|
|
- licence_province = #{record.licenceProvince,jdbcType=INTEGER},
|
|
|
- licence_city = #{record.licenceCity,jdbcType=INTEGER},
|
|
|
- licence_area = #{record.licenceArea,jdbcType=INTEGER},
|
|
|
- licence_scanning_url = #{record.licenceScanningUrl,jdbcType=VARCHAR},
|
|
|
- org_code = #{record.orgCode,jdbcType=VARCHAR},
|
|
|
- org_code_url = #{record.orgCodeUrl,jdbcType=VARCHAR},
|
|
|
- bank_account = #{record.bankAccount,jdbcType=VARCHAR},
|
|
|
- banks = #{record.banks,jdbcType=VARCHAR},
|
|
|
- bank_branch = #{record.bankBranch,jdbcType=VARCHAR},
|
|
|
- bank_card_number = #{record.bankCardNumber,jdbcType=VARCHAR},
|
|
|
- validation_amount = #{record.validationAmount,jdbcType=DECIMAL},
|
|
|
- identity_type = #{record.identityType,jdbcType=INTEGER},
|
|
|
- location_province = #{record.locationProvince,jdbcType=INTEGER},
|
|
|
- location_city = #{record.locationCity,jdbcType=INTEGER},
|
|
|
- location_area = #{record.locationArea,jdbcType=INTEGER},
|
|
|
- legal_person = #{record.legalPerson,jdbcType=VARCHAR},
|
|
|
- legal_person_id_card = #{record.legalPersonIdCard,jdbcType=VARCHAR},
|
|
|
- last_year_tax_report_url = #{record.lastYearTaxReportUrl,jdbcType=VARCHAR},
|
|
|
- audit_status = #{record.auditStatus,jdbcType=INTEGER},
|
|
|
- process = #{record.process,jdbcType=INTEGER},
|
|
|
- wrong_count = #{record.wrongCount,jdbcType=INTEGER},
|
|
|
- payment_date = #{record.paymentDate,jdbcType=TIMESTAMP},
|
|
|
- listed = #{record.listed,jdbcType=INTEGER},
|
|
|
- listed_date = #{record.listedDate,jdbcType=TIMESTAMP},
|
|
|
- listed_type = #{record.listedType,jdbcType=INTEGER},
|
|
|
- stock_code = #{record.stockCode,jdbcType=VARCHAR},
|
|
|
- certificate_number = #{record.certificateNumber,jdbcType=VARCHAR},
|
|
|
- issuing_date = #{record.issuingDate,jdbcType=TIMESTAMP},
|
|
|
- cog_contacts = #{record.cogContacts,jdbcType=INTEGER},
|
|
|
- tech_principal = #{record.techPrincipal,jdbcType=VARCHAR},
|
|
|
- contacts_fixed_tel = #{record.contactsFixedTel,jdbcType=VARCHAR},
|
|
|
- contacts_fax = #{record.contactsFax,jdbcType=VARCHAR},
|
|
|
- legal_person_tel = #{record.legalPersonTel,jdbcType=VARCHAR},
|
|
|
- legal_person_fax = #{record.legalPersonFax,jdbcType=VARCHAR},
|
|
|
- legal_person_email = #{record.legalPersonEmail,jdbcType=VARCHAR},
|
|
|
- registration_time = #{record.registrationTime,jdbcType=TIMESTAMP},
|
|
|
- ratepay_code = #{record.ratepayCode,jdbcType=VARCHAR},
|
|
|
- industry = #{record.industry,jdbcType=INTEGER},
|
|
|
- enterprise_scale = #{record.enterpriseScale,jdbcType=VARCHAR},
|
|
|
- register_type = #{record.registerType,jdbcType=VARCHAR},
|
|
|
- foreign_investment = #{record.foreignInvestment,jdbcType=VARCHAR},
|
|
|
- field = #{record.field,jdbcType=VARCHAR},
|
|
|
- tax_authority = #{record.taxAuthority,jdbcType=INTEGER},
|
|
|
- ratepay_method = #{record.ratepayMethod,jdbcType=INTEGER},
|
|
|
- high_tech_zone = #{record.highTechZone,jdbcType=INTEGER},
|
|
|
- risk_investment = #{record.riskInvestment,jdbcType=INTEGER},
|
|
|
- business_scope = #{record.businessScope,jdbcType=VARCHAR},
|
|
|
- high_tech_name = #{record.highTechName,jdbcType=VARCHAR},
|
|
|
- patent_prory_statement_url = #{record.patentProryStatementUrl,jdbcType=VARCHAR},
|
|
|
- international = #{record.international,jdbcType=INTEGER},
|
|
|
- review_instructions = #{record.reviewInstructions,jdbcType=VARCHAR},
|
|
|
- investment = #{record.investment,jdbcType=INTEGER},
|
|
|
- year_sales_amount = #{record.yearSalesAmount,jdbcType=DECIMAL},
|
|
|
- last_year_research_amount = #{record.lastYearResearchAmount,jdbcType=DECIMAL},
|
|
|
- assets = #{record.assets,jdbcType=DECIMAL},
|
|
|
- qualification = #{record.qualification,jdbcType=VARCHAR},
|
|
|
- cooperation_situation = #{record.cooperationSituation,jdbcType=VARCHAR}
|
|
|
- <if test="_parameter != null">
|
|
|
- <include refid="Update_By_Example_Where_Clause" />
|
|
|
- </if>
|
|
|
- </update>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.OrganizationIdentity">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed Jun 06 10:26:09 CST 2018.
|
|
|
+ This element was generated on Mon Jan 04 17:27:08 CST 2021.
|
|
|
-->
|
|
|
update organization_identity
|
|
|
<set>
|
|
|
<if test="uid != null">
|
|
|
- uid = #{uid,jdbcType=VARCHAR},
|
|
|
+ `uid` = #{uid,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="contacts != null">
|
|
|
contacts = #{contacts,jdbcType=VARCHAR},
|
|
|
@@ -1091,7 +719,7 @@
|
|
|
audit_status = #{auditStatus,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="process != null">
|
|
|
- process = #{process,jdbcType=INTEGER},
|
|
|
+ `process` = #{process,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="wrongCount != null">
|
|
|
wrong_count = #{wrongCount,jdbcType=INTEGER},
|
|
|
@@ -1204,17 +832,101 @@
|
|
|
<if test="cooperationSituation != null">
|
|
|
cooperation_situation = #{cooperationSituation,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="salesTarget != null">
|
|
|
+ sales_target = #{salesTarget,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="honorPicture != null">
|
|
|
+ honor_picture = #{honorPicture,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
+ <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.goafanti.common.model.OrganizationIdentity">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Mon Jan 04 17:27:08 CST 2021.
|
|
|
+ -->
|
|
|
+ update organization_identity
|
|
|
+ set `uid` = #{uid,jdbcType=VARCHAR},
|
|
|
+ contacts = #{contacts,jdbcType=VARCHAR},
|
|
|
+ contact_mobile = #{contactMobile,jdbcType=VARCHAR},
|
|
|
+ fixed_tel = #{fixedTel,jdbcType=VARCHAR},
|
|
|
+ qq = #{qq,jdbcType=VARCHAR},
|
|
|
+ postal_address = #{postalAddress,jdbcType=VARCHAR},
|
|
|
+ postcode = #{postcode,jdbcType=VARCHAR},
|
|
|
+ unit_name = #{unitName,jdbcType=VARCHAR},
|
|
|
+ registered_capital = #{registeredCapital,jdbcType=DECIMAL},
|
|
|
+ licence_number = #{licenceNumber,jdbcType=VARCHAR},
|
|
|
+ licence_province = #{licenceProvince,jdbcType=INTEGER},
|
|
|
+ licence_city = #{licenceCity,jdbcType=INTEGER},
|
|
|
+ licence_area = #{licenceArea,jdbcType=INTEGER},
|
|
|
+ licence_scanning_url = #{licenceScanningUrl,jdbcType=VARCHAR},
|
|
|
+ org_code = #{orgCode,jdbcType=VARCHAR},
|
|
|
+ org_code_url = #{orgCodeUrl,jdbcType=VARCHAR},
|
|
|
+ bank_account = #{bankAccount,jdbcType=VARCHAR},
|
|
|
+ banks = #{banks,jdbcType=VARCHAR},
|
|
|
+ bank_branch = #{bankBranch,jdbcType=VARCHAR},
|
|
|
+ bank_card_number = #{bankCardNumber,jdbcType=VARCHAR},
|
|
|
+ validation_amount = #{validationAmount,jdbcType=DECIMAL},
|
|
|
+ identity_type = #{identityType,jdbcType=INTEGER},
|
|
|
+ location_province = #{locationProvince,jdbcType=INTEGER},
|
|
|
+ location_city = #{locationCity,jdbcType=INTEGER},
|
|
|
+ location_area = #{locationArea,jdbcType=INTEGER},
|
|
|
+ legal_person = #{legalPerson,jdbcType=VARCHAR},
|
|
|
+ legal_person_id_card = #{legalPersonIdCard,jdbcType=VARCHAR},
|
|
|
+ last_year_tax_report_url = #{lastYearTaxReportUrl,jdbcType=VARCHAR},
|
|
|
+ audit_status = #{auditStatus,jdbcType=INTEGER},
|
|
|
+ `process` = #{process,jdbcType=INTEGER},
|
|
|
+ wrong_count = #{wrongCount,jdbcType=INTEGER},
|
|
|
+ payment_date = #{paymentDate,jdbcType=TIMESTAMP},
|
|
|
+ listed = #{listed,jdbcType=INTEGER},
|
|
|
+ listed_date = #{listedDate,jdbcType=TIMESTAMP},
|
|
|
+ listed_type = #{listedType,jdbcType=INTEGER},
|
|
|
+ stock_code = #{stockCode,jdbcType=VARCHAR},
|
|
|
+ certificate_number = #{certificateNumber,jdbcType=VARCHAR},
|
|
|
+ issuing_date = #{issuingDate,jdbcType=TIMESTAMP},
|
|
|
+ cog_contacts = #{cogContacts,jdbcType=INTEGER},
|
|
|
+ tech_principal = #{techPrincipal,jdbcType=VARCHAR},
|
|
|
+ contacts_fixed_tel = #{contactsFixedTel,jdbcType=VARCHAR},
|
|
|
+ contacts_fax = #{contactsFax,jdbcType=VARCHAR},
|
|
|
+ legal_person_tel = #{legalPersonTel,jdbcType=VARCHAR},
|
|
|
+ legal_person_fax = #{legalPersonFax,jdbcType=VARCHAR},
|
|
|
+ legal_person_email = #{legalPersonEmail,jdbcType=VARCHAR},
|
|
|
+ registration_time = #{registrationTime,jdbcType=TIMESTAMP},
|
|
|
+ ratepay_code = #{ratepayCode,jdbcType=VARCHAR},
|
|
|
+ industry = #{industry,jdbcType=INTEGER},
|
|
|
+ enterprise_scale = #{enterpriseScale,jdbcType=VARCHAR},
|
|
|
+ register_type = #{registerType,jdbcType=VARCHAR},
|
|
|
+ foreign_investment = #{foreignInvestment,jdbcType=VARCHAR},
|
|
|
+ field = #{field,jdbcType=VARCHAR},
|
|
|
+ tax_authority = #{taxAuthority,jdbcType=INTEGER},
|
|
|
+ ratepay_method = #{ratepayMethod,jdbcType=INTEGER},
|
|
|
+ high_tech_zone = #{highTechZone,jdbcType=INTEGER},
|
|
|
+ risk_investment = #{riskInvestment,jdbcType=INTEGER},
|
|
|
+ business_scope = #{businessScope,jdbcType=VARCHAR},
|
|
|
+ high_tech_name = #{highTechName,jdbcType=VARCHAR},
|
|
|
+ patent_prory_statement_url = #{patentProryStatementUrl,jdbcType=VARCHAR},
|
|
|
+ international = #{international,jdbcType=INTEGER},
|
|
|
+ review_instructions = #{reviewInstructions,jdbcType=VARCHAR},
|
|
|
+ investment = #{investment,jdbcType=INTEGER},
|
|
|
+ year_sales_amount = #{yearSalesAmount,jdbcType=DECIMAL},
|
|
|
+ last_year_research_amount = #{lastYearResearchAmount,jdbcType=DECIMAL},
|
|
|
+ assets = #{assets,jdbcType=DECIMAL},
|
|
|
+ qualification = #{qualification,jdbcType=VARCHAR},
|
|
|
+ cooperation_situation = #{cooperationSituation,jdbcType=VARCHAR},
|
|
|
+ sales_target = #{salesTarget,jdbcType=VARCHAR},
|
|
|
+ honor_picture = #{honorPicture,jdbcType=LONGVARCHAR}
|
|
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
<update id="updateByPrimaryKey" parameterType="com.goafanti.common.model.OrganizationIdentity">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed Jun 06 10:26:09 CST 2018.
|
|
|
+ This element was generated on Mon Jan 04 17:27:08 CST 2021.
|
|
|
-->
|
|
|
update organization_identity
|
|
|
- set uid = #{uid,jdbcType=VARCHAR},
|
|
|
+ set `uid` = #{uid,jdbcType=VARCHAR},
|
|
|
contacts = #{contacts,jdbcType=VARCHAR},
|
|
|
contact_mobile = #{contactMobile,jdbcType=VARCHAR},
|
|
|
fixed_tel = #{fixedTel,jdbcType=VARCHAR},
|
|
|
@@ -1243,7 +955,7 @@
|
|
|
legal_person_id_card = #{legalPersonIdCard,jdbcType=VARCHAR},
|
|
|
last_year_tax_report_url = #{lastYearTaxReportUrl,jdbcType=VARCHAR},
|
|
|
audit_status = #{auditStatus,jdbcType=INTEGER},
|
|
|
- process = #{process,jdbcType=INTEGER},
|
|
|
+ `process` = #{process,jdbcType=INTEGER},
|
|
|
wrong_count = #{wrongCount,jdbcType=INTEGER},
|
|
|
payment_date = #{paymentDate,jdbcType=TIMESTAMP},
|
|
|
listed = #{listed,jdbcType=INTEGER},
|
|
|
@@ -1280,7 +992,8 @@
|
|
|
last_year_research_amount = #{lastYearResearchAmount,jdbcType=DECIMAL},
|
|
|
assets = #{assets,jdbcType=DECIMAL},
|
|
|
qualification = #{qualification,jdbcType=VARCHAR},
|
|
|
- cooperation_situation = #{cooperationSituation,jdbcType=VARCHAR}
|
|
|
+ cooperation_situation = #{cooperationSituation,jdbcType=VARCHAR},
|
|
|
+ sales_target = #{salesTarget,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
<select id="selectOrgIdentityByUserId" parameterType="java.lang.String" resultMap="BaseResultMap">
|