签到记录

This commit is contained in:
谭凯凯
2024-12-26 13:57:27 +08:00
committed by Tankaikai
parent 650b3bc4ea
commit 70e0d736ba
5 changed files with 269 additions and 1 deletions

View File

@@ -15,6 +15,12 @@
AND create_at > DATE_FORMAT(DATE_SUB(NOW(), INTERVAL 1 DAY), '%Y-%m-%d 00:00:00')
</select>
<select id="selectTemp" resultType="com.sqx.modules.pay.entity.CashOut">
SELECT * FROM cash_out
WHERE
state = 0 and order_number is not null and order_number != ''
</select>
<select id="selectCashOutSum" resultType="Double">
select sum(money) from cash_out where state in (0,1) and user_id=#{userId} and date_format(create_at,'%Y-%m-%d') between #{startTime} and #{endTime}
</select>