陈昶聿
4 天以前 e6bb6c4b33cb268b45c6fa8bff84d572984b1376
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>