This commit is contained in:
linfso 2024-05-13 06:58:37 +08:00
parent 391c7ad496
commit e70f8257d3

View File

@ -110,9 +110,9 @@
<if test="simpleName != null and simpleName != ''"> and simple_name like concat('%', #{simpleName}, '%')</if>
<if test="phone != null and phone != ''"> and phone like concat('%', #{phone}, '%')</if>
<if test="mobile != null and mobile != ''"> and mobile like concat('%', #{mobile}, '%')</if>
<if test="customerType != null and customerType != ''"> and customer_type like concat('%', #{customerType}, '%')</if>
<if test="customerType != null and customerType != ''"> and customer_type=#{customerType}</if>
<if test="settledType != null and settledType != ''"> and settled_type like concat('%', #{settledType}, '%')</if>
<if test="userType != null and userType != ''"> and user_type like concat('%', #{userType}, '%')</if>
<if test="userType != null and userType != ''"> and user_type=#{userType}</if>
<if test="company != null and company != ''"> and company like concat('%', #{company}, '%')</if>
<if test="deptId != null and deptId != ''"> and dept_id like concat('%', #{deptId}, '%')</if>
<if test="avatar != null and avatar != ''"> and avatar like concat('%', #{avatar}, '%')</if>