fix(qc): 修复WmsCheckItemMapper.xml中的SQL语法错误
- 更正了foreach循环中的变量引用,将"ids"改为"id" - 修复了SQL查询中的语法问题,确保IN子句正确解析参数列表 - 调整了XML标签结构,避免不必要的空行影响SQL执行
This commit is contained in:
@@ -36,10 +36,11 @@
|
|||||||
remark
|
remark
|
||||||
FROM wms_check_item
|
FROM wms_check_item
|
||||||
WHERE item_id IN
|
WHERE item_id IN
|
||||||
<foreach item="ids" collection="list" separator="," close=")" open="(" index="">
|
<foreach item="id" collection="ids" separator="," close=")" open="(" index="">
|
||||||
#{ids}
|
#{id}
|
||||||
</foreach>
|
</foreach>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|||||||
Reference in New Issue
Block a user