增加查询条件

This commit is contained in:
zhou-hongcheng
2026-03-03 11:20:32 +08:00
parent 2b4b7cb0e1
commit a44bc6e40d
@@ -83,6 +83,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="organizationId != null ">
and organization_id = #{organizationId}
</if>
<if test="materialBaseInfoId != null and materialBaseInfoId != ''">
and material_base_info_id = #{materialBaseInfoId}
</if>
<if test="organizationName != null and organizationName != ''">
and organization_name like concat('%', #{organizationName}, '%')
</if>