`id`,`tenant_id`,`parent_tenant_id`,`merchant_id`,`b_user_id`,`c_user_id`,`info`,`create_time`,`update_time`,`openid`,`app_id`
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `merchant_id` = #{merchantId} and `b_user_id` = #{bUserId} and `c_user_id` = #{cUserId} and `info` = #{info} and `create_time` = #{createTime} and `update_time` = #{updateTime} and `openid` = #{openid} and `app_id` = #{appId}
and id in
#{idItem}
order by ${sortColumns}