mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-16 15:58:41 +08:00
update 订单实时记录
This commit is contained in:
@@ -34,5 +34,5 @@ public class OrderMonitorData {
|
|||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
*/
|
*/
|
||||||
private LocalDateTime cerateTime;
|
private LocalDateTime createTime;
|
||||||
}
|
}
|
||||||
@@ -7,11 +7,11 @@
|
|||||||
<id column="id" jdbcType="INTEGER" property="id" />
|
<id column="id" jdbcType="INTEGER" property="id" />
|
||||||
<result column="order_code" jdbcType="VARCHAR" property="orderCode" />
|
<result column="order_code" jdbcType="VARCHAR" property="orderCode" />
|
||||||
<result column="monitor_data" jdbcType="VARCHAR" property="monitorData" />
|
<result column="monitor_data" jdbcType="VARCHAR" property="monitorData" />
|
||||||
<result column="cerate_time" jdbcType="TIMESTAMP" property="cerateTime" />
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Base_Column_List">
|
<sql id="Base_Column_List">
|
||||||
<!--@mbg.generated-->
|
<!--@mbg.generated-->
|
||||||
id, order_code, monitor_data, cerate_time
|
id, order_code, monitor_data, create_time
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||||
<!--@mbg.generated-->
|
<!--@mbg.generated-->
|
||||||
@@ -28,9 +28,9 @@
|
|||||||
<insert id="insert" parameterType="com.jsowell.pile.domain.OrderMonitorData">
|
<insert id="insert" parameterType="com.jsowell.pile.domain.OrderMonitorData">
|
||||||
<!--@mbg.generated-->
|
<!--@mbg.generated-->
|
||||||
insert into order_monitor_data (id, order_code, monitor_data,
|
insert into order_monitor_data (id, order_code, monitor_data,
|
||||||
cerate_time)
|
create_time)
|
||||||
values (#{id,jdbcType=INTEGER}, #{orderCode,jdbcType=VARCHAR}, #{monitorData,jdbcType=VARCHAR},
|
values (#{id,jdbcType=INTEGER}, #{orderCode,jdbcType=VARCHAR}, #{monitorData,jdbcType=VARCHAR},
|
||||||
#{cerateTime,jdbcType=TIMESTAMP})
|
#{createTime,jdbcType=TIMESTAMP})
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="com.jsowell.pile.domain.OrderMonitorData">
|
<insert id="insertSelective" parameterType="com.jsowell.pile.domain.OrderMonitorData">
|
||||||
<!--@mbg.generated-->
|
<!--@mbg.generated-->
|
||||||
@@ -45,8 +45,8 @@
|
|||||||
<if test="monitorData != null and monitorData != ''">
|
<if test="monitorData != null and monitorData != ''">
|
||||||
monitor_data,
|
monitor_data,
|
||||||
</if>
|
</if>
|
||||||
<if test="cerateTime != null">
|
<if test="createTime != null">
|
||||||
cerate_time,
|
create_time,
|
||||||
</if>
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
@@ -59,8 +59,8 @@
|
|||||||
<if test="monitorData != null and monitorData != ''">
|
<if test="monitorData != null and monitorData != ''">
|
||||||
#{monitorData,jdbcType=VARCHAR},
|
#{monitorData,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="cerateTime != null">
|
<if test="createTime != null">
|
||||||
#{cerateTime,jdbcType=TIMESTAMP},
|
#{createTime,jdbcType=TIMESTAMP},
|
||||||
</if>
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
@@ -74,8 +74,8 @@
|
|||||||
<if test="monitorData != null and monitorData != ''">
|
<if test="monitorData != null and monitorData != ''">
|
||||||
monitor_data = #{monitorData,jdbcType=VARCHAR},
|
monitor_data = #{monitorData,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="cerateTime != null">
|
<if test="createTime != null">
|
||||||
cerate_time = #{cerateTime,jdbcType=TIMESTAMP},
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||||
</if>
|
</if>
|
||||||
</set>
|
</set>
|
||||||
where id = #{id,jdbcType=INTEGER}
|
where id = #{id,jdbcType=INTEGER}
|
||||||
@@ -85,7 +85,7 @@
|
|||||||
update order_monitor_data
|
update order_monitor_data
|
||||||
set order_code = #{orderCode,jdbcType=VARCHAR},
|
set order_code = #{orderCode,jdbcType=VARCHAR},
|
||||||
monitor_data = #{monitorData,jdbcType=VARCHAR},
|
monitor_data = #{monitorData,jdbcType=VARCHAR},
|
||||||
cerate_time = #{cerateTime,jdbcType=TIMESTAMP}
|
create_time = #{createTime,jdbcType=TIMESTAMP}
|
||||||
where id = #{id,jdbcType=INTEGER}
|
where id = #{id,jdbcType=INTEGER}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
Reference in New Issue
Block a user