|
|
@@ -48,6 +48,7 @@
|
|
|
<result column="channel_id" jdbcType="VARCHAR" property="channelId" />
|
|
|
<result column="other" jdbcType="VARCHAR" property="other" />
|
|
|
<result column="user_type" jdbcType="INTEGER" property="userType" />
|
|
|
+ <result column="examine_name" jdbcType="VARCHAR" property="examineName" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
|
order_no, order_type, creater, create_time, update_time, buyer_id, first_amount,
|
|
|
@@ -57,7 +58,7 @@
|
|
|
contract_type, contacts, contact_mobile, legal_person, legal_person_tel, proof_count,
|
|
|
proof_aid, proof_time, proof_status, order_dep, outsource, additional_order, primary_order,
|
|
|
old_salesman_id, back_status, agreement_url, new_user, service_content, sales_type,
|
|
|
- channel_id, other, user_type
|
|
|
+ channel_id, other, user_type, examine_name
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
|
select
|
|
|
@@ -85,7 +86,7 @@
|
|
|
primary_order, old_salesman_id, back_status,
|
|
|
agreement_url, new_user, service_content,
|
|
|
sales_type, channel_id, other,
|
|
|
- user_type)
|
|
|
+ user_type, examine_name)
|
|
|
values (#{orderNo,jdbcType=VARCHAR}, #{orderType,jdbcType=INTEGER}, #{creater,jdbcType=VARCHAR},
|
|
|
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{buyerId,jdbcType=VARCHAR},
|
|
|
#{firstAmount,jdbcType=DECIMAL}, #{totalAmount,jdbcType=DECIMAL}, #{settlementAmount,jdbcType=DECIMAL},
|
|
|
@@ -101,7 +102,7 @@
|
|
|
#{primaryOrder,jdbcType=VARCHAR}, #{oldSalesmanId,jdbcType=VARCHAR}, #{backStatus,jdbcType=INTEGER},
|
|
|
#{agreementUrl,jdbcType=VARCHAR}, #{newUser,jdbcType=INTEGER}, #{serviceContent,jdbcType=VARCHAR},
|
|
|
#{salesType,jdbcType=INTEGER}, #{channelId,jdbcType=VARCHAR}, #{other,jdbcType=VARCHAR},
|
|
|
- #{userType,jdbcType=INTEGER})
|
|
|
+ #{userType,jdbcType=INTEGER}, #{examineName,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.goafanti.common.model.TOrderNew">
|
|
|
insert into t_order_new
|
|
|
@@ -244,6 +245,9 @@
|
|
|
<if test="userType != null">
|
|
|
user_type,
|
|
|
</if>
|
|
|
+ <if test="examineName != null">
|
|
|
+ examine_name,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="orderNo != null">
|
|
|
@@ -384,6 +388,9 @@
|
|
|
<if test="userType != null">
|
|
|
#{userType,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="examineName != null">
|
|
|
+ #{examineName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.TOrderNew">
|
|
|
@@ -524,6 +531,9 @@
|
|
|
<if test="userType != null">
|
|
|
user_type = #{userType,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="examineName != null">
|
|
|
+ examine_name = #{examineName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where order_no = #{orderNo,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
@@ -573,7 +583,8 @@
|
|
|
sales_type = #{salesType,jdbcType=INTEGER},
|
|
|
channel_id = #{channelId,jdbcType=VARCHAR},
|
|
|
other = #{other,jdbcType=VARCHAR},
|
|
|
- user_type = #{userType,jdbcType=INTEGER}
|
|
|
+ user_type = #{userType,jdbcType=INTEGER},
|
|
|
+ examine_name = #{examineName,jdbcType=VARCHAR}
|
|
|
where order_no = #{orderNo,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
|