mybatis查询语句只能查出头尾两条数据
1个回答
2015-07-14
展开全部
<select id="getAllCheckInPatient" parameterType="map" resultMap="patient_base">
select * from t_patient where
<if test="CHECK_IN_TIME != null AND BED_NO !=null"></if>
<include refid="Sql.sql_limit" />
</select>
select * from t_patient where
<if test="CHECK_IN_TIME != null AND BED_NO !=null"></if>
<include refid="Sql.sql_limit" />
</select>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询