|
@@ -247,12 +247,8 @@
|
|
|
#{consultantId,jdbcType=VARCHAR}, #{managerId,jdbcType=VARCHAR}, #{outsource,jdbcType=INTEGER},
|
|
#{consultantId,jdbcType=VARCHAR}, #{managerId,jdbcType=VARCHAR}, #{outsource,jdbcType=INTEGER},
|
|
|
#{attachmentUrl,jdbcType=LONGVARCHAR})
|
|
#{attachmentUrl,jdbcType=LONGVARCHAR})
|
|
|
</insert>
|
|
</insert>
|
|
|
- <insert id="insertSelective" parameterType="com.goafanti.common.model.TOrderTask">
|
|
|
|
|
- <!--
|
|
|
|
|
- WARNING - @mbg.generated
|
|
|
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
- This element was generated on Thu Mar 05 14:35:19 CST 2020.
|
|
|
|
|
- -->
|
|
|
|
|
|
|
+ <insert id="insertSelective" parameterType="com.goafanti.common.model.TOrderTask" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
|
|
|
|
|
+
|
|
|
insert into t_order_task
|
|
insert into t_order_task
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
<if test="id != null">
|
|
@@ -480,6 +476,9 @@
|
|
|
#{attachmentUrl,jdbcType=LONGVARCHAR},
|
|
#{attachmentUrl,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
|
|
+ <selectKey resultType="int" keyProperty="id" order="AFTER">
|
|
|
|
|
+ SELECT LAST_INSERT_ID()
|
|
|
|
|
+ </selectKey>
|
|
|
</insert>
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.goafanti.common.model.TOrderTaskExample" resultType="java.lang.Long">
|
|
<select id="countByExample" parameterType="com.goafanti.common.model.TOrderTaskExample" resultType="java.lang.Long">
|
|
|
<!--
|
|
<!--
|