| | |
| | | b.selection_mode selectionMode,b.team_leader teamLeader,b.score,b.evaluation_state evaluationState |
| | | from project_expert b |
| | | left join sys_expert_info c on b.expert_id = c.id |
| | | where b.project_id = #{projectId} |
| | | where b.del_flag = 0 and b.project_id = #{projectId} |
| | | order by b.team_leader asc , b.selection_mode asc, b.create_time desc |
| | | </select> |
| | | |
| | |
| | | from project_management a |
| | | left join project_expert b on a.id = b.project_id and b.del_flag = 0 |
| | | left join sys_expert_info c on b.expert_id = c.id |
| | | where 1=1 |
| | | where 1=1 and b.evaluation_state = 1 |
| | | <if test="deptId != null "> and a.dept_id = #{deptId}</if> |
| | | <if test="projectName != null and projectName != ''"> and a.project_name like concat('%', #{projectName}, '%')</if> |
| | | <if test="name != null and name != ''"> |
| | | and c.name like concat('%', #{name}, '%') |