visit_driver_end bug
This commit is contained in:
parent
f827bcf5f6
commit
cc0845af97
|
@ -94,3 +94,7 @@ def visit_driver_end(ticket):
|
||||||
HrmService.sync_dahua_employee(ep, '', visit.visit_time, visit.leave_time)
|
HrmService.sync_dahua_employee(ep, '', visit.visit_time, visit.leave_time)
|
||||||
visit.state = Visit.V_ENTER
|
visit.state = Visit.V_ENTER
|
||||||
visit.save()
|
visit.save()
|
||||||
|
# 发送通知?
|
||||||
|
phone = visit.create_by.phone
|
||||||
|
if phone:
|
||||||
|
send_sms(phone=phone, template_code=1004, template_param={'name': '拉送货入厂'})
|
||||||
|
|
Loading…
Reference in New Issue