Merge branch 'master' of https://gitee.com/pen-Knife/be-process-control-system
This commit is contained in:
@@ -61,4 +61,13 @@
|
||||
<select id="getLatestRecord" resultType="com.fizz.business.domain.Segment">
|
||||
SELECT * FROM cpg_segment where id=(SELECT max(id) FROM cpg_segment)
|
||||
</select>
|
||||
|
||||
<select id="queryParamByEnCoilId" resultType="com.fizz.business.vo.SegmentParamVO">
|
||||
SELECT seg_no AS segNo,
|
||||
JSON_UNQUOTE(JSON_EXTRACT(total_values_json, CONCAT('$.', #{paramField}, '_avg'))) AS value
|
||||
FROM cpl_segment_total
|
||||
WHERE en_coil_id = #{enCoilID}
|
||||
ORDER BY seg_no
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user