smartor/src/main/resources/mapper/smartor/PatSatisfactionMapper.xml
@@ -108,6 +108,12 @@
            <if test="orgid != null  and orgid != ''">
                and orgid = #{orgid}
            </if>
            <if test="startTime != null">
                AND date_format(update_time,'%y%m%d') >= date_format(#{startTime},'%y%m%d')
            </if>
            <if test="endTime != null">
                AND date_format(update_time,'%y%m%d') &lt;= date_format(#{endTime},'%y%m%d')
            </if>
        </where>
    </select>