adding the mapper again with proper formatting:
<java>
public interface MyTestMapper {
@Select({
"SELECT task.ID_ as taskId, variable.LONG_ as variableValue FROM ACT_RU_VARIABLE variable",
"inner join ACT_RU_TASK task on variable.TASK_ID_ = task.ID_",
"where variable.NAME_ in (#{variableNames})"
})
List<Map<String, Object>> selectTaskWithSpecificVariable(List<String> variableNames);
}