diff --git a/src/entity/pay_record.py b/src/entity/pay_record.py index cd4e31a..4ef658d 100644 --- a/src/entity/pay_record.py +++ b/src/entity/pay_record.py @@ -215,7 +215,7 @@ def get_pay_record_detail(account: Account, member: MemberList, date: str) -> Op "endDate": date } res = api_request.account_post(PAY_RECORD_LIST_URL, account=account, params=params) - if int(res.data['orderAmountTotal']) > 0 and int(res.data['scoreAmountTotal']) == 0: + if float(res.data['orderAmountTotal']) > 0 and float(res.data['scoreAmountTotal']) == 0: return member.name return ""