|
|
@@ -7,7 +7,7 @@
|
|
|
<resultMap id="BaseResultMap" type="com.goafanti.common.model.TOrderPublicReleaseCount">
|
|
|
<id property="id" column="id" jdbcType="INTEGER"/>
|
|
|
<result property="orderNo" column="order_no" jdbcType="VARCHAR"/>
|
|
|
- <result property="status" column="status" jdbcType="DOUBLE"/>
|
|
|
+ <result property="status" column="status" jdbcType="INTEGER"/>
|
|
|
<result property="maxDuration" column="max_duration" jdbcType="DOUBLE"/>
|
|
|
<result property="actualDuration" column="actual_duration" jdbcType="DOUBLE"/>
|
|
|
<result property="exceedDuration" column="exceed_duration" jdbcType="DOUBLE"/>
|
|
|
@@ -29,7 +29,6 @@
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</select>
|
|
|
|
|
|
-
|
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
|
|
|
delete from t_order_public_release_count
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
@@ -40,7 +39,7 @@
|
|
|
,max_duration,actual_duration,exceed_duration
|
|
|
,people_count,frequency,create_time
|
|
|
)
|
|
|
- values (#{id,jdbcType=INTEGER},#{orderNo,jdbcType=VARCHAR},#{status,jdbcType=DOUBLE}
|
|
|
+ values (#{id,jdbcType=INTEGER},#{orderNo,jdbcType=VARCHAR},#{status,jdbcType=INTEGER}
|
|
|
,#{maxDuration,jdbcType=DOUBLE},#{actualDuration,jdbcType=DOUBLE},#{exceedDuration,jdbcType=DOUBLE}
|
|
|
,#{peopleCount,jdbcType=INTEGER},#{frequency,jdbcType=INTEGER},#{createTime,jdbcType=TIMESTAMP}
|
|
|
)
|
|
|
@@ -61,7 +60,7 @@
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">#{id,jdbcType=INTEGER},</if>
|
|
|
<if test="orderNo != null">#{orderNo,jdbcType=VARCHAR},</if>
|
|
|
- <if test="status != null">#{status,jdbcType=DOUBLE},</if>
|
|
|
+ <if test="status != null">#{status,jdbcType=INTEGER},</if>
|
|
|
<if test="maxDuration != null">#{maxDuration,jdbcType=DOUBLE},</if>
|
|
|
<if test="actualDuration != null">#{actualDuration,jdbcType=DOUBLE},</if>
|
|
|
<if test="exceedDuration != null">#{exceedDuration,jdbcType=DOUBLE},</if>
|
|
|
@@ -77,7 +76,7 @@
|
|
|
order_no = #{orderNo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="status != null">
|
|
|
- status = #{status,jdbcType=DOUBLE},
|
|
|
+ status = #{status,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="maxDuration != null">
|
|
|
max_duration = #{maxDuration,jdbcType=DOUBLE},
|
|
|
@@ -104,7 +103,7 @@
|
|
|
update t_order_public_release_count
|
|
|
set
|
|
|
order_no = #{orderNo,jdbcType=VARCHAR},
|
|
|
- status = #{status,jdbcType=DOUBLE},
|
|
|
+ status = #{status,jdbcType=INTEGER},
|
|
|
max_duration = #{maxDuration,jdbcType=DOUBLE},
|
|
|
actual_duration = #{actualDuration,jdbcType=DOUBLE},
|
|
|
exceed_duration = #{exceedDuration,jdbcType=DOUBLE},
|