排序倒序

This commit is contained in:
kuang.yifei@iwhalecloud.com 2022-06-17 23:26:26 +08:00
parent 7eb41355fb
commit 4b6d688256
3 changed files with 3 additions and 1 deletions

View File

@ -63,6 +63,7 @@
AND worker_id = #{workerId}
</if>
</where>
order by create_time desc
</select>
<select id="selectById" parameterType="long" resultMap="OrderDetailResult">

View File

@ -71,6 +71,7 @@
AND worker_id = #{workerId}
</if>
</where>
order by create_time desc;
</select>
<select id="selectById" parameterType="long" resultMap="OrderMasterResult">

View File

@ -128,7 +128,7 @@
and pay_money &lt;= 0
</if>
</where>
group by DATE_FORMAT(create_time,'%Y-%m');
group by DATE_FORMAT(create_time,'%Y-%m') order by create_time desc;
</select>
<insert id="insertFinancialDetail" parameterType="com.ghy.payment.domain.FinancialDetail" useGeneratedKeys="true"