`id`,`tenant_id`,`parent_tenant_id`,`user_id`,
`project_type`,`type`,`befour_gold`,`gold_num`,`after_gold`,
`extra_id`,`remark`,`detail`,`create_date`
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `user_id` = #{userId} and `project_type` = #{projectType} and `type` = #{type} and `extra_id` = #{extraId}
and `create_date` >= #{startDate}
and `create_date` <= #{endDate}
and id in
#{idItem}
and extra_id in
#{extIdItem}
order by ${sortColumns}