returntaskNamedParameterJdbcTemplate.query("select id as taskid,task_name as taskname from tb_task where id in (:ids)",Collections.singletonMap("ids",ids),newBeanPropertyRowMapper<>(Task.class));
returntaskNamedParameterJdbcTemplate.query("select id as subTaskId,parent_task as taskId,subtask_name as subtaskname from tb_subtask where parent_task in (:ids)",Collections.singletonMap("ids",ids),newBeanPropertyRowMapper<>(SubTask.class));