|
|
@@ -43,6 +43,11 @@
|
|
|
<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="stock_code" jdbcType="VARCHAR" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List" >
|
|
|
id, uid, contacts, contact_mobile, fixed_tel, qq, postal_address, postcode, aft_username,
|
|
|
@@ -50,7 +55,8 @@
|
|
|
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
|
|
|
+ payment_date, first_contacts, first_mobile, second_contacts, second_mobile, third_contacts ,third_mobile,
|
|
|
+ listed, listed_date, listed_type, stock_code
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
|
|
|
select
|
|
|
@@ -75,7 +81,8 @@
|
|
|
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
|
|
|
+ second_mobile, third_contacts , third_mobile,
|
|
|
+ listed, listed_date, listed_type, stock_code
|
|
|
)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{contacts,jdbcType=VARCHAR},
|
|
|
#{contactMobile,jdbcType=VARCHAR}, #{fixedTel,jdbcType=VARCHAR}, #{qq,jdbcType=VARCHAR},
|
|
|
@@ -89,7 +96,8 @@
|
|
|
#{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}
|
|
|
+ #{secondMobile,jdbcType=VARCHAR}, #{thirdContacts,jdbcType=VARCHAR}, #{thirdMobile,jdbcType=VARCHAR},
|
|
|
+ #{listed,jdbcType=INTEGER}, #{listedDate,jdbcType=TIMESTAMP}, #{listedType,jdbcType=INTEGER}, #{stockCode,jdbcType=VARCHAR}
|
|
|
)
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.goafanti.common.model.OrganizationIdentity" >
|
|
|
@@ -216,6 +224,19 @@
|
|
|
<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>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
<if test="id != null" >
|
|
|
@@ -339,6 +360,19 @@
|
|
|
<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>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.OrganizationIdentity" >
|
|
|
@@ -462,6 +496,19 @@
|
|
|
<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>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
@@ -505,7 +552,12 @@
|
|
|
second_contacts = #{secondContacts,jdbcType=VARCHAR},
|
|
|
second_mobile = #{secondMobile,jdbcType=VARCHAR},
|
|
|
third_contacts = #{thirdContacts,jdbcType=VARCHAR},
|
|
|
- third_mobile = #{thirdMobile,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}
|
|
|
}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|