|
@@ -137,7 +137,7 @@
|
|
<if test="materialName != null">
|
|
<if test="materialName != null">
|
|
and matInfo.material_name like concat('%',#{materialName},'%')
|
|
and matInfo.material_name like concat('%',#{materialName},'%')
|
|
</if>
|
|
</if>
|
|
- <if test="projectIds != null and projectIds.length() >0 ">
|
|
|
|
|
|
+ <if test="projectIds != null and projectIds.length() != 0 ">
|
|
and matInfo.project_id in
|
|
and matInfo.project_id in
|
|
<foreach item="item" index="index" collection="projectIds" open="(" separator="," close=")">
|
|
<foreach item="item" index="index" collection="projectIds" open="(" separator="," close=")">
|
|
#{item}
|
|
#{item}
|