|
|
@ -11,7 +11,7 @@
|
|
|
|
AND name LIKE concat('%',#{name},'%')
|
|
|
|
AND name LIKE concat('%',#{name},'%')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="code != '' and code != null">
|
|
|
|
<if test="code != '' and code != null">
|
|
|
|
AND code LIKE concat('%',#{code},'%')
|
|
|
|
AND code = #{code}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="sptm != '' and sptm != null">
|
|
|
|
<if test="sptm != '' and sptm != null">
|
|
|
|
AND sptm LIKE concat('%',#{sptm},'%')
|
|
|
|
AND sptm LIKE concat('%',#{sptm},'%')
|
|
|
|