增加查询条件
This commit is contained in:
@@ -83,6 +83,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="organizationId != null ">
|
<if test="organizationId != null ">
|
||||||
and organization_id = #{organizationId}
|
and organization_id = #{organizationId}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="materialBaseInfoId != null and materialBaseInfoId != ''">
|
||||||
|
and material_base_info_id = #{materialBaseInfoId}
|
||||||
|
</if>
|
||||||
<if test="organizationName != null and organizationName != ''">
|
<if test="organizationName != null and organizationName != ''">
|
||||||
and organization_name like concat('%', #{organizationName}, '%')
|
and organization_name like concat('%', #{organizationName}, '%')
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Reference in New Issue
Block a user