Commit 05e4f402 authored by suhuiguang's avatar suhuiguang

1.binlog消防先后问题修改

parent b4f436ef
......@@ -2412,8 +2412,8 @@
<select id="queryCheckInputItemsByCheckId" resultType="Map">
SELECT
c.id,
c.point_id pointId,
ci.check_id as id,
ppc.point_id pointId,
ii.item_no,
ii.NAME inputItem,
ci.input_value,
......@@ -2430,12 +2430,11 @@
ci.id as traceId,
ppc.equipment_id as equipId
FROM
p_check c
LEFT JOIN p_check_input ci ON ci.check_id = c.id
p_check_input ci
LEFT JOIN p_input_item ii ON ii.id = ci.input_id
LEFT JOIN p_point_classify ppc on ci.point_classify_id = ppc.id
WHERE
c.id = #{checkId}
ci.check_id = #{checkId}
ORDER BY
ci.order_no
</select>
......
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