军检日志

This commit is contained in:
caoqianming 2022-01-07 09:32:59 +08:00
parent ad8420b035
commit e4bce6b453
1 changed files with 4 additions and 0 deletions

View File

@ -442,6 +442,10 @@ class WProductViewSet(ListModelMixin, GenericViewSet):
if is_mtestok: if is_mtestok:
WpmServies.update_plan_state_by_mtestok(obj.subproduction_plan.production_plan) WpmServies.update_plan_state_by_mtestok(obj.subproduction_plan.production_plan)
obj.save() obj.save()
change_str = 'mtest_notok'
if is_mtestok:
change_str = 'mtest_ok'
WpmServies.add_wproduct_flow_log(instance=obj, change_str=change_str)
return Response() return Response()
class WproductTicketViewSet(ListModelMixin, GenericViewSet): class WproductTicketViewSet(ListModelMixin, GenericViewSet):