fix(mapper): 修复换辊记录查询SQL语法错误

- 移除SELECT语句中的冗余字段引用,解决SQL语法错误
- 优化查询语句结构,确保SQL执行正常
This commit is contained in:
2026-06-09 16:16:55 +08:00
parent dc36a0336a
commit 1d0fda5956

View File

@@ -167,7 +167,7 @@
<!-- 查询指定机架+辊位的最新换辊记录 -->
<select id="selectLatestByStandAndPosition" resultMap="MesRollChangeResult">
SELECT <include refid="selectMesRollChangeVo"/>
<include refid="selectMesRollChangeVo"/>
FROM mes_roll_change
WHERE line_id = #{lineId} AND stand_no = #{standNo}
AND (