陈昶聿
昨天 b0417cfad812d31010770fdfb145dbd41287b075
smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml
@@ -1894,6 +1894,9 @@
        FROM service_subtask
        WHERE DATE_FORMAT(finishtime, '%Y-%m-%d') >= #{startDate}
          AND DATE_FORMAT(finishtime, '%Y-%m-%d') <= #{endDate}
        <if test="orgid != null">
            AND orgid = #{orgid}
        </if>
        GROUP BY deptname
    </select>
@@ -2236,6 +2239,9 @@
        <if test="excep != null ">
            AND excep = #{excep}
        </if>
        <if test="taskName != null  and taskName != ''">
            AND task_name like concat('%', #{taskName}, '%')
        </if>
        <if test="visitCount != null and visitCount == 1">
            AND visit_count = 1
        </if>