|
|
@@ -56,28 +56,28 @@
|
|
|
and id = #{CorpsDesc.id}
|
|
|
</if>
|
|
|
<if test="CorpsDesc.code!=null and CorpsDesc.code != ''">
|
|
|
- and code = #{CorpsDesc.code}
|
|
|
+ and code like CONCAT(CONCAT('%', #{CorpsDesc.code}), '%')
|
|
|
</if>
|
|
|
<if test="CorpsDesc.cname!=null and CorpsDesc.cname != ''">
|
|
|
- and cname = #{CorpsDesc.cname}
|
|
|
+ and cname like CONCAT(CONCAT('%', #{CorpsDesc.cname}), '%')
|
|
|
</if>
|
|
|
<if test="CorpsDesc.enname!=null and CorpsDesc.enname != ''">
|
|
|
and enname = #{CorpsDesc.enname}
|
|
|
</if>
|
|
|
<if test="CorpsDesc.goodtypes!=null and CorpsDesc.goodtypes != ''">
|
|
|
- and goodtypes = #{CorpsDesc.goodtypes}
|
|
|
+ and goodtypes like CONCAT(CONCAT('%', #{CorpsDesc.goodtypes}), '%')
|
|
|
</if>
|
|
|
<if test="CorpsDesc.belongtocompany!=null and CorpsDesc.belongtocompany != ''">
|
|
|
- and belongtocompany = #{CorpsDesc.belongtocompany}
|
|
|
+ and belongtocompany like CONCAT(CONCAT('%', #{CorpsDesc.belongtocompany}), '%')
|
|
|
</if>
|
|
|
<if test="CorpsDesc.companytype!=null and CorpsDesc.companytype != ''">
|
|
|
and companytype = #{CorpsDesc.companytype}
|
|
|
</if>
|
|
|
<if test="CorpsDesc.belongtoarea!=null and CorpsDesc.belongtoarea != ''">
|
|
|
- and belongtoarea = #{CorpsDesc.belongtoarea}
|
|
|
+ and belongtoarea like CONCAT(CONCAT('%', #{CorpsDesc.belongtoarea}), '%')
|
|
|
</if>
|
|
|
<if test="CorpsDesc.attn!=null and CorpsDesc.attn != ''">
|
|
|
- and attn = #{CorpsDesc.attn}
|
|
|
+ and attn like CONCAT(CONCAT('%', #{CorpsDesc.attn}), '%')
|
|
|
</if>
|
|
|
<if test="CorpsDesc.tel!=null and CorpsDesc.tel != ''">
|
|
|
and tel = #{CorpsDesc.tel}
|
|
|
@@ -125,7 +125,7 @@
|
|
|
and creditstatus = #{CorpsDesc.creditstatus}
|
|
|
</if>
|
|
|
<if test="CorpsDesc.creditLevel!=null and CorpsDesc.creditLevel != ''">
|
|
|
- and credit_level = #{CorpsDesc.creditLevel}
|
|
|
+ and credit_level like CONCAT(CONCAT('%', #{CorpsDesc.creditLevel}), '%')
|
|
|
</if>
|
|
|
<if test="CorpsDesc.creditGrant!=null">
|
|
|
and credit_grant = #{CorpsDesc.creditGrant}
|