|
|
@ -49,6 +49,7 @@ |
|
|
<result column="created_at" jdbcType="BIGINT" property="createdAt" /> |
|
|
<result column="created_at" jdbcType="BIGINT" property="createdAt" /> |
|
|
<result column="created_time" jdbcType="TIMESTAMP" property="createdTime" /> |
|
|
<result column="created_time" jdbcType="TIMESTAMP" property="createdTime" /> |
|
|
<result column="receive_timestamp" jdbcType="BIGINT" property="receiveTimestamp" /> |
|
|
<result column="receive_timestamp" jdbcType="BIGINT" property="receiveTimestamp" /> |
|
|
|
|
|
<result column="send_timestamp" jdbcType="BIGINT" property="sendTimestamp" /> |
|
|
<result column="expired_flag" jdbcType="INTEGER" property="expiredFlag" /> |
|
|
<result column="expired_flag" jdbcType="INTEGER" property="expiredFlag" /> |
|
|
<result column="alert_history_id" jdbcType="BIGINT" property="alertHistoryId" /> |
|
|
<result column="alert_history_id" jdbcType="BIGINT" property="alertHistoryId" /> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
@ -137,7 +138,7 @@ |
|
|
phone, remark, display_color, error_reason, line_type, area_name, send_date, send_time, |
|
|
phone, remark, display_color, error_reason, line_type, area_name, send_date, send_time, |
|
|
customer_no, display_data1, display_data2, instruction_flag, signal_code, card_no, |
|
|
customer_no, display_data1, display_data2, instruction_flag, signal_code, card_no, |
|
|
card_type, mansion_building, mansion_room, option_field, created_at, created_time, |
|
|
card_type, mansion_building, mansion_room, option_field, created_at, created_time, |
|
|
receive_timestamp, expired_flag, alert_history_id |
|
|
receive_timestamp, send_timestamp, expired_flag, alert_history_id |
|
|
</sql> |
|
|
</sql> |
|
|
<sql id="Blob_Column_List"> |
|
|
<sql id="Blob_Column_List"> |
|
|
<!-- |
|
|
<!-- |
|
|
@ -238,8 +239,8 @@ |
|
|
signal_code, card_no, card_type, |
|
|
signal_code, card_no, card_type, |
|
|
mansion_building, mansion_room, option_field, |
|
|
mansion_building, mansion_room, option_field, |
|
|
created_at, created_time, receive_timestamp, |
|
|
created_at, created_time, receive_timestamp, |
|
|
expired_flag, alert_history_id, raw_hex, |
|
|
send_timestamp, expired_flag, alert_history_id, |
|
|
raw_text) |
|
|
raw_hex, raw_text) |
|
|
values (#{deviceId,jdbcType=VARCHAR}, #{companyId,jdbcType=BIGINT}, #{serialNo,jdbcType=VARCHAR}, |
|
|
values (#{deviceId,jdbcType=VARCHAR}, #{companyId,jdbcType=BIGINT}, #{serialNo,jdbcType=VARCHAR}, |
|
|
#{mode,jdbcType=VARCHAR}, #{signalSeq,jdbcType=VARCHAR}, #{receiveDate,jdbcType=VARCHAR}, |
|
|
#{mode,jdbcType=VARCHAR}, #{signalSeq,jdbcType=VARCHAR}, #{receiveDate,jdbcType=VARCHAR}, |
|
|
#{receiveTime,jdbcType=VARCHAR}, #{channelNo,jdbcType=VARCHAR}, #{testFlag,jdbcType=VARCHAR}, |
|
|
#{receiveTime,jdbcType=VARCHAR}, #{channelNo,jdbcType=VARCHAR}, #{testFlag,jdbcType=VARCHAR}, |
|
|
@ -254,8 +255,8 @@ |
|
|
#{signalCode,jdbcType=VARCHAR}, #{cardNo,jdbcType=VARCHAR}, #{cardType,jdbcType=VARCHAR}, |
|
|
#{signalCode,jdbcType=VARCHAR}, #{cardNo,jdbcType=VARCHAR}, #{cardType,jdbcType=VARCHAR}, |
|
|
#{mansionBuilding,jdbcType=VARCHAR}, #{mansionRoom,jdbcType=VARCHAR}, #{optionField,jdbcType=VARCHAR}, |
|
|
#{mansionBuilding,jdbcType=VARCHAR}, #{mansionRoom,jdbcType=VARCHAR}, #{optionField,jdbcType=VARCHAR}, |
|
|
#{createdAt,jdbcType=BIGINT}, #{createdTime,jdbcType=TIMESTAMP}, #{receiveTimestamp,jdbcType=BIGINT}, |
|
|
#{createdAt,jdbcType=BIGINT}, #{createdTime,jdbcType=TIMESTAMP}, #{receiveTimestamp,jdbcType=BIGINT}, |
|
|
#{expiredFlag,jdbcType=INTEGER}, #{alertHistoryId,jdbcType=BIGINT}, #{rawHex,jdbcType=LONGVARCHAR}, |
|
|
#{sendTimestamp,jdbcType=BIGINT}, #{expiredFlag,jdbcType=INTEGER}, #{alertHistoryId,jdbcType=BIGINT}, |
|
|
#{rawText,jdbcType=LONGVARCHAR}) |
|
|
#{rawHex,jdbcType=LONGVARCHAR}, #{rawText,jdbcType=LONGVARCHAR}) |
|
|
</insert> |
|
|
</insert> |
|
|
<insert id="insertSelective" parameterType="com.techsor.datacenter.business.model.F10JournalLog"> |
|
|
<insert id="insertSelective" parameterType="com.techsor.datacenter.business.model.F10JournalLog"> |
|
|
<!-- |
|
|
<!-- |
|
|
@ -393,6 +394,9 @@ |
|
|
<if test="receiveTimestamp != null"> |
|
|
<if test="receiveTimestamp != null"> |
|
|
receive_timestamp, |
|
|
receive_timestamp, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="sendTimestamp != null"> |
|
|
|
|
|
send_timestamp, |
|
|
|
|
|
</if> |
|
|
<if test="expiredFlag != null"> |
|
|
<if test="expiredFlag != null"> |
|
|
expired_flag, |
|
|
expired_flag, |
|
|
</if> |
|
|
</if> |
|
|
@ -533,6 +537,9 @@ |
|
|
<if test="receiveTimestamp != null"> |
|
|
<if test="receiveTimestamp != null"> |
|
|
#{receiveTimestamp,jdbcType=BIGINT}, |
|
|
#{receiveTimestamp,jdbcType=BIGINT}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="sendTimestamp != null"> |
|
|
|
|
|
#{sendTimestamp,jdbcType=BIGINT}, |
|
|
|
|
|
</if> |
|
|
<if test="expiredFlag != null"> |
|
|
<if test="expiredFlag != null"> |
|
|
#{expiredFlag,jdbcType=INTEGER}, |
|
|
#{expiredFlag,jdbcType=INTEGER}, |
|
|
</if> |
|
|
</if> |
|
|
@ -693,6 +700,9 @@ |
|
|
<if test="record.receiveTimestamp != null"> |
|
|
<if test="record.receiveTimestamp != null"> |
|
|
receive_timestamp = #{record.receiveTimestamp,jdbcType=BIGINT}, |
|
|
receive_timestamp = #{record.receiveTimestamp,jdbcType=BIGINT}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="record.sendTimestamp != null"> |
|
|
|
|
|
send_timestamp = #{record.sendTimestamp,jdbcType=BIGINT}, |
|
|
|
|
|
</if> |
|
|
<if test="record.expiredFlag != null"> |
|
|
<if test="record.expiredFlag != null"> |
|
|
expired_flag = #{record.expiredFlag,jdbcType=INTEGER}, |
|
|
expired_flag = #{record.expiredFlag,jdbcType=INTEGER}, |
|
|
</if> |
|
|
</if> |
|
|
@ -759,6 +769,7 @@ |
|
|
created_at = #{record.createdAt,jdbcType=BIGINT}, |
|
|
created_at = #{record.createdAt,jdbcType=BIGINT}, |
|
|
created_time = #{record.createdTime,jdbcType=TIMESTAMP}, |
|
|
created_time = #{record.createdTime,jdbcType=TIMESTAMP}, |
|
|
receive_timestamp = #{record.receiveTimestamp,jdbcType=BIGINT}, |
|
|
receive_timestamp = #{record.receiveTimestamp,jdbcType=BIGINT}, |
|
|
|
|
|
send_timestamp = #{record.sendTimestamp,jdbcType=BIGINT}, |
|
|
expired_flag = #{record.expiredFlag,jdbcType=INTEGER}, |
|
|
expired_flag = #{record.expiredFlag,jdbcType=INTEGER}, |
|
|
alert_history_id = #{record.alertHistoryId,jdbcType=BIGINT}, |
|
|
alert_history_id = #{record.alertHistoryId,jdbcType=BIGINT}, |
|
|
raw_hex = #{record.rawHex,jdbcType=LONGVARCHAR}, |
|
|
raw_hex = #{record.rawHex,jdbcType=LONGVARCHAR}, |
|
|
@ -816,6 +827,7 @@ |
|
|
created_at = #{record.createdAt,jdbcType=BIGINT}, |
|
|
created_at = #{record.createdAt,jdbcType=BIGINT}, |
|
|
created_time = #{record.createdTime,jdbcType=TIMESTAMP}, |
|
|
created_time = #{record.createdTime,jdbcType=TIMESTAMP}, |
|
|
receive_timestamp = #{record.receiveTimestamp,jdbcType=BIGINT}, |
|
|
receive_timestamp = #{record.receiveTimestamp,jdbcType=BIGINT}, |
|
|
|
|
|
send_timestamp = #{record.sendTimestamp,jdbcType=BIGINT}, |
|
|
expired_flag = #{record.expiredFlag,jdbcType=INTEGER}, |
|
|
expired_flag = #{record.expiredFlag,jdbcType=INTEGER}, |
|
|
alert_history_id = #{record.alertHistoryId,jdbcType=BIGINT} |
|
|
alert_history_id = #{record.alertHistoryId,jdbcType=BIGINT} |
|
|
<if test="_parameter != null"> |
|
|
<if test="_parameter != null"> |
|
|
@ -955,6 +967,9 @@ |
|
|
<if test="receiveTimestamp != null"> |
|
|
<if test="receiveTimestamp != null"> |
|
|
receive_timestamp = #{receiveTimestamp,jdbcType=BIGINT}, |
|
|
receive_timestamp = #{receiveTimestamp,jdbcType=BIGINT}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="sendTimestamp != null"> |
|
|
|
|
|
send_timestamp = #{sendTimestamp,jdbcType=BIGINT}, |
|
|
|
|
|
</if> |
|
|
<if test="expiredFlag != null"> |
|
|
<if test="expiredFlag != null"> |
|
|
expired_flag = #{expiredFlag,jdbcType=INTEGER}, |
|
|
expired_flag = #{expiredFlag,jdbcType=INTEGER}, |
|
|
</if> |
|
|
</if> |
|
|
@ -1018,6 +1033,7 @@ |
|
|
created_at = #{createdAt,jdbcType=BIGINT}, |
|
|
created_at = #{createdAt,jdbcType=BIGINT}, |
|
|
created_time = #{createdTime,jdbcType=TIMESTAMP}, |
|
|
created_time = #{createdTime,jdbcType=TIMESTAMP}, |
|
|
receive_timestamp = #{receiveTimestamp,jdbcType=BIGINT}, |
|
|
receive_timestamp = #{receiveTimestamp,jdbcType=BIGINT}, |
|
|
|
|
|
send_timestamp = #{sendTimestamp,jdbcType=BIGINT}, |
|
|
expired_flag = #{expiredFlag,jdbcType=INTEGER}, |
|
|
expired_flag = #{expiredFlag,jdbcType=INTEGER}, |
|
|
alert_history_id = #{alertHistoryId,jdbcType=BIGINT}, |
|
|
alert_history_id = #{alertHistoryId,jdbcType=BIGINT}, |
|
|
raw_hex = #{rawHex,jdbcType=LONGVARCHAR}, |
|
|
raw_hex = #{rawHex,jdbcType=LONGVARCHAR}, |
|
|
@ -1072,6 +1088,7 @@ |
|
|
created_at = #{createdAt,jdbcType=BIGINT}, |
|
|
created_at = #{createdAt,jdbcType=BIGINT}, |
|
|
created_time = #{createdTime,jdbcType=TIMESTAMP}, |
|
|
created_time = #{createdTime,jdbcType=TIMESTAMP}, |
|
|
receive_timestamp = #{receiveTimestamp,jdbcType=BIGINT}, |
|
|
receive_timestamp = #{receiveTimestamp,jdbcType=BIGINT}, |
|
|
|
|
|
send_timestamp = #{sendTimestamp,jdbcType=BIGINT}, |
|
|
expired_flag = #{expiredFlag,jdbcType=INTEGER}, |
|
|
expired_flag = #{expiredFlag,jdbcType=INTEGER}, |
|
|
alert_history_id = #{alertHistoryId,jdbcType=BIGINT} |
|
|
alert_history_id = #{alertHistoryId,jdbcType=BIGINT} |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
|