物料查询历史数据;

This commit is contained in:
王奎兴
2026-07-03 11:29:24 +08:00
parent 08762490dd
commit eec6752b9a
3 changed files with 8 additions and 2 deletions
@@ -109,7 +109,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and a.organization_id like concat('%', #{organizationId}, '%')
</if>
<if test="orgId != null and orgId != '' ">
and a.org_id like concat('%', #{orgId}, '%')
and (a.org_id like concat('%', #{orgId}, '%') or a.organization_id like concat('%', #{orgId}, '%'))
</if>
<if test="materialBaseInfoId != null and materialBaseInfoId != ''">
and a.material_base_info_id = #{materialBaseInfoId}