|
@@ -90,6 +90,7 @@ class CompanyViewSet(CustomModelViewSet):
|
|
|
|
|
|
try:
|
|
|
with transaction.atomic():
|
|
|
+ Pay.objects.filter(tenant=request.user.employee.tenant, amount__isnull=True).delete()
|
|
|
if int(pay_channel) == Pay.WECHAT:
|
|
|
line_data = Pay.wechatPay(request.user, pk ,amount, edition_year)
|
|
|
elif int(pay_channel) == Pay.ALIPAY:
|