|
|
@@ -48,6 +48,12 @@
|
|
|
<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,
|
|
|
@@ -56,7 +62,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,
|
|
|
payment_date, first_contacts, first_mobile, second_contacts, second_mobile, third_contacts ,third_mobile,
|
|
|
- listed, listed_date, listed_type, stock_code
|
|
|
+ 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
|
|
|
@@ -82,7 +88,8 @@
|
|
|
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
|
|
|
+ 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},
|
|
|
@@ -97,7 +104,9 @@
|
|
|
#{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}
|
|
|
+ #{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" >
|
|
|
@@ -237,6 +246,20 @@
|
|
|
<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" >
|
|
|
@@ -373,6 +396,20 @@
|
|
|
<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" >
|
|
|
@@ -509,6 +546,20 @@
|
|
|
<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>
|
|
|
@@ -557,7 +608,13 @@
|
|
|
listed = #{listed,jdbcType=INTEGER},
|
|
|
listed_date = #{listedDate,jdbcType=TIMESTAMP},
|
|
|
listed_type = #{listedType,jdbcType=INTEGER},
|
|
|
- stock_code = #{stockCode,jdbcType=VARCHAR}
|
|
|
+ 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>
|