fix(mapper): 修复换辊记录查询SQL语法错误
- 移除SELECT语句中的冗余字段引用,解决SQL语法错误 - 优化查询语句结构,确保SQL执行正常
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user