|
|
@@ -67,7 +67,6 @@
|
|
|
<result column="picture_url" jdbcType="VARCHAR" property="pictureUrl" />
|
|
|
<result column="satisfaction_degree" jdbcType="INTEGER" property="satisfactionDegree" />
|
|
|
<result column="satisfaction_degree_url" jdbcType="VARCHAR" property="satisfactionDegreeUrl" />
|
|
|
- <result column="tag" jdbcType="INTEGER" property="tag" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
|
id, order_no, main, super_id, commodity_id, commodity_name, commodity_quantity, commodity_mode,
|
|
|
@@ -80,7 +79,7 @@
|
|
|
declaration_batch, cost_reduction, official_cost, set_up_status, set_up_time, spot_check_status,
|
|
|
high_tech_status, special_comment, if_certification_fee, certification_fee, certification_corporate,
|
|
|
time_record, if_publicity, check_status, patent_type, pubicity_url, process_status,
|
|
|
- member_type, picture_url, satisfaction_degree, satisfaction_degree_url, tag
|
|
|
+ member_type, picture_url, satisfaction_degree, satisfaction_degree_url
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
|
|
select
|
|
|
@@ -114,8 +113,8 @@
|
|
|
certification_corporate, time_record, if_publicity,
|
|
|
check_status, patent_type, pubicity_url,
|
|
|
process_status, member_type, picture_url,
|
|
|
- satisfaction_degree, satisfaction_degree_url,
|
|
|
- tag)
|
|
|
+ satisfaction_degree, satisfaction_degree_url
|
|
|
+ )
|
|
|
values (#{orderNo,jdbcType=VARCHAR}, #{main,jdbcType=INTEGER}, #{superId,jdbcType=VARCHAR},
|
|
|
#{commodityId,jdbcType=VARCHAR}, #{commodityName,jdbcType=VARCHAR}, #{commodityQuantity,jdbcType=INTEGER},
|
|
|
#{commodityMode,jdbcType=VARCHAR}, #{commodityPrice,jdbcType=DECIMAL}, #{taskStatus,jdbcType=INTEGER},
|
|
|
@@ -137,8 +136,8 @@
|
|
|
#{certificationCorporate,jdbcType=VARCHAR}, #{timeRecord,jdbcType=VARCHAR}, #{ifPublicity,jdbcType=INTEGER},
|
|
|
#{checkStatus,jdbcType=INTEGER}, #{patentType,jdbcType=INTEGER}, #{pubicityUrl,jdbcType=VARCHAR},
|
|
|
#{processStatus,jdbcType=INTEGER}, #{memberType,jdbcType=INTEGER}, #{pictureUrl,jdbcType=VARCHAR},
|
|
|
- #{satisfactionDegree,jdbcType=INTEGER}, #{satisfactionDegreeUrl,jdbcType=VARCHAR},
|
|
|
- #{tag,jdbcType=INTEGER})
|
|
|
+ #{satisfactionDegree,jdbcType=INTEGER}, #{satisfactionDegreeUrl,jdbcType=VARCHAR}
|
|
|
+ )
|
|
|
</insert>
|
|
|
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.TOrderTask" useGeneratedKeys="true">
|
|
|
insert into t_order_task
|
|
|
@@ -335,9 +334,6 @@
|
|
|
<if test="satisfactionDegreeUrl != null">
|
|
|
satisfaction_degree_url,
|
|
|
</if>
|
|
|
- <if test="tag != null">
|
|
|
- tag,
|
|
|
- </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="orderNo != null">
|
|
|
@@ -532,9 +528,6 @@
|
|
|
<if test="satisfactionDegreeUrl != null">
|
|
|
#{satisfactionDegreeUrl,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="tag != null">
|
|
|
- #{tag,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.TOrderTask">
|
|
|
@@ -732,9 +725,6 @@
|
|
|
<if test="satisfactionDegreeUrl != null">
|
|
|
satisfaction_degree_url = #{satisfactionDegreeUrl,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="tag != null">
|
|
|
- tag = #{tag,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
@@ -803,8 +793,7 @@
|
|
|
member_type = #{memberType,jdbcType=INTEGER},
|
|
|
picture_url = #{pictureUrl,jdbcType=VARCHAR},
|
|
|
satisfaction_degree = #{satisfactionDegree,jdbcType=INTEGER},
|
|
|
- satisfaction_degree_url = #{satisfactionDegreeUrl,jdbcType=VARCHAR},
|
|
|
- tag = #{tag,jdbcType=INTEGER}
|
|
|
+ satisfaction_degree_url = #{satisfactionDegreeUrl,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
|
|
|
@@ -1004,9 +993,6 @@
|
|
|
<if test="satisfactionDegreeUrl != null">
|
|
|
satisfaction_degree_url = #{satisfactionDegreeUrl,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="tag != null">
|
|
|
- tag = #{tag,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
</set>
|
|
|
where split_super = #{splitSuper,jdbcType=INTEGER}
|
|
|
</update>
|