| | |
| | | select id, project_name, dept_id, dept_name, company_name, project_address, dept_user_name, |
| | | version, state, remark, project_date_start, project_date_end, expert_certificate, |
| | | evaluation_state, expert_num, del_flag, create_by, create_time, update_by, update_time,project_check_time,expert_id, |
| | | expert_name,project_end_time,'desc',step |
| | | expert_name,project_end_time,`desc`,step |
| | | from project_management |
| | | </sql> |
| | | |
| | |
| | | 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> |