@@ -239,7 +239,7 @@
${con}
</if>
<if test="companyId != null">
- and companyId = #{companyId}
+ and stocktaking.companyId = #{companyId}
</where>