|
|
@@ -54,7 +54,7 @@
|
|
|
<result property="examineName" column="examine_name" jdbcType="VARCHAR"/>
|
|
|
<result property="tag" column="tag" jdbcType="INTEGER"/>
|
|
|
<result property="patentStatus" column="patent_status" jdbcType="INTEGER"/>
|
|
|
- <result property="approvalType" column="approval_type" jdbcType="INTEGER"/>
|
|
|
+ <result property="approvalType" column="approval_type" jdbcType="VARCHAR"/>
|
|
|
<result property="approvalTypeExplain" column="approval_type_explain" jdbcType="VARCHAR"/>
|
|
|
</resultMap>
|
|
|
|
|
|
@@ -78,14 +78,14 @@
|
|
|
patent_status,approval_type,approval_type_explain
|
|
|
</sql>
|
|
|
|
|
|
- <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
|
+ <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
|
|
|
select
|
|
|
<include refid="Base_Column_List" />
|
|
|
from t_order_new
|
|
|
where order_no = #{orderNo,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
|
|
|
- <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
|
|
|
delete from t_order_new
|
|
|
where order_no = #{orderNo,jdbcType=VARCHAR}
|
|
|
</delete>
|
|
|
@@ -125,7 +125,7 @@
|
|
|
,#{agreementUrl,jdbcType=VARCHAR},#{newUser,jdbcType=INTEGER},#{serviceContent,jdbcType=VARCHAR}
|
|
|
,#{salesType,jdbcType=INTEGER},#{channelId,jdbcType=VARCHAR},#{other,jdbcType=VARCHAR}
|
|
|
,#{userType,jdbcType=INTEGER},#{examineName,jdbcType=VARCHAR},#{tag,jdbcType=INTEGER}
|
|
|
- ,#{patentStatus,jdbcType=INTEGER},#{approvalType,jdbcType=INTEGER},#{approvalTypeExplain,jdbcType=VARCHAR}
|
|
|
+ ,#{patentStatus,jdbcType=INTEGER},#{approvalType,jdbcType=VARCHAR},#{approvalTypeExplain,jdbcType=VARCHAR}
|
|
|
)
|
|
|
</insert>
|
|
|
<insert id="insertSelective" keyColumn="order_no" keyProperty="orderNo" parameterType="com.goafanti.common.model.TOrderNew" useGeneratedKeys="true">
|
|
|
@@ -233,7 +233,7 @@
|
|
|
<if test="examineName != null">#{examineName,jdbcType=VARCHAR},</if>
|
|
|
<if test="tag != null">#{tag,jdbcType=INTEGER},</if>
|
|
|
<if test="patentStatus != null">#{patentStatus,jdbcType=INTEGER},</if>
|
|
|
- <if test="approvalType != null">#{approvalType,jdbcType=INTEGER},</if>
|
|
|
+ <if test="approvalType != null">#{approvalType,jdbcType=VARCHAR},</if>
|
|
|
<if test="approvalTypeExplain != null">#{approvalTypeExplain,jdbcType=VARCHAR},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
@@ -385,7 +385,7 @@
|
|
|
patent_status = #{patentStatus,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="approvalType != null">
|
|
|
- approval_type = #{approvalType,jdbcType=INTEGER},
|
|
|
+ approval_type = #{approvalType,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="approvalTypeExplain != null">
|
|
|
approval_type_explain = #{approvalTypeExplain,jdbcType=VARCHAR},
|
|
|
@@ -444,7 +444,7 @@
|
|
|
examine_name = #{examineName,jdbcType=VARCHAR},
|
|
|
tag = #{tag,jdbcType=INTEGER},
|
|
|
patent_status = #{patentStatus,jdbcType=INTEGER},
|
|
|
- approval_type = #{approvalType,jdbcType=INTEGER},
|
|
|
+ approval_type = #{approvalType,jdbcType=VARCHAR},
|
|
|
approval_type_explain = #{approvalTypeExplain,jdbcType=VARCHAR}
|
|
|
where order_no = #{orderNo,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
@@ -2033,4 +2033,3 @@
|
|
|
</select>
|
|
|
|
|
|
</mapper>
|
|
|
-
|