and o.create_time <= #{endTime,jdbcType=TIMESTAMP}//小于
and o.create_time >= #{startTime,jdbcType=TIMESTAMP}//大于
and i.status_flag <![CDATA[ <> ]]> 'F'//不等于
<if test="dutyGroupName != null and dutyGroupName != '' " >
AND DUTY_GROUP_NAME like '%'||#{dutyGroupName}||'%' //模糊查询
</if>