|
@@ -47,7 +47,7 @@
|
|
|
ON cesh.email = maxce.email
|
|
|
WHERE cec.isvalid = 1 and c.isvalid=1
|
|
|
<if test="companyName != null and companyName !=''">
|
|
|
- and (c.company_name like concat('%',#{companyName},'%') or c.company_short_name like concat('%',#{companyName},'%'))
|
|
|
+ and (c.company_name like concat('%',#{companyName},'%') or c.company_short_name like concat('%',#{companyName},'%') or c.register_number like concat('%',#{companyName},'%'))
|
|
|
</if>
|
|
|
<if test="email != null and email !=''">
|
|
|
and cec.email like concat('%',#{email},'%')
|
|
@@ -74,7 +74,7 @@
|
|
|
ON cesh.email = maxce.email
|
|
|
WHERE cec.isvalid = 1 and c.isvalid=1
|
|
|
<if test="companyName != null and companyName !=''">
|
|
|
- and (c.company_name like concat('%',#{companyName},'%') or c.company_short_name like concat('%',#{companyName},'%'))
|
|
|
+ and (c.company_name like concat('%',#{companyName},'%') or c.company_short_name like concat('%',#{companyName},'%') or c.register_number like concat('%',#{companyName},'%'))
|
|
|
</if>
|
|
|
<if test="email != null and email !=''">
|
|
|
and cec.email like concat('%',#{email},'%')
|