|
@@ -32,13 +32,13 @@
|
|
|
<include refid="selectTGoodsVo"/>
|
|
|
<where>
|
|
|
<if test="fTypeid != null and fTypeid != ''">and f_typeid = #{fTypeid}</if>
|
|
|
- <if test="fNo != null and fNo != ''">and f_no = #{fNo}</if>
|
|
|
+ <if test="fNo != null and fNo != ''">and f_no like concat('%', #{fNo}, '%')</if>
|
|
|
<if test="fName != null and fName != ''">and f_name like concat('%', #{fName}, '%')</if>
|
|
|
- <if test="fEnam != null and fEnam != ''">and f_enam = #{fEnam}</if>
|
|
|
- <if test="fSpecs != null and fSpecs != ''">and f_specs = #{fSpecs}</if>
|
|
|
- <if test="fPackagespecs != null ">and f_packagespecs = #{fPackagespecs}</if>
|
|
|
- <if test="fColor != null and fColor != ''">and f_color = #{fColor}</if>
|
|
|
- <if test="fHscode != null and fHscode != ''">and f_hscode = #{fHscode}</if>
|
|
|
+ <if test="fEnam != null and fEnam != ''">and f_enam like concat('%', #{fEnam}, '%')</if>
|
|
|
+ <if test="fSpecs != null and fSpecs != ''">and f_specs like concat('%', #{fSpecs}, '%')</if>
|
|
|
+ <if test="fPackagespecs != null ">and f_packagespecs like concat('%', #{fPackagespecs}, '%')</if>
|
|
|
+ <if test="fColor != null and fColor != ''">and f_color like concat('%', #{fColor}, '%')</if>
|
|
|
+ <if test="fHscode != null and fHscode != ''">and f_hscode like concat('%', #{fHscode}, '%')</if>
|
|
|
<if test="fPackageid != null ">and f_packageid = #{fPackageid}</if>
|
|
|
<if test="fStatus != null and fStatus != ''">and f_status = #{fStatus}</if>
|
|
|
</where>
|