Alon_Life 2017-06-20 05:33 采纳率: 0%
浏览 844

oracle Sql删除分页后数据不显示

<select id="queryment" parameterClass="map" resultMap="queryResult" >

select
rownum rn,
t.c_id as businessKey,
t2.hypertension_id as specialNo,
t.gr_id as personId,
t.name as name,
to_char(t.create_file_date, 'yyyy-mm-dd') as registerDate,
t.org_code as registerOrgCode,
t.c_id as registerDoctorCode,
t.create_file_person as registerDoctorName,
to_char(t.confirmed_date,'yyyy-mm-dd') as diagnoseDate,
t.org_code as diagnoseOrgCode,
t2.c_id as diagnoseDoctorCode,
t.resp_dr as diagnoseDoctorName,
t2.sbp as SBP,
t2.dbp as DBP,
t.blood_pres_mana_class as bloodPressureLevel,
to_char(t2.next_follow_visit_date,'yyyy-mm-dd')as nextFlupDate
from T_HYPERTENSION_REG t,T_HYPERTENSION_FOLLOW_VISIT t2
where t.c_id = t2.HYPERTENSION_ID


t.health_record_id in (select c_id from T_PERSON_BASE_INFO o where o.nc_code=#areCode#)


where rn between 1 and 3

上述的语句Java  后台能查出数据,显示3条,但是把分页去了的话 查询数据就无法显示,这是什么原因,请各位大神帮忙看看
  • 写回答

1条回答 默认 最新

  • 叶之秋 2017-06-26 06:58
    关注

    应该跟你的前台分页有关,有错误信息吗。贴出来看下。

    评论

报告相同问题?

悬赏问题

  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?