Commit fba4c1d8 authored by wanghao's avatar wanghao

1 接收标定历史记录界面调整

2 接收标定结果后没有更新 标定浓度 和 标定状态
parent fe5155a6
...@@ -310,6 +310,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -310,6 +310,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="item.zeroStatus == null">f_zero_status = #{item.zeroStatus},</if> <if test="item.zeroStatus == null">f_zero_status = #{item.zeroStatus},</if>
<if test="item.calibrationAd != null">f_calibration_ad = #{item.calibrationAd},</if> <if test="item.calibrationAd != null">f_calibration_ad = #{item.calibrationAd},</if>
<if test="item.calibrationAdStatus != null">f_calibration_status = #{item.calibrationAdStatus},</if> <if test="item.calibrationAdStatus != null">f_calibration_status = #{item.calibrationAdStatus},</if>
<if test="item.calibrationConcentration != null">f_calibration_concentration = #{item.calibrationConcentration},</if>
<if test="item.calibrationConcentrationStatus != null">f_calibration_concentration_status = #{item.calibrationConcentrationStatus},</if>
</trim> </trim>
where f_pallet_device_binding_id = #{item.palletDeviceBindingId} where f_pallet_device_binding_id = #{item.palletDeviceBindingId}
</foreach> </foreach>
......
...@@ -19,6 +19,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -19,6 +19,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where> <where>
<if test="message != null and message != ''"> and f_message like concat ('%', #{message}, '%')</if> <if test="message != null and message != ''"> and f_message like concat ('%', #{message}, '%')</if>
</where> </where>
order by f_id desc
</select> </select>
<select id="selectProcessCalibrationResultHistoryById" parameterType="Long" resultMap="ProcessCalibrationResultHistoryResult"> <select id="selectProcessCalibrationResultHistoryById" parameterType="Long" resultMap="ProcessCalibrationResultHistoryResult">
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<el-table v-loading="loading" :data="historyList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="historyList" @selection-change="handleSelectionChange">
<el-table-column label="接收时间" align="center" prop="createTime" width="180"> <el-table-column label="接收时间" align="center" prop="createTime" width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span> <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment