|
|
@ -8,6 +8,7 @@ |
|
|
|
<result column="max_t" jdbcType="DECIMAL" property="maxT" /> |
|
|
|
<result column="max_tx" jdbcType="VARCHAR" property="maxTx" /> |
|
|
|
<result column="max_ty" jdbcType="VARCHAR" property="maxTy" /> |
|
|
|
<result column="record_time" jdbcType="BIGINT" property="recordTime" /> |
|
|
|
<result column="equipment_id" jdbcType="BIGINT" property="equipmentId" /> |
|
|
|
<result column="warehouse_id" jdbcType="BIGINT" property="warehouseId" /> |
|
|
|
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" /> |
|
|
@ -76,8 +77,8 @@ |
|
|
|
</where> |
|
|
|
</sql> |
|
|
|
<sql id="Base_Column_List"> |
|
|
|
id, num_value, num_type, max_t, max_tx, max_ty, equipment_id, warehouse_id, created_at, |
|
|
|
updated_at, rec_status |
|
|
|
id, num_value, num_type, max_t, max_tx, max_ty, record_time, equipment_id, warehouse_id, |
|
|
|
created_at, updated_at, rec_status |
|
|
|
</sql> |
|
|
|
<sql id="Blob_Column_List"> |
|
|
|
image_data |
|
|
@ -133,14 +134,14 @@ |
|
|
|
<insert id="insert" parameterType="com.ccsens.logistics.bean.po.LogisticsHeatImagingRecord"> |
|
|
|
insert into t_logistics_heat_imaging_record (id, num_value, num_type, |
|
|
|
max_t, max_tx, max_ty, |
|
|
|
equipment_id, warehouse_id, created_at, |
|
|
|
updated_at, rec_status, image_data |
|
|
|
) |
|
|
|
record_time, equipment_id, warehouse_id, |
|
|
|
created_at, updated_at, rec_status, |
|
|
|
image_data) |
|
|
|
values (#{id,jdbcType=BIGINT}, #{numValue,jdbcType=DECIMAL}, #{numType,jdbcType=TINYINT}, |
|
|
|
#{maxT,jdbcType=DECIMAL}, #{maxTx,jdbcType=VARCHAR}, #{maxTy,jdbcType=VARCHAR}, |
|
|
|
#{equipmentId,jdbcType=BIGINT}, #{warehouseId,jdbcType=BIGINT}, #{createdAt,jdbcType=TIMESTAMP}, |
|
|
|
#{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}, #{imageData,jdbcType=LONGVARCHAR} |
|
|
|
) |
|
|
|
#{recordTime,jdbcType=BIGINT}, #{equipmentId,jdbcType=BIGINT}, #{warehouseId,jdbcType=BIGINT}, |
|
|
|
#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}, |
|
|
|
#{imageData,jdbcType=LONGVARCHAR}) |
|
|
|
</insert> |
|
|
|
<insert id="insertSelective" parameterType="com.ccsens.logistics.bean.po.LogisticsHeatImagingRecord"> |
|
|
|
insert into t_logistics_heat_imaging_record |
|
|
@ -163,6 +164,9 @@ |
|
|
|
<if test="maxTy != null"> |
|
|
|
max_ty, |
|
|
|
</if> |
|
|
|
<if test="recordTime != null"> |
|
|
|
record_time, |
|
|
|
</if> |
|
|
|
<if test="equipmentId != null"> |
|
|
|
equipment_id, |
|
|
|
</if> |
|
|
@ -201,6 +205,9 @@ |
|
|
|
<if test="maxTy != null"> |
|
|
|
#{maxTy,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="recordTime != null"> |
|
|
|
#{recordTime,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
|
<if test="equipmentId != null"> |
|
|
|
#{equipmentId,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
@ -248,6 +255,9 @@ |
|
|
|
<if test="record.maxTy != null"> |
|
|
|
max_ty = #{record.maxTy,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="record.recordTime != null"> |
|
|
|
record_time = #{record.recordTime,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
|
<if test="record.equipmentId != null"> |
|
|
|
equipment_id = #{record.equipmentId,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
@ -279,6 +289,7 @@ |
|
|
|
max_t = #{record.maxT,jdbcType=DECIMAL}, |
|
|
|
max_tx = #{record.maxTx,jdbcType=VARCHAR}, |
|
|
|
max_ty = #{record.maxTy,jdbcType=VARCHAR}, |
|
|
|
record_time = #{record.recordTime,jdbcType=BIGINT}, |
|
|
|
equipment_id = #{record.equipmentId,jdbcType=BIGINT}, |
|
|
|
warehouse_id = #{record.warehouseId,jdbcType=BIGINT}, |
|
|
|
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
|
|
@ -297,6 +308,7 @@ |
|
|
|
max_t = #{record.maxT,jdbcType=DECIMAL}, |
|
|
|
max_tx = #{record.maxTx,jdbcType=VARCHAR}, |
|
|
|
max_ty = #{record.maxTy,jdbcType=VARCHAR}, |
|
|
|
record_time = #{record.recordTime,jdbcType=BIGINT}, |
|
|
|
equipment_id = #{record.equipmentId,jdbcType=BIGINT}, |
|
|
|
warehouse_id = #{record.warehouseId,jdbcType=BIGINT}, |
|
|
|
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
|
|
@ -324,6 +336,9 @@ |
|
|
|
<if test="maxTy != null"> |
|
|
|
max_ty = #{maxTy,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="recordTime != null"> |
|
|
|
record_time = #{recordTime,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
|
<if test="equipmentId != null"> |
|
|
|
equipment_id = #{equipmentId,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
@ -352,6 +367,7 @@ |
|
|
|
max_t = #{maxT,jdbcType=DECIMAL}, |
|
|
|
max_tx = #{maxTx,jdbcType=VARCHAR}, |
|
|
|
max_ty = #{maxTy,jdbcType=VARCHAR}, |
|
|
|
record_time = #{recordTime,jdbcType=BIGINT}, |
|
|
|
equipment_id = #{equipmentId,jdbcType=BIGINT}, |
|
|
|
warehouse_id = #{warehouseId,jdbcType=BIGINT}, |
|
|
|
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
|
|
@ -367,6 +383,7 @@ |
|
|
|
max_t = #{maxT,jdbcType=DECIMAL}, |
|
|
|
max_tx = #{maxTx,jdbcType=VARCHAR}, |
|
|
|
max_ty = #{maxTy,jdbcType=VARCHAR}, |
|
|
|
record_time = #{recordTime,jdbcType=BIGINT}, |
|
|
|
equipment_id = #{equipmentId,jdbcType=BIGINT}, |
|
|
|
warehouse_id = #{warehouseId,jdbcType=BIGINT}, |
|
|
|
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
|
|
|