| | |
| | | select a.id, a.project_name, a.evaluation_state, a.project_check_time, a.project_end_time, a.dept_name, a.expert_num |
| | | from project_management a |
| | | where a.del_flag = 0 and a.state = 4 |
| | | <if test="deptId != null "> and a.dept_id = #{deptId}</if> |
| | | <if test="projectCheckTime != null "> and a.project_check_time = #{projectCheckTime}</if> |
| | | <if test="projectName != null and projectName != ''"> and a.project_name like concat('%', #{projectName}, '%')</if> |
| | | <if test="evaluationState != null "> and a.evaluation_state = #{evaluationState}</if> |