This commit is contained in:
shuo.wang
2025-06-04 09:40:00 +08:00
parent 08afc93c94
commit 51a3da146c
2 changed files with 5 additions and 1 deletions

View File

@@ -388,7 +388,7 @@
</if>
</select>
<select id="getFranchiseFeePayInfoByShopId" resultType="com.cool.store.entity.LinePayDO">
select * from xfsg_line_pay where deleted = 0 and shop_id = #{shopId} and pay_business_type = 1
select * from xfsg_line_pay where deleted = 0 and shop_id = #{shopId} and pay_business_type = 1 order by create_time desc
</select>
<update id="deleteById">
update xfsg_line_pay set deleted = 1 ,update_time = now(),update_user_id = #{userId} where id = #{id}