`id`,`name`,`parent_id`,`available`,`permission`,`resource_type`,`module_color`,`module_color_num`,`url`,`icon`,`sort` where 1 = 1 and `id` = #{id} and `name` = #{name} and `name` like concat('%', #{nameLike},'%') and `parent_id` = #{parentId} and `available` = #{available} and `permission` = #{permission} and `permission` in #{item_permission} and `resource_type` = #{resourceType} and `url` like concat('%', #{url},'%') and `icon` = #{icon} and `sort` = #{sort} and `sort` >= #{sortFrom} and #{sortTo} >= `sort` and `sort` >= #{sortGte} and `sort` > #{sortGt} and #{sortLte} >= `sort` and #{sortLt} > `sort` and id in #{idItem} order by ${sortColumns}