| | |
| | | <where>
|
| | | <if test="dto.uuid != null and dto.uuid != ''">
|
| | | <bind name="uuid" value="'%' + dto.uuid + '%'" />
|
| | | and a.uuid like '#{uuid}'
|
| | | and a.uuid like #{uuid}
|
| | | </if>
|
| | | <if test="dto.type != null and dto.type != ''">
|
| | | <bind name="type" value="'%' + dto.type + '%'" />
|
| | | and a.type like '#{type}'
|
| | | and a.type like #{type}
|
| | | </if>
|
| | | <if test="dto.specification != null and dto.specification != ''">
|
| | | <bind name="specification" value="'%' + dto.specification + '%'" />
|
| | | and a.specification like #{specification}
|
| | | </if>
|
| | | |
| | | <if test="dto.manufacturer != null and dto.manufacturer != ''">
|
| | | <bind name="manufacturer" value="'%' + dto.manufacturer + '%'" />
|
| | | and a.manufacturer like '#{manufacturer}'
|
| | | and a.manufacturer like #{manufacturer}
|
| | | </if>
|
| | | <if test="dto.country != null and dto.country != ''">
|
| | | <bind name="country" value="'%' + dto.country + '%'" />
|
| | | and a.country like '#{country}'
|
| | | and a.country like #{country}
|
| | | </if>
|
| | | <if test="dto.remark != null and dto.remark != ''">
|
| | | <bind name="remark" value="'%' + dto.remark + '%'" />
|
| | | and a.remark like '#{remark}'
|
| | | and a.remark like #{remark}
|
| | | </if>
|
| | | <if test="dto.category != null and dto.category != ''">
|
| | | and a.category = #{dto.category}
|