<iftest="nickName != null and nickName != ''"> and nick_name like concat('%', #{nickName}, '%')</if>
<iftest="beyondEnterpriseName != null and beyondEnterpriseName != ''"> and beyond_enterprise_name like concat('%', #{beyondEnterpriseName}, '%')</if>
<iftest="beyondEnterpriseId != null and beyondEnterpriseId != '' and beyondEnterpriseId != '-2'"> and beyond_enterprise_id = #{beyondEnterpriseId}</if>
<iftest="userType != null and userType != ''"> and user_type = #{userType}</if>
<iftest="gasType != null and gasType != ''"> and gas_type = #{gasType}</if>
<iftest="villageName != null and villageName != ''"> and village_name like concat('%', #{villageName}, '%')</if>
<iftest="address != null and address != ''"> and address = #{address}</if>
<iftest="linkman != null and linkman != ''"> and linkman = #{linkman}</if>
<iftest="phone != null and phone != ''"> and phone = #{phone}</if>
<iftest="remarks != null and remarks != ''"> and remarks = #{remarks}</if>
<iftest="errorMsg != null and errorMsg != ''"> and error_msg = #{errorMsg}</if>