|
@@ -425,6 +425,8 @@ class UidSetView(View):
|
|
|
end_y = request_dict.get('end_y', None)
|
|
|
start_time = request_dict.get('start_time', None)
|
|
|
end_time = request_dict.get('end_time', None)
|
|
|
+ repeat_day = request_dict.get('repeat_day', None)
|
|
|
+ direction = request_dict.get('direction', None)
|
|
|
|
|
|
if uid and channel:
|
|
|
channel = int(channel)
|
|
@@ -462,6 +464,12 @@ class UidSetView(View):
|
|
|
if end_time:
|
|
|
ucs['voice_end_time'] = end_time
|
|
|
|
|
|
+ if repeat_day:
|
|
|
+ ucs['voice_repeat_day'] = repeat_day
|
|
|
+
|
|
|
+ if direction:
|
|
|
+ ucs['voice_direction'] = direction
|
|
|
+
|
|
|
uid_channel_set_qs = UidChannelSetModel.objects.filter(uid__uid=uid, channel=channel)
|
|
|
if not uid_channel_set_qs.exists():
|
|
|
uidObject = UidSetModel.objects.filter(uid=uid)
|