and t.is_deleted = 0
AND t.project_id = #{dto.projectId}
AND t.module_id IN
#{moduleId}
and (
t.name like concat('%',#{dto.keyword},'%')
or t.description like concat('%',#{dto.keyword},'%')
)
AND t.type = #{dto.type}
AND t.priority = #{dto.priority}
AND t.`status` IN
#{status}
AND t.assign_status = #{dto.assignStatus}
AND t.id IN (
select e.task_id from project_task_evaluator e where e.evaluator_id in
#{user}
)
AND t.id IN (
select e.task_id from project_task_developer e where e.developer_id in
#{user}
)
AND (
t.plan_begin_date BETWEEN #{dto.planBeginDate} AND #{dto.planEndDate}
or t.plan_end_date BETWEEN #{dto.planBeginDate} AND #{dto.planEndDate}
)