|
@@ -251,7 +251,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<!-- 下面是新增的SQL,不要覆盖 -->
|
|
<!-- 下面是新增的SQL,不要覆盖 -->
|
|
<select id="getLatestRecord" resultMap="TXinyiMedicineParamResult">
|
|
<select id="getLatestRecord" resultMap="TXinyiMedicineParamResult">
|
|
- <include refid="selectTXinyiMedicineParamVo"/>
|
|
|
|
- where del_flag = 0 order by id desc OFFSET 0 ROWS FETCH NEXT 1 ROW ONLY
|
|
|
|
|
|
+ SELECT TOP
|
|
|
|
+ 1 *
|
|
|
|
+ FROM
|
|
|
|
+ t_xinyi_medicine_param
|
|
|
|
+ where del_flag = 0 order by id desc
|
|
</select>
|
|
</select>
|
|
</mapper>
|
|
</mapper>
|