修改bug

zhairh^2
wangwei 3 years ago
parent a9a7313d53
commit 42284a0a6f

@ -31,8 +31,8 @@
customer_contact.contacts,customer_contact.mobile,customer_info.userMax,customer_contact.email,customer_contact.tel,customer_info.companyName
,auth_role.`name` role
FROM customer_info
INNER JOIN customer_contact on customer_info.customerId=customer_contact.customerId
INNER JOIN auth_role on customer_info.roleId = auth_role.id
left JOIN customer_contact on customer_info.customerId=customer_contact.customerId
left JOIN auth_role on customer_info.roleId = auth_role.id
<where>
<if test="customerName != null and ''!=customerName">
AND customer_info.customerName LIKE concat('%',#{customerName},'%')

@ -40,7 +40,7 @@
AND checkStatus = #{checkStatus}
</if>
<if test="customerId != '' and customerId != null">
AND customerId = #{customerId}
AND thr_products_add.customerId = #{customerId}
</if>
<if test="companyName != '' and companyName != null">
AND companyName = #{companyName}

Loading…
Cancel
Save