排序倒序

This commit is contained in:
kuang.yifei@iwhalecloud.com 2022-06-17 23:31:12 +08:00
parent 4b6d688256
commit 49508952dc
2 changed files with 2 additions and 2 deletions

View File

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

View File

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