|
@@ -214,7 +214,7 @@ LEFT JOIN ta_sys_role sr ON sr.id = tsur.role_id
|
214
|
214
|
and transaction_title LIKE concat('%',#{transactionTitle,jdbcType=VARCHAR},'%')
|
215
|
215
|
</if>
|
216
|
216
|
and status = 1
|
217
|
|
- order by create_date DESC
|
|
217
|
+ order by update_date, create_date DESC
|
218
|
218
|
</select>
|
219
|
219
|
|
220
|
220
|
<select id="selectTransaction" resultMap="BaseResultMap">
|
|
@@ -227,7 +227,7 @@ LEFT JOIN ta_sys_role sr ON sr.id = tsur.role_id
|
227
|
227
|
and type = #{type,jdbcType=INTEGER}
|
228
|
228
|
</if>
|
229
|
229
|
and status = 1
|
230
|
|
- order by create_date DESC
|
|
230
|
+ order by update_date, create_date DESC
|
231
|
231
|
</select>
|
232
|
232
|
|
233
|
233
|
<update id="updateTransaction" parameterType="com.community.huiju.model.TpTransaction" >
|
|
@@ -249,7 +249,7 @@ LEFT JOIN ta_sys_role sr ON sr.id = tsur.role_id
|
249
|
249
|
</select>
|
250
|
250
|
|
251
|
251
|
<select id="getReportReasons" resultType="java.util.Map">
|
252
|
|
- SELECT id,reason FROM sys_report_reason ORDER BY sort
|
|
252
|
+ SELECT id,reason FROM sys_report_reason ORDER BY sort,update_date DESC
|
253
|
253
|
</select>
|
254
|
254
|
|
255
|
255
|
<insert id="saveReportReason">
|