应用、设备 根据创建时间倒序排序
This commit is contained in:
parent
f698fe5df3
commit
8ad1eaa53b
@ -32,7 +32,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
GROUP BY
|
GROUP BY
|
||||||
ga.id
|
ga.id
|
||||||
ORDER BY
|
ORDER BY
|
||||||
ga.create_time
|
ga.create_time DESC
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectGatewayAppById" parameterType="Long" resultMap="GatewayAppResult">
|
<select id="selectGatewayAppById" parameterType="Long" resultMap="GatewayAppResult">
|
||||||
|
@ -23,6 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="classValue != null and classValue != ''"> and class_value = #{classValue}</if>
|
<if test="classValue != null and classValue != ''"> and class_value = #{classValue}</if>
|
||||||
<if test="joinMode != null and joinMode != ''"> and join_mode = #{joinMode}</if>
|
<if test="joinMode != null and joinMode != ''"> and join_mode = #{joinMode}</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by create_time desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectGatewayDeviceById" parameterType="Long" resultMap="GatewayDeviceResult">
|
<select id="selectGatewayDeviceById" parameterType="Long" resultMap="GatewayDeviceResult">
|
||||||
|
Loading…
Reference in New Issue
Block a user