Commit aed01b91 authored by 姜登's avatar 姜登

lastday_data

parent 9de30244
Pipeline #22319 passed with stage
in 2 seconds
......@@ -116,6 +116,7 @@ class UserService extends Service {
],
where: { user_id, day: last_day },
})
console.log(lastday_data)
lastday_info.use_amount = lastday_data && lastday_data.amount ? Number(parseFloat(lastday_data.amount).toFixed(2)) : 0;
lastday_info.use_money = lastday_data && lastday_data.cost ? Number(parseFloat(lastday_data.cost).toFixed(2)) : 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment