fix: mpointstat correct功能传参错误
This commit is contained in:
parent
413ac262af
commit
6bb6a2d2d7
|
@ -118,7 +118,7 @@ class MpointStatViewSet(BulkCreateModelMixin, BulkDestroyModelMixin, CustomListM
|
|||
instance.delete()
|
||||
cal_mpointstat_manual.delay(mpoint.id, sflog.id, mgroup.id, None, None, None, None, year_s, month_s, day_s, next_cal=1)
|
||||
|
||||
@action(methods=["post"], detail=False, perms_map={"post": "mpointstat.correct"}, serializer_class=MpointStatCorrectSerializer)
|
||||
@action(methods=["post"], detail=True, perms_map={"post": "mpointstat.correct"}, serializer_class=MpointStatCorrectSerializer)
|
||||
def correct(self, request, *args, **kwargs):
|
||||
"""修正测点统计记录及统计值
|
||||
|
||||
|
|
Loading…
Reference in New Issue