fix: 修改字段名

This commit is contained in:
caoqianming 2023-05-29 08:39:18 +08:00
parent 89b90f8e66
commit 459caa7667
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 3.2.12 on 2023-05-29 00:38
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('supervision', '0043_alter_pgoaldept_goal_value_a'),
]
operations = [
migrations.RenameField(
model_name='task2do',
old_name='num_ocheck',
new_name='num_oinspect',
),
]

View File

@ -178,7 +178,7 @@ class Task2Do(CommonBModel):
num_complaint = models.PositiveSmallIntegerField('客户投诉数', null=True, blank=True)
num_pt = models.PositiveSmallIntegerField('能力验证数', null=True, blank=True)
num_risk = models.PositiveSmallIntegerField('风险识别数', null=True, blank=True)
num_ocheck = models.PositiveSmallIntegerField('外部检查数', null=True, blank=True)
num_oinspect = models.PositiveSmallIntegerField('外部检查数', null=True, blank=True)
class PgoalDept(CommonBModel):