`id`,`tenant_id`,`parent_tenant_id`,`phone`,`user_pwd`,`merchant_id`,`create_date`,`update_date`,`app_id`,`token`,`expire_time`,`name`,`status`
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `phone` = #{phone}
and `user_pwd` like concat('%', #{userPwd},'%')
and `merchant_id` = #{merchantId}
and `create_date` = #{createDate}
and `update_date` = #{updateDate}
and `app_id` like concat('%', #{appId},'%')
and `token` like concat('%', #{token},'%')
and `expire_time` = #{expireTime}
and `name` = #{name}
and `status` = #{status}
and id in
#{idItem}
order by ${sortColumns}