Commit 16303c90 by zhanghj

V1.0.0--修改字典列表根据字典创建时间降序排列

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@18361 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent e188811f
...@@ -59,6 +59,7 @@ ...@@ -59,6 +59,7 @@
and DATE_FORMAT(create_time, '%Y-%m-%d') <= #{endDate} and DATE_FORMAT(create_time, '%Y-%m-%d') <= #{endDate}
</if> </if>
</where> </where>
order by create_time desc, id asc
</select> </select>
<insert id="save" parameterType="com.glsx.manager.pojo.dictionary.DictionaryType" useGeneratedKeys="true"> <insert id="save" parameterType="com.glsx.manager.pojo.dictionary.DictionaryType" useGeneratedKeys="true">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!