@@ -38,7 +38,7 @@
from OM_MOMain om
join OM_MODetails od on om.MOID =od.MOID
join Inventory c on c.cInvCode=od.cInvCode
- where om.cCode=#{cCode}
+ where om.cCode=#{sy.cCode}
</select>
</mapper>