陈昶聿
15 小时以前 4f1618f0df5c8ac19970f3bf0efa218b770cfb61
smartor/src/main/resources/mapper/smartor/PatSatisfactionMapper.xml
@@ -109,10 +109,10 @@
                and orgid = #{orgid}
            </if>
            <if test="startTime != null">
                AND date_format(create_time,'%y%m%d') >= date_format(#{startTime},'%y%m%d')
                AND date_format(update_time,'%y%m%d') >= date_format(#{startTime},'%y%m%d')
            </if>
            <if test="endTime != null">
                AND date_format(create_time,'%y%m%d') &lt;= date_format(#{endTime},'%y%m%d')
                AND date_format(update_time,'%y%m%d') &lt;= date_format(#{endTime},'%y%m%d')
            </if>
    </select>