|
|
@ -209,6 +209,9 @@
|
|
|
|
<if test="name != '' and name != null">
|
|
|
|
<if test="name != '' and name != null">
|
|
|
|
AND tdi.name like concat('%', #{name}, '%')
|
|
|
|
AND tdi.name like concat('%', #{name}, '%')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="bzgg != '' and bzgg != null">
|
|
|
|
|
|
|
|
AND tdi.bzgg like concat('%', #{bzgg}, '%')
|
|
|
|
|
|
|
|
</if>
|
|
|
|
<if test="internalMaterialCode != '' and internalMaterialCode != null">
|
|
|
|
<if test="internalMaterialCode != '' and internalMaterialCode != null">
|
|
|
|
AND tdi.internalMaterialCode like concat('%', #{internalMaterialCode}, '%')
|
|
|
|
AND tdi.internalMaterialCode like concat('%', #{internalMaterialCode}, '%')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
@ -232,6 +235,7 @@
|
|
|
|
or tdi.name like concat('%', #{keyWords}, '%')
|
|
|
|
or tdi.name like concat('%', #{keyWords}, '%')
|
|
|
|
or tdi.registerNo like concat('%', #{keyWords}, '%')
|
|
|
|
or tdi.registerNo like concat('%', #{keyWords}, '%')
|
|
|
|
or tdi.spec like concat('%', #{keyWords}, '%'))
|
|
|
|
or tdi.spec like concat('%', #{keyWords}, '%'))
|
|
|
|
|
|
|
|
or tdi.bzgg like concat('%', #{keyWords}, '%')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
order by tdi.createTime DESC
|
|
|
|
order by tdi.createTime DESC
|
|
|
|