字典添加组织查询,收货批次号逻辑修改

This commit is contained in:
秦鸿展
2026-05-29 22:03:20 +08:00
parent 19497d0681
commit 08165d5018
2 changed files with 72 additions and 15 deletions
@@ -43,6 +43,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="status != null and status != ''">
AND status = #{status}
</if>
<if test="organizationId != null">
AND organization_id = #{organizationId}
</if>
<if test="topOrganizationId != null">
AND (top_organization_id = #{topOrganizationId} OR is_default = 'Y')
</if>