<select id="findByCurrentMonthScheduler" parameterType="java.util.HashMap" resultType="java.util.Map" >
select id,text,start_date,end_date from sys_scheduler
<where>
<if test="minDate!=null and maxDate!=null">
createtime between #{minDate} and #{maxDate}
</if>
<if test="ischeck!=null"> and ischeck=#{ischeck}</if>
<if test="isdelete!=null"> and isdelete=#{isdelete}</if>
<if test="loginUserId!=null and loginUserId>1"> and companyid=#{companyid}</if>
</where>
</select>