guoshilong
2022-09-23 9d3b87e655cc3461db4d56fc0a98df9665b682f6
src/main/java/org/springblade/modules/taskinfo/mapper/TaskinfoPlanMapper.xml
@@ -34,6 +34,12 @@
        <if test="taskinfoPlan.title !=null and taskinfoPlan.title != ''">
            AND title like CONCAT('%',#{taskinfoPlan.title},'%')
        </if>
        <if test="taskinfoPlan.startCreateTime !=null and taskinfoPlan.startCreateTime !=''">
            AND DATE_FORMAT(create_time,'%Y-%m-%d') &gt;= #{taskinfoPlan.startCreateTime}
        </if>
        <if test="taskinfoPlan.endCreateTime !=null and taskinfoPlan.endCreateTime !=''">
            AND DATE_FORMAT(create_time,'%Y-%m-%d') &lt;= #{taskinfoPlan.endCreateTime}
        </if>
    </select>
    <select id="getMaxNo" resultMap="taskinfoPlanResultMap">