Browse Source

设备异常记录倒序

develop
lau572 2 weeks ago
parent
commit
3adfdc9cd2
  1. 1
      zc-business/src/main/resources/mapper/business/DcDeviceOfflineRecordMapper.xml

1
zc-business/src/main/resources/mapper/business/DcDeviceOfflineRecordMapper.xml

@ -49,6 +49,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and date_format(create_time,'%Y-%m-%d %H:%i:%s') <= date_format(#{endTime},'%Y-%m-%d %H:%i:%s') and date_format(create_time,'%Y-%m-%d %H:%i:%s') <= date_format(#{endTime},'%Y-%m-%d %H:%i:%s')
</if> </if>
</where> </where>
order by id desc
</select> </select>
<select id="selectDcDeviceOfflineRecordById" parameterType="Long" resultMap="DcDeviceOfflineRecordResult"> <select id="selectDcDeviceOfflineRecordById" parameterType="Long" resultMap="DcDeviceOfflineRecordResult">

Loading…
Cancel
Save