Browse Source

fix(mapper): 修正数据库字段映射大小写问题

- 将 item_no 字段引用更正为 ItemNo 以匹配数据库实际字段名
- 确保查询条件中的字段名与数据库表结构保持一致
master
常熟吴彦祖 3 weeks ago
parent
commit
081c98e90b
  1. 2
      src/main/resources/mapper/production/SoScheduledListMapper.xml

2
src/main/resources/mapper/production/SoScheduledListMapper.xml

@ -109,7 +109,7 @@
and #{endDate} >= a.TransDate -1 and #{endDate} >= a.TransDate -1
</if> </if>
<if test="itemNo != null"> <if test="itemNo != null">
and b.item_no = #{itemNo}
and b.ItemNo = #{itemNo}
</if> </if>
</where> </where>
order by a.TransDate order by a.TransDate

Loading…
Cancel
Save