| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648 |
- <?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.goafanti.common.dao.OrganizationIdentityMapper" >
- <resultMap id="BaseResultMap" type="com.goafanti.common.model.OrganizationIdentity" >
- <id column="id" property="id" jdbcType="VARCHAR" />
- <result column="uid" property="uid" jdbcType="VARCHAR" />
- <result column="contacts" property="contacts" jdbcType="VARCHAR" />
- <result column="contact_mobile" property="contactMobile" jdbcType="VARCHAR" />
- <result column="fixed_tel" property="fixedTel" jdbcType="VARCHAR" />
- <result column="qq" property="qq" jdbcType="VARCHAR" />
- <result column="postal_address" property="postalAddress" jdbcType="VARCHAR" />
- <result column="postcode" property="postcode" jdbcType="VARCHAR" />
- <result column="aft_username" property="aftUsername" jdbcType="VARCHAR" />
- <result column="unit_name" property="unitName" jdbcType="VARCHAR" />
- <result column="registered_capital" property="registeredCapital" jdbcType="INTEGER" />
- <result column="licence_number" property="licenceNumber" jdbcType="VARCHAR" />
- <result column="licence_province" property="licenceProvince" jdbcType="VARCHAR" />
- <result column="licence_city" property="licenceCity" jdbcType="VARCHAR" />
- <result column="licence_area" property="licenceArea" jdbcType="VARCHAR" />
- <result column="licence_scanning_url" property="licenceScanningUrl" jdbcType="VARCHAR" />
- <result column="org_code" property="orgCode" jdbcType="VARCHAR" />
- <result column="org_code_url" property="orgCodeUrl" jdbcType="VARCHAR" />
- <result column="bank_account" property="bankAccount" jdbcType="VARCHAR" />
- <result column="banks" property="banks" jdbcType="VARCHAR" />
- <result column="bank_branch" property="bankBranch" jdbcType="VARCHAR" />
- <result column="bank_card_number" property="bankCardNumber" jdbcType="VARCHAR" />
- <result column="validation_amount" property="validationAmount" jdbcType="DECIMAL" />
- <result column="identity_type" property="identityType" jdbcType="INTEGER" />
- <result column="location_province" property="locationProvince" jdbcType="VARCHAR" />
- <result column="location_city" property="locationCity" jdbcType="VARCHAR" />
- <result column="location_area" property="locationArea" jdbcType="VARCHAR" />
- <result column="legal_person" property="legalPerson" jdbcType="VARCHAR" />
- <result column="legal_person_id_card" property="legalPersonIdCard" jdbcType="VARCHAR" />
- <result column="last_year_tax_report_url" property="lastYearTaxReportUrl" jdbcType="VARCHAR" />
- <result column="audit_status" property="auditStatus" jdbcType="INTEGER" />
- <result column="process" property="process" jdbcType="INTEGER" />
- <result column="wrong_count" property="wrongCount" jdbcType="INTEGER" />
- <result column="payment_date" property="paymentDate" jdbcType="TIMESTAMP" />
-
- <result column="first_contacts" property="firstContacts" jdbcType="VARCHAR" />
- <result column="first_mobile" property="firstMobile" jdbcType="VARCHAR" />
- <result column="second_contacts" property="secondContacts" jdbcType="VARCHAR" />
- <result column="second_mobile" property="secondMobile" jdbcType="VARCHAR" />
- <result column="third_contacts" property="thirdContacts" jdbcType="VARCHAR" />
- <result column="third_mobile" property="thirdMobile" jdbcType="VARCHAR" />
-
- <result column="listed" property="listed" jdbcType="INTEGER" />
- <result column="listed_date" property="listedDate" jdbcType="TIMESTAMP" />
- <result column="listed_type" property="listedType" jdbcType="INTEGER" />
- <result column="stock_code" property="stockCode" jdbcType="VARCHAR" />
-
- <result column="certificate_number" property="certificateNumber" jdbcType="VARCHAR" />
- <result column="issuing_date" property="issuingDate" jdbcType="TIMESTAMP" />
-
- <result column="cog_contacts" property="cogContacts" jdbcType="INTEGER" />
- <result column="consultant" property="consultant" jdbcType="VARCHAR" />
- </resultMap>
- <sql id="Base_Column_List" >
- id, uid, contacts, contact_mobile, fixed_tel, qq, postal_address, postcode, aft_username,
- 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, first_contacts, first_mobile, second_contacts, second_mobile, third_contacts ,third_mobile,
- listed, listed_date, listed_type, stock_code, certificate_number, issuing_date, cog_contacts, consultant
- </sql>
- <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
- select
- <include refid="Base_Column_List" />
- from organization_identity
- where id = #{id,jdbcType=VARCHAR}
- </select>
- <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
- delete from organization_identity
- where id = #{id,jdbcType=VARCHAR}
- </delete>
- <insert id="insert" parameterType="com.goafanti.common.model.OrganizationIdentity" >
- insert into organization_identity (id, uid, contacts,
- contact_mobile, fixed_tel, qq,
- postal_address, postcode, aft_username,
- 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,
- first_contacts, first_mobile, second_contacts,
- second_mobile, third_contacts , third_mobile,
- listed, listed_date, listed_type, stock_code,
- certificate_number, issuing_date, cog_contacts, consultant
- )
- 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}, #{aftUsername,jdbcType=VARCHAR},
- #{unitName,jdbcType=VARCHAR}, #{registeredCapital,jdbcType=INTEGER}, #{licenceNumber,jdbcType=VARCHAR},
- #{licenceProvince,jdbcType=VARCHAR}, #{licenceCity,jdbcType=VARCHAR}, #{licenceArea,jdbcType=VARCHAR},
- #{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=VARCHAR}, #{locationCity,jdbcType=VARCHAR}, #{locationArea,jdbcType=VARCHAR},
- #{legalPerson,jdbcType=VARCHAR}, #{legalPersonIdCard,jdbcType=VARCHAR}, #{lastYearTaxReportUrl,jdbcType=VARCHAR},
- #{auditStatus,jdbcType=INTEGER}, #{process,jdbcType=INTEGER}, #{wrongCount,jdbcType=INTEGER}, #{paymentDate,jdbcType=TIMESTAMP},
- #{firstContacts,jdbcType=VARCHAR}, #{firstMobile,jdbcType=VARCHAR}, #{secondContacts,jdbcType=VARCHAR},
- #{secondMobile,jdbcType=VARCHAR}, #{thirdContacts,jdbcType=VARCHAR}, #{thirdMobile,jdbcType=VARCHAR},
- #{listed,jdbcType=INTEGER}, #{listedDate,jdbcType=TIMESTAMP}, #{listedType,jdbcType=INTEGER}, #{stockCode,jdbcType=VARCHAR},
- #{certificateNumber,jdbcType=VARCHAR}, #{issuingDate,jdbcType=TIMESTAMP},
- #{cogContacts,jdbcType=INTEGER}, #{consultant,jdbcType=VARCHAR}
- )
- </insert>
- <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>
- <if test="contacts != null" >
- contacts,
- </if>
- <if test="contactMobile != null" >
- contact_mobile,
- </if>
- <if test="fixedTel != null" >
- fixed_tel,
- </if>
- <if test="qq != null" >
- qq,
- </if>
- <if test="postalAddress != null" >
- postal_address,
- </if>
- <if test="postcode != null" >
- postcode,
- </if>
- <if test="aftUsername != null" >
- aft_username,
- </if>
- <if test="unitName != null" >
- unit_name,
- </if>
- <if test="registeredCapital != null" >
- registered_capital,
- </if>
- <if test="licenceNumber != null" >
- licence_number,
- </if>
- <if test="licenceProvince != null" >
- licence_province,
- </if>
- <if test="licenceCity != null" >
- licence_city,
- </if>
- <if test="licenceArea != null" >
- licence_area,
- </if>
- <if test="licenceScanningUrl != null" >
- licence_scanning_url,
- </if>
- <if test="orgCode != null" >
- org_code,
- </if>
- <if test="orgCodeUrl != null" >
- org_code_url,
- </if>
- <if test="bankAccount != null" >
- bank_account,
- </if>
- <if test="banks != null" >
- banks,
- </if>
- <if test="bankBranch != null" >
- bank_branch,
- </if>
- <if test="bankCardNumber != null" >
- bank_card_number,
- </if>
- <if test="validationAmount != null" >
- validation_amount,
- </if>
- <if test="identityType != null" >
- identity_type,
- </if>
- <if test="locationProvince != null" >
- location_province,
- </if>
- <if test="locationCity != null" >
- location_city,
- </if>
- <if test="locationArea != null" >
- location_area,
- </if>
- <if test="legalPerson != null" >
- legal_person,
- </if>
- <if test="legalPersonIdCard != null" >
- legal_person_id_card,
- </if>
- <if test="lastYearTaxReportUrl != null" >
- last_year_tax_report_url,
- </if>
- <if test="auditStatus != null" >
- audit_status,
- </if>
- <if test="process != null" >
- process,
- </if>
- <if test="wrongCount != null" >
- wrong_count,
- </if>
- <if test="paymentDate != null" >
- payment_date,
- </if>
-
- <if test="firstContacts!= null">
- first_contacts,
- </if>
- <if test="firstMobile != null">
- first_mobile,
- </if>
- <if test="secondContacts != null">
- second_contacts,
- </if>
- <if test="secondMobile != null">
- second_mobile,
- </if>
- <if test="thirdContacts != null">
- third_contacts,
- </if>
- <if test="thirdMobile != null">
- third_mobile,
- </if>
-
- <if test="listed != null">
- listed,
- </if>
- <if test="listedDate != null">
- listed_date,
- </if>
- <if test="listedType != null">
- listed_type,
- </if>
- <if test="stockCode != null">
- stock_code,
- </if>
-
- <if test="certificateNumber != null">
- certificate_number,
- </if>
- <if test="issuingDate != null">
- issuing_date,
- </if>
-
- <if test="cogContacts != null">
- cog_contacts,
- </if>
- <if test="consultant != null">
- consultant,
- </if>
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides="," >
- <if test="id != null" >
- #{id,jdbcType=VARCHAR},
- </if>
- <if test="uid != null" >
- #{uid,jdbcType=VARCHAR},
- </if>
- <if test="contacts != null" >
- #{contacts,jdbcType=VARCHAR},
- </if>
- <if test="contactMobile != null" >
- #{contactMobile,jdbcType=VARCHAR},
- </if>
- <if test="fixedTel != null" >
- #{fixedTel,jdbcType=VARCHAR},
- </if>
- <if test="qq != null" >
- #{qq,jdbcType=VARCHAR},
- </if>
- <if test="postalAddress != null" >
- #{postalAddress,jdbcType=VARCHAR},
- </if>
- <if test="postcode != null" >
- #{postcode,jdbcType=VARCHAR},
- </if>
- <if test="aftUsername != null" >
- #{aftUsername,jdbcType=VARCHAR},
- </if>
- <if test="unitName != null" >
- #{unitName,jdbcType=VARCHAR},
- </if>
- <if test="registeredCapital != null" >
- #{registeredCapital,jdbcType=INTEGER},
- </if>
- <if test="licenceNumber != null" >
- #{licenceNumber,jdbcType=VARCHAR},
- </if>
- <if test="licenceProvince != null" >
- #{licenceProvince,jdbcType=VARCHAR},
- </if>
- <if test="licenceCity != null" >
- #{licenceCity,jdbcType=VARCHAR},
- </if>
- <if test="licenceArea != null" >
- #{licenceArea,jdbcType=VARCHAR},
- </if>
- <if test="licenceScanningUrl != null" >
- #{licenceScanningUrl,jdbcType=VARCHAR},
- </if>
- <if test="orgCode != null" >
- #{orgCode,jdbcType=VARCHAR},
- </if>
- <if test="orgCodeUrl != null" >
- #{orgCodeUrl,jdbcType=VARCHAR},
- </if>
- <if test="bankAccount != null" >
- #{bankAccount,jdbcType=VARCHAR},
- </if>
- <if test="banks != null" >
- #{banks,jdbcType=VARCHAR},
- </if>
- <if test="bankBranch != null" >
- #{bankBranch,jdbcType=VARCHAR},
- </if>
- <if test="bankCardNumber != null" >
- #{bankCardNumber,jdbcType=VARCHAR},
- </if>
- <if test="validationAmount != null" >
- #{validationAmount,jdbcType=DECIMAL},
- </if>
- <if test="identityType != null" >
- #{identityType,jdbcType=INTEGER},
- </if>
- <if test="locationProvince != null" >
- #{locationProvince,jdbcType=VARCHAR},
- </if>
- <if test="locationCity != null" >
- #{locationCity,jdbcType=VARCHAR},
- </if>
- <if test="locationArea != null" >
- #{locationArea,jdbcType=VARCHAR},
- </if>
- <if test="legalPerson != null" >
- #{legalPerson,jdbcType=VARCHAR},
- </if>
- <if test="legalPersonIdCard != null" >
- #{legalPersonIdCard,jdbcType=VARCHAR},
- </if>
- <if test="lastYearTaxReportUrl != null" >
- #{lastYearTaxReportUrl,jdbcType=VARCHAR},
- </if>
- <if test="auditStatus != null" >
- #{auditStatus,jdbcType=INTEGER},
- </if>
- <if test="process != null" >
- #{process,jdbcType=INTEGER},
- </if>
- <if test="wrongCount != null" >
- #{wrongCount,jdbcType=INTEGER},
- </if>
- <if test="paymentDate != null" >
- #{paymentDate,jdbcType=TIMESTAMP},
- </if>
-
- <if test="firstContacts!= null">
- #{firstContacts,jdbcType=VARCHAR},
- </if>
- <if test="firstMobile != null">
- #{firstMobile,jdbcType=VARCHAR},
- </if>
- <if test="secondContacts != null">
- #{secondContacts,jdbcType=VARCHAR},
- </if>
- <if test="secondMobile != null">
- #{secondMobile,jdbcType=VARCHAR},
- </if>
- <if test="thirdContacts != null">
- #{thirdContacts,jdbcType=VARCHAR},
- </if>
- <if test="thirdMobile != null">
- #{thirdMobile,jdbcType=VARCHAR},
- </if>
-
- <if test="listed != null" >
- #{listed,jdbcType=INTEGER},
- </if>
- <if test="listedDate != null" >
- #{listedDate,jdbcType=TIMESTAMP},
- </if>
- <if test="listedType != null" >
- #{listedType,jdbcType=INTEGER},
- </if>
- <if test="stockCode != null" >
- #{stockCode,jdbcType=VARCHAR},
- </if>
-
- <if test="certificateNumber != null" >
- #{certificateNumber,jdbcType=VARCHAR},
- </if>
- <if test="issuingDate != null" >
- #{issuingDate,jdbcType=TIMESTAMP},
- </if>
-
- <if test="cogContacts != null" >
- #{cogContacts,jdbcType=INTEGER},
- </if>
- <if test="consultant != null" >
- #{consultant,jdbcType=VARCHAR},
- </if>
- </trim>
- </insert>
- <update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.OrganizationIdentity" >
- update organization_identity
- <set >
- <if test="uid != null" >
- uid = #{uid,jdbcType=VARCHAR},
- </if>
- <if test="contacts != null" >
- contacts = #{contacts,jdbcType=VARCHAR},
- </if>
- <if test="contactMobile != null" >
- contact_mobile = #{contactMobile,jdbcType=VARCHAR},
- </if>
- <if test="fixedTel != null" >
- fixed_tel = #{fixedTel,jdbcType=VARCHAR},
- </if>
- <if test="qq != null" >
- qq = #{qq,jdbcType=VARCHAR},
- </if>
- <if test="postalAddress != null" >
- postal_address = #{postalAddress,jdbcType=VARCHAR},
- </if>
- <if test="postcode != null" >
- postcode = #{postcode,jdbcType=VARCHAR},
- </if>
- <if test="aftUsername != null" >
- aft_username = #{aftUsername,jdbcType=VARCHAR},
- </if>
- <if test="unitName != null" >
- unit_name = #{unitName,jdbcType=VARCHAR},
- </if>
- <if test="registeredCapital != null" >
- registered_capital = #{registeredCapital,jdbcType=INTEGER},
- </if>
- <if test="licenceNumber != null" >
- licence_number = #{licenceNumber,jdbcType=VARCHAR},
- </if>
- <if test="licenceProvince != null" >
- licence_province = #{licenceProvince,jdbcType=VARCHAR},
- </if>
- <if test="licenceCity != null" >
- licence_city = #{licenceCity,jdbcType=VARCHAR},
- </if>
- <if test="licenceArea != null" >
- licence_area = #{licenceArea,jdbcType=VARCHAR},
- </if>
- <if test="licenceScanningUrl != null" >
- licence_scanning_url = #{licenceScanningUrl,jdbcType=VARCHAR},
- </if>
- <if test="orgCode != null" >
- org_code = #{orgCode,jdbcType=VARCHAR},
- </if>
- <if test="orgCodeUrl != null" >
- org_code_url = #{orgCodeUrl,jdbcType=VARCHAR},
- </if>
- <if test="bankAccount != null" >
- bank_account = #{bankAccount,jdbcType=VARCHAR},
- </if>
- <if test="banks != null" >
- banks = #{banks,jdbcType=VARCHAR},
- </if>
- <if test="bankBranch != null" >
- bank_branch = #{bankBranch,jdbcType=VARCHAR},
- </if>
- <if test="bankCardNumber != null" >
- bank_card_number = #{bankCardNumber,jdbcType=VARCHAR},
- </if>
- <if test="validationAmount != null" >
- validation_amount = #{validationAmount,jdbcType=DECIMAL},
- </if>
- <if test="identityType != null" >
- identity_type = #{identityType,jdbcType=INTEGER},
- </if>
- <if test="locationProvince != null" >
- location_province = #{locationProvince,jdbcType=VARCHAR},
- </if>
- <if test="locationCity != null" >
- location_city = #{locationCity,jdbcType=VARCHAR},
- </if>
- <if test="locationArea != null" >
- location_area = #{locationArea,jdbcType=VARCHAR},
- </if>
- <if test="legalPerson != null" >
- legal_person = #{legalPerson,jdbcType=VARCHAR},
- </if>
- <if test="legalPersonIdCard != null" >
- legal_person_id_card = #{legalPersonIdCard,jdbcType=VARCHAR},
- </if>
- <if test="lastYearTaxReportUrl != null" >
- last_year_tax_report_url = #{lastYearTaxReportUrl,jdbcType=VARCHAR},
- </if>
- <if test="auditStatus != null" >
- audit_status = #{auditStatus,jdbcType=INTEGER},
- </if>
- <if test="process != null" >
- process = #{process,jdbcType=INTEGER},
- </if>
- <if test="wrongCount != null" >
- wrong_count = #{wrongCount,jdbcType=INTEGER},
- </if>
- <if test="paymentDate != null" >
- payment_date = #{paymentDate,jdbcType=TIMESTAMP},
- </if>
-
- <if test="firstContacts!= null">
- first_contacts = #{firstContacts,jdbcType=VARCHAR},
- </if>
- <if test="firstMobile != null">
- first_mobile = #{firstMobile,jdbcType=VARCHAR},
- </if>
- <if test="secondContacts != null">
- second_contacts = #{secondContacts,jdbcType=VARCHAR},
- </if>
- <if test="secondMobile != null">
- second_mobile = #{secondMobile,jdbcType=VARCHAR},
- </if>
- <if test="thirdContacts != null">
- third_contacts = #{thirdContacts,jdbcType=VARCHAR},
- </if>
- <if test="thirdMobile != null">
- third_mobile = #{thirdMobile,jdbcType=VARCHAR},
- </if>
-
- <if test="listed != null" >
- listed = #{listed,jdbcType=INTEGER},
- </if>
- <if test="listedDate != null" >
- listed_date = #{listedDate,jdbcType=TIMESTAMP},
- </if>
- <if test="listedType != null" >
- listed_type = #{listedType,jdbcType=INTEGER},
- </if>
- <if test="stockCode != null" >
- stock_code = #{stockCode,jdbcType=VARCHAR},
- </if>
-
- <if test="certificateNumber != null" >
- certificate_number = #{certificateNumber,jdbcType=VARCHAR},
- </if>
- <if test="issuingDate != null" >
- issuing_date = #{issuingDate,jdbcType=TIMESTAMP},
- </if>
-
- <if test="cogContacts != null" >
- cog_contacts = #{cogContacts,jdbcType=INTEGER},
- </if>
- <if test="consultant != null" >
- consultant = #{consultant,jdbcType=VARCHAR},
- </if>
- </set>
- where id = #{id,jdbcType=VARCHAR}
- </update>
- <update id="updateByPrimaryKey" parameterType="com.goafanti.common.model.OrganizationIdentity" >
- 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},
- aft_username = #{aftUsername,jdbcType=VARCHAR},
- unit_name = #{unitName,jdbcType=VARCHAR},
- registered_capital = #{registeredCapital,jdbcType=INTEGER},
- licence_number = #{licenceNumber,jdbcType=VARCHAR},
- licence_province = #{licenceProvince,jdbcType=VARCHAR},
- licence_city = #{licenceCity,jdbcType=VARCHAR},
- licence_area = #{licenceArea,jdbcType=VARCHAR},
- 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=VARCHAR},
- location_city = #{locationCity,jdbcType=VARCHAR},
- location_area = #{locationArea,jdbcType=VARCHAR},
- 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},
- first_contacts = #{firstContacts,jdbcType=VARCHAR},
- first_mobile = #{firstMobile,jdbcType=VARCHAR},
- second_contacts = #{secondContacts,jdbcType=VARCHAR},
- second_mobile = #{secondMobile,jdbcType=VARCHAR},
- third_contacts = #{thirdContacts,jdbcType=VARCHAR},
- third_mobile = #{thirdMobile,jdbcType=VARCHAR},
-
- 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},
- consultant = #{consultant,jdbcType=VARCHAR}
- }
- where id = #{id,jdbcType=VARCHAR}
- </update>
-
- <select id="selectOrgIdentityByUserId" parameterType="java.lang.String" resultMap="BaseResultMap">
- select
- <include refid="Base_Column_List" />
- from organization_identity
- where uid = #{uid,jdbcType=VARCHAR}
- </select>
-
-
- <select id="selectOrgIdentityBoByUserId" parameterType="java.lang.String" resultType="com.goafanti.user.bo.OrgIdentityBo">
- select t.id,t.uid,t.contacts,t.fixed_tel as fixedTel ,t.qq,t.postal_address as postalAddress ,t.postcode,
- t.first_contacts as firstContacts, t.first_mobile as firstMobile,
- t.second_contacts as secondContacts, t.second_mobile as secondMobile,
- t.third_contacts as thirdContacts, t.third_mobile as thirdMobile,
- u.email ,t.legal_person as legalPerson
- from user u LEFT JOIN organization_identity t
- on t.uid = u.id
- where t.uid=#{uid,jdbcType=VARCHAR}
- </select>
-
- <select id="selectAllOrgIndentity" resultMap="BaseResultMap">
- select
- <include refid="Base_Column_List" />
- from organization_identity where audit_status = 5
- </select>
-
-
- </mapper>
|