<iftest="deptDirector != null and deptDirector != ''"> and dept_director = #{deptDirector}</if>
<iftest="deptDirector != null and deptDirector != ''"> and dept_director = #{deptDirector}</if>
<iftest="awardsTime != null "> and awards_time = #{awardsTime}</if>
<iftest="awardsTime != null "> and awards_time = #{awardsTime}</if>
<iftest="awardsType != null and awardsType != ''"> and awards_type = #{awardsType}</if>
<iftest="awardsType != null and awardsType != ''"> and awards_type = #{awardsType}</if>
<iftest="auditState != null and auditState != ''"> and audit_state = #{auditState}</if>
<iftest="auditState != null and auditState != ''"> and audit_state != #{auditState}</if>
<iftest="applyId != null "> and apply_id = #{applyId}</if>
<iftest="startTime != null and endTime != null and startTime != '' and endTime != ''">and DATE_FORMAT(awards_time,'%Y-%m-%d') between #{startTime} and #{endTime}</if>
<iftest="competitionName != null and competitionName != ''"> and competition_name like concat('%', #{competitionName}, '%')</if>
<iftest="organizer != null and organizer != ''"> and organizer = #{organizer}</if>
<iftest="awardsName != null and awardsName != ''"> and awards_name like concat('%', #{awardsName}, '%')</if>
<iftest="competentDeptId != null "> and competent_dept_id = #{competentDeptId}</if>
<iftest="competentDept != null and competentDept != ''"> and competent_dept = #{competentDept}</if>
<iftest="awardsLevel != null and awardsLevel != ''"> and awards_level = #{awardsLevel}</if>
<iftest="deptDirectorId != null "> and dept_director_id = #{deptDirectorId}</if>
<iftest="deptDirector != null and deptDirector != ''"> and dept_director = #{deptDirector}</if>
<iftest="awardsTime != null "> and awards_time = #{awardsTime}</if>
<iftest="awardsType != null and awardsType != ''"> and awards_type = #{awardsType}</if>
<iftest="applyId != null "> and apply_id = #{applyId}</if>
<iftest="applyId != null "> and apply_id = #{applyId}</if>
<iftest="startTime != null and endTime != null and startTime != '' and endTime != ''">and DATE_FORMAT(awards_time,'%Y-%m-%d') between #{startTime} and #{endTime}</if>
<iftest="startTime != null and endTime != null and startTime != '' and endTime != ''">and DATE_FORMAT(awards_time,'%Y-%m-%d') between #{startTime} and #{endTime}</if>